ADODB Version: $ADODB_version Host: $db->host   Database: $db->database"; // perform query once to cache results so we are only testing throughput $rs = $db->Execute($sql); if (!$rs){ print "Error in recordset

"; return; } $arr = $rs->GetArray(); //$db->debug = true; global $ADODB_COUNTRECS; $ADODB_COUNTRECS = false; $start = microtime(); for ($i=0; $i < $max; $i++) { $rs =& $db->Execute($sql); $arr =& $rs->GetArray(); // print $arr[0][1]; } $end = microtime(); $start = explode(' ',$start); $end = explode(' ',$end); //print_r($start); //print_r($end); // print_r($arr); $total = $end[0]+trim($end[1]) - $start[0]-trim($start[1]); printf ("

seconds = %8.2f for %d iterations each with %d records

",$total,$max, sizeof($arr)); flush(); //$db->Close(); } include("testdatabases.inc.php"); ?>