Profile of DBIx/Class/SQLMaker/SQLite.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For xt/tapper-mcp-scheduler-with-db-longrun.t
Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:23:19 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/DBIx/Class/SQLMaker/SQLite.pm
Statements | Executed 4 statements in 52µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 41µs | 12.9ms | DBIx::Class::SQLMaker::SQLite::::BEGIN@4DBIx::Class::SQLMaker::SQLite::BEGIN@4
2 | 2 | 2 | 3µs | 3µs | DBIx::Class::SQLMaker::SQLite::::limit_dialectDBIx::Class::SQLMaker::SQLite::limit_dialect (xsub)
2 | 2 | 2 | 2µs | 2µs | DBIx::Class::SQLMaker::SQLite::::name_sepDBIx::Class::SQLMaker::SQLite::name_sep (xsub)

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package # Hide from PAUSE
2 |  |  |  |  | DBIx::Class::SQLMaker::SQLite;
3 |  |  |  |  |
4 | 3 | 50µs | 2 | 25.7ms | # spent 12.9ms (41µs+12.8) within DBIx::Class::SQLMaker::SQLite::BEGIN@4 which was called: # once (41µs+12.8ms) by Class::C3::Componentised::ensure_class_loaded at line 4 use base qw( DBIx::Class::SQLMaker ); # spent 12.9ms making 1 call to DBIx::Class::SQLMaker::SQLite::BEGIN@4 # spent 12.8ms making 1 call to base::import
5 |  |  |  |  |
6 |  |  |  |  | #
7 |  |  |  |  | # SQLite does not understand SELECT ... FOR UPDATE
8 |  |  |  |  | # Disable it here
9 |  |  |  |  | sub _lock_select () { '' };
10 |  |  |  |  |
11 | 1 | 2µs |  |  | 1;
|  |  |  |  | # spent 3µs within DBIx::Class::SQLMaker::SQLite::limit_dialect which was called 2 times, avg 2µs/call: # once (3µs+0s) by DBIx::Class::SQLMaker::select at line 201 of DBIx/Class/SQLMaker.pm # once (500ns+0s) by DBIx::Class::SQLMaker::select at line 781 of Class/Accessor/Grouped.pm sub DBIx::Class::SQLMaker::SQLite::limit_dialect; # xsub
|  |  |  |  | # spent 2µs within DBIx::Class::SQLMaker::SQLite::name_sep which was called 2 times, avg 900ns/call: # once (2µs+0s) by DBIx::Class::Storage::DBIHacks::_resolve_aliastypes_from_select_args at line 321 of DBIx/Class/Storage/DBIHacks.pm # once (300ns+0s) by DBIx::Class::Storage::DBIHacks::_resolve_aliastypes_from_select_args at line 781 of Class/Accessor/Grouped.pm sub DBIx::Class::SQLMaker::SQLite::name_sep; # xsub