Profile of List/Util.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:22:34 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/x86_64-linux/List/Util.pm
Statements | Executed 12 statements in 336µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
51901 | 14 | 9 | 231ms | 244ms | List::Util::::firstList::Util::first (xsub)
1 | 1 | 1 | 14µs | 16µs | List::Util::::BEGIN@11List::Util::BEGIN@11

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | # List::Util.pm
2 |  |  |  |  | #
3 |  |  |  |  | # Copyright (c) 1997-2009 Graham Barr <gbarr@pobox.com>. All rights reserved.
4 |  |  |  |  | # This program is free software; you can redistribute it and/or
5 |  |  |  |  | # modify it under the same terms as Perl itself.
6 |  |  |  |  | #
7 |  |  |  |  | # This module is normally only loaded if the XS module is not available
8 |  |  |  |  |
9 |  |  |  |  | package List::Util;
10 |  |  |  |  |
11 | 3 | 64µs | 2 | 19µs | # spent 16µs (14+2) within List::Util::BEGIN@11 which was called: # once (14µs+2µs) by Moose::BEGIN@13 at line 11 use strict; # spent 16µs making 1 call to List::Util::BEGIN@11 # spent 2µs making 1 call to strict::import
12 | 1 | 400ns |  |  | require Exporter;
13 |  |  |  |  |
14 | 1 | 7µs |  |  | our @ISA = qw(Exporter);
15 | 1 | 2µs |  |  | our @EXPORT_OK = qw(first min max minstr maxstr reduce sum shuffle);
16 | 1 | 300ns |  |  | our $VERSION = "1.25";
17 | 1 | 200ns |  |  | our $XS_VERSION = $VERSION;
18 | 1 | 12µs |  |  | $VERSION = eval $VERSION; # spent 2µs executing statements in string eval
19 |  |  |  |  |
20 | 1 | 300ns |  |  | require XSLoader;
21 | 1 | 244µs | 1 | 240µs | XSLoader::load('List::Util', $XS_VERSION); # spent 240µs making 1 call to XSLoader::load
22 |  |  |  |  |
23 | 1 | 6µs |  |  | 1;
24 |  |  |  |  |
25 |  |  |  |  | __END__
|  |  |  |  | # spent 244ms (231+13.6) within List::Util::first which was called 51901 times, avg 5µs/call: # 16979 times (36.2ms+0s) by DBIx::Class::ResultSet::search_rs at line 332 of DBIx/Class/ResultSet.pm, avg 2µs/call # 10775 times (39.4ms+0s) by DBIx::Class::ResultSet::_resolved_attrs at line 3159 of DBIx/Class/ResultSet.pm, avg 4µs/call # 9223 times (29.8ms+0s) by DBIx::Class::ResultSet::search_rs at line 356 of DBIx/Class/ResultSet.pm, avg 3µs/call # 8975 times (86.2ms+0s) by DBIx::Class::ResultSource::columns_info at line 457 of DBIx/Class/ResultSource.pm, avg 10µs/call # 1954 times (4.30ms+0s) by DBIx::Class::ResultSetColumn::new at line 57 of DBIx/Class/ResultSetColumn.pm, avg 2µs/call # 1284 times (14.3ms+8.16ms) by SQL::Abstract::_where_unary_op at line 541 of SQL/Abstract.pm, avg 17µs/call # 992 times (5.65ms+0s) by DBIx::Class::Row::_track_storage_value at line 916 of DBIx/Class/Row.pm, avg 6µs/call # 807 times (4.54ms+2.26ms) by SQL::Abstract::_where_HASHREF at line 519 of SQL/Abstract.pm, avg 8µs/call # 624 times (9.05ms+2.92ms) by SQL::Abstract::_where_hashpair_HASHREF at line 729 of SQL/Abstract.pm, avg 19µs/call # 147 times (397µs+0s) by DBIx::Class::ResultSource::_resolve_join at line 1522 of DBIx/Class/ResultSource.pm, avg 3µs/call # 76 times (527µs+0s) by Class::C3::Componentised::inject_base at line 203 of Class/C3/Componentised.pm, avg 7µs/call # 56 times (199µs+308µs) by Data::OptList::__is_a at line 27 of Data/OptList.pm, avg 9µs/call # 5 times (34µs+0s) by DBIx::Class::Storage::DBI::_gen_sql_bind at line 1447 of DBIx/Class/Storage/DBI.pm, avg 7µs/call # 4 times (9µs+0s) by namespace::autoclean::__ANON__[/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/namespace/autoclean.pm:57] at line 51 of namespace/autoclean.pm, avg 2µs/call sub List::Util::first; # xsub