Profile of Tapper/Schema/TestrunDB/ResultSet/Host.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:59 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/ResultSet/Host.pm
Statements | Executed 236 statements in 3.47ms

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
214 | 2 | 2 | 3.50ms | 56.9ms | Tapper::Schema::TestrunDB::ResultSet::Host::::free_hostsTapper::Schema::TestrunDB::ResultSet::Host::free_hosts
1 | 1 | 1 | 93µs | 152µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@9Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@2Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@2
1 | 1 | 1 | 10µs | 59µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@9.25Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9.25
1 | 1 | 1 | 9µs | 27µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@11Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@11
1 | 1 | 1 | 9µs | 14µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@10Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@10
1 | 1 | 1 | 9µs | 51µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@14Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@14
1 | 1 | 1 | 9µs | 44µs | Tapper::Schema::TestrunDB::ResultSet::Host::::BEGIN@13Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@13

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Tapper::Schema::TestrunDB::ResultSet::Host;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 4µs |  |  | $Tapper::Schema::TestrunDB::ResultSet::Host::AUTHORITY = 'cpan:AMD';
4 | 1 | 26µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 800ns |  |  | $Tapper::Schema::TestrunDB::ResultSet::Host::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 6 | 114µs | 3 | 261µs | # spent 59µs (10+49) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9.25 which was called: # once (10µs+49µs) by Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9 at line 9 # spent 152µs (93+59) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9 which was called: # once (93µs+59µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use 5.010; # spent 152µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9 # spent 59µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@9.25 # spent 49µs making 1 call to feature::import
10 | 3 | 20µs | 2 | 18µs | # spent 14µs (9+5) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@10 which was called: # once (9µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use strict; # spent 14µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@10 # spent 5µs making 1 call to strict::import
11 | 3 | 22µs | 2 | 44µs | # spent 27µs (9+17) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@11 which was called: # once (9µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 11 use warnings; # spent 27µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@11 # spent 17µs making 1 call to warnings::import
12 |  |  |  |  |
13 | 3 | 20µs | 2 | 79µs | # spent 44µs (9+35) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@13 which was called: # once (9µs+35µs) by Class::C3::Componentised::ensure_class_loaded at line 13 use parent 'DBIx::Class::ResultSet'; # spent 44µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@13 # spent 35µs making 1 call to parent::import
14 | 3 | 45µs | 2 | 93µs | # spent 51µs (9+42) within Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@14 which was called: # once (9µs+42µs) by Class::C3::Componentised::ensure_class_loaded at line 14 use Data::Dumper; # spent 51µs making 1 call to Tapper::Schema::TestrunDB::ResultSet::Host::BEGIN@14 # spent 42µs making 1 call to Exporter::import
15 |  |  |  |  |
16 |  |  |  |  |
17 | 214 | 3.22ms | 214 | 53.4ms | # spent 56.9ms (3.50+53.4) within Tapper::Schema::TestrunDB::ResultSet::Host::free_hosts which was called 214 times, avg 266µs/call: # 180 times (3.04ms+46.5ms) by Tapper::Model::free_hosts_with_features at line 76 of Tapper/Model.pm, avg 275µs/call # 34 times (463µs+6.85ms) by main::toggle_host_free at line 57 of xt/tapper-mcp-scheduler-with-db-longrun.t, avg 215µs/call sub free_hosts { shift->search({ free => 1, active => 1 }) } # spent 53.4ms making 214 calls to DBIx::Class::ResultSet::search, avg 249µs/call
18 |  |  |  |  |
19 | 1 | 2µs |  |  | 1;
20 |  |  |  |  |
21 |  |  |  |  | __END__