Greetings All:

I have a script that I am using to run a series of sql statements against two different Oracle databases to compare performance based on a request from our DBAs.

I am currently using code like this:

 $time1 = time();
 $result = `$this_comm`;
 $time2 = time();
 $time_tot = $time2 - $time1;
but the problem that I have is that most of the queries complete in less than one second so I either need to rewrite the queries to make them run longer or I need a more fine grained timing sstem that would do sub second timing, preferably something in the stand perl distro. Any suggestions?

Thanks
Dan
-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to