| Filename | /aoa_test/cron/dbsetup.pl |
| Statements | Executed 7 statements in 424µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 2.29ms | 10.3ms | main::BEGIN@8 |
| 2 | 2 | 2 | 11µs | 20.1ms | main::db_setup |
| 1 | 1 | 1 | 10µs | 14µs | main::BEGIN@6 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | #!/usr/local/bin/perl -wT | ||||
| 2 | # | ||||
| 3 | # $Id: dbsetup.pl 601 2020-06-07 23:15:37Z tiggr $ | ||||
| 4 | # | ||||
| 5 | |||||
| 6 | 2 | 30µs | 2 | 17µs | # spent 14µs (10+3) within main::BEGIN@6 which was called:
# once (10µs+3µs) by main::RUNTIME at line 6 # spent 14µs making 1 call to main::BEGIN@6
# spent 3µs making 1 call to strict::import |
| 7 | |||||
| 8 | 2 | 366µs | 2 | 10.3ms | # spent 10.3ms (2.29+8.02) within main::BEGIN@8 which was called:
# once (2.29ms+8.02ms) by main::RUNTIME at line 8 # spent 10.3ms making 1 call to main::BEGIN@8
# spent 42µs making 1 call to CGI::Carp::import |
| 9 | |||||
| 10 | # spent 20.1ms (11µs+20.1) within main::db_setup which was called 2 times, avg 10.0ms/call:
# once (6µs+19.4ms) by main::RUNTIME at line 12 of /aoa_test/cron/utils/utils.pl
# once (5µs+634µs) by main::RUNTIME at line 33 of /server-root/ashesofangels.com/htdocs/test/cron/tick/move_planets.pl | ||||
| 11 | # return db_open("aoa_pr","localhost","aoa","aoa123") || carp "Can't connect to server: $DBI::errstr"; | ||||
| 12 | 2 | 26µs | 2 | 20.1ms | return db_open("test","localhost","aoa","aoa123") || carp "Can't connect to server: $DBI::errstr"; # spent 20.1ms making 2 calls to main::db_open, avg 10.0ms/call |
| 13 | } | ||||
| 14 | |||||
| 15 | 1 | 2µs | 1; |