note 16764 deleted from function.mysql-pconnect by jimw

From: Date: Fri, 07 Dec 2001 01:47:29 +0000
Subject: note 16764 deleted from function.mysql-pconnect by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21786@lists.php.net to get a copy of this message
I ran txtilde@hotmail.com's benchmark and got similar results, but when I made the slight modification: $db = mysql_pconnect($server,$user,$pass); mysql_select_db($dbname,$db); and $db = mysql_connect($server,$user,$pass); mysql_select_db($dbname,$db); the results inverted. mysql_connect is now faster (the length of time for both increase, but it seems to take mysql_pconnect a lot longer to select a db)... someone please inform me if this is relevant.

« previous php.notes (#21786) next »