Jemand zu Hause?Leser: 20
$dbh->do("UPDATE ARTIKEL SET COUNT = COUNT +1 where REC_ID = '$rec_id'")$dbh->do("UPDATE ARTIKEL SET COUNT = COUNT +1 where REC_ID = '$rec_id'")
Devel::NYTProf auf Flaschenhälse testen.
Time::HiRes verwenden.1 2 3 4 5 6 7 8 9 10
use Time::HiRes qw/gettimeofday tv_interval/; ... ... ... $start_time = [gettimeofday]; $dbh->do("UPDATE ARTIKEL SET COUNT = COUNT +1 where REC_ID = '$rec_id'"); $elapsed_time = tv_interval ($start_time); ... ...
$dbh-do(..)
Wie installiert man ein Modul?