var strRootPassword=""; // First loop with driver MySQL ODBC 5.1.8 (fast) var objStart1 = new Date(); for (var n = 1; n <= 100 ; n++) { var objODBC518Connection = WScript.CreateObject("ADODB.Connection"); objODBC518Connection.Open("Driver={MySQL ODBC 5.1 Driver};Server=localhost;Database=mysql;UID=root;Password="+strRootPassword+";"); objODBC518Connection.Close(); objODBC518Connection = null; delete objODBC518Connection; } var objEnd1 = new Date(); WScript.Echo("Performance ODBC 5.1.8 : 100xOpen/Close in : " + (objEnd1-objStart1).toString(10)+" ms"); // Second loop with driver MySQL ODBC 5.3.4 (slow - just like ANY driver after 5.1.8) var objStart2 = new Date(); for (var n = 1; n <= 100 ; n++) { var objODBC534Connection = WScript.CreateObject("ADODB.Connection"); objODBC534Connection.Open("Driver={MySQL ODBC 5.3 ANSI Driver};Server=localhost;Database=mysql;UID=root;Password="+strRootPassword+";"); objODBC534Connection.Close(); objODBC534Connection = null; delete objODBC534Connection; } var objEnd2 = new Date(); WScript.Echo("Performance ODBC 5.3.4 : 100xOpen/Close in : " + (objEnd2-objStart2).toString(10)+" ms");