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

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 13µs | 26µs | Tapper::Schema::TestrunDB::Result::QueueHost::::BEGIN@10Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@10
1 | 1 | 1 | 12µs | 42µs | Tapper::Schema::TestrunDB::Result::QueueHost::::BEGIN@12Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@12
1 | 1 | 1 | 10µs | 10µs | Tapper::Schema::TestrunDB::Result::QueueHost::::CORE:substTapper::Schema::TestrunDB::Result::QueueHost::CORE:subst (opcode)
1 | 1 | 1 | 10µs | 10µs | Tapper::Schema::TestrunDB::Result::QueueHost::::BEGIN@2Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@2
1 | 1 | 1 | 9µs | 13µs | Tapper::Schema::TestrunDB::Result::QueueHost::::BEGIN@9Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@9

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::QueueHost;
2 |  |  |  |  | # spent 10µs within Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@2 which was called: # once (10µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 4µs |  |  | $Tapper::Schema::TestrunDB::Result::QueueHost::AUTHORITY = 'cpan:AMD';
4 | 1 | 30µs | 1 | 10µs | } # spent 10µs making 1 call to Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::QueueHost::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 19µs | 2 | 17µs | # spent 13µs (9+4) within Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@9 which was called: # once (9µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use strict; # spent 13µs making 1 call to Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@9 # spent 4µs making 1 call to strict::import
10 | 3 | 22µs | 2 | 40µs | # spent 26µs (13+14) within Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@10 which was called: # once (13µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use warnings; # spent 26µs making 1 call to Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@10 # spent 14µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 126µs | 2 | 71µs | # spent 42µs (12+30) within Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@12 which was called: # once (12µs+30µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 42µs making 1 call to Tapper::Schema::TestrunDB::Result::QueueHost::BEGIN@12 # spent 30µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 9µs | 1 | 201µs | __PACKAGE__->load_components("Core"); # spent 201µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 16µs | 1 | 396µs | __PACKAGE__->table("queue_host"); # spent 396µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 20µs | 1 | 305µs | __PACKAGE__->add_columns # spent 305µ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 |  |  |  |  | "queue_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 | 13µs | 1 | 51µs | __PACKAGE__->set_primary_key(qw/id/); # spent 51µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
24 |  |  |  |  |
25 | 1 | 16µs | 1 | 10µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 10µs making 1 call to Tapper::Schema::TestrunDB::Result::QueueHost::CORE:subst
26 |  |  |  |  |
27 | 1 | 9µs | 1 | 235µs | __PACKAGE__->belongs_to( queue => "${basepkg}::Queue", { 'foreign.id' => 'self.queue_id' }); # spent 235µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
28 | 1 | 3µs | 1 | 132µs | __PACKAGE__->belongs_to( host => "${basepkg}::Host", { 'foreign.id' => 'self.host_id' }); # spent 132µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
29 |  |  |  |  |
30 | 1 | 16µs |  |  | 1;
31 |  |  |  |  |
32 |  |  |  |  |
33 |  |  |  |  | __END__
|  |  |  |  | # spent 10µs within Tapper::Schema::TestrunDB::Result::QueueHost::CORE:subst which was called: # once (10µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 25 sub Tapper::Schema::TestrunDB::Result::QueueHost::CORE:subst; # opcode