Profile of Tapper/Schema/TestrunDB/Result/TestrunRequestedHost.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:07 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/Result/TestrunRequestedHost.pm
Statements | Executed 20 statements in 313µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::::BEGIN@2Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@2
1 | 1 | 1 | 11µs | 27µs | Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::::BEGIN@10Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@10
1 | 1 | 1 | 10µs | 49µs | Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::::BEGIN@12Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@12
1 | 1 | 1 | 10µs | 15µs | Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::::BEGIN@9Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@9
1 | 1 | 1 | 8µs | 8µs | Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::::CORE:substTapper::Schema::TestrunDB::Result::TestrunRequestedHost::CORE:subst (opcode)

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::Result::TestrunRequestedHost;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 5µs |  |  | $Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::AUTHORITY = 'cpan:AMD';
4 | 1 | 30µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 22µs | 2 | 20µs | # spent 15µs (10+5) within Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@9 which was called: # once (10µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use strict; # spent 15µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@9 # spent 5µs making 1 call to strict::import
10 | 3 | 26µs | 2 | 44µs | # spent 27µs (11+17) within Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@10 which was called: # once (11µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use warnings; # spent 27µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 121µs | 2 | 88µs | # spent 49µs (10+39) within Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@12 which was called: # once (10µs+39µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 49µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::BEGIN@12 # spent 39µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 9µs | 1 | 253µs | __PACKAGE__->load_components("Core"); # spent 253µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 25µs | 1 | 446µs | __PACKAGE__->table("testrun_requested_host"); # spent 446µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 20µs | 1 | 317µs | __PACKAGE__->add_columns # spent 317µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
17 |  |  |  |  | (
18 |  |  |  |  | "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
19 |  |  |  |  | "testrun_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
20 |  |  |  |  | "host_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
21 |  |  |  |  | );
22 |  |  |  |  |
23 | 1 | 14µs | 1 | 56µs | __PACKAGE__->set_primary_key(qw/id/); # spent 56µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
24 |  |  |  |  |
25 | 1 | 14µs | 1 | 8µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 8µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::CORE:subst
26 |  |  |  |  |
27 | 1 | 8µs | 1 | 244µs | __PACKAGE__->belongs_to( testrunscheduling => "${basepkg}::Testrun", { 'foreign.id' => 'self.testrun_id' }); # spent 244µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
28 | 1 | 2µs | 1 | 131µs | __PACKAGE__->belongs_to( host => "${basepkg}::Host", { 'foreign.id' => 'self.host_id' }); # spent 131µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
29 |  |  |  |  |
30 | 1 | 16µs |  |  | 1;
31 |  |  |  |  |
32 |  |  |  |  |
33 |  |  |  |  | __END__
|  |  |  |  | # spent 8µs within Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::CORE:subst which was called: # once (8µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 25 sub Tapper::Schema::TestrunDB::Result::TestrunRequestedHost::CORE:subst; # opcode