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

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 11µs | 11µs | Tapper::Schema::TestrunDB::Result::TestrunPrecondition::::BEGIN@2Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@2
1 | 1 | 1 | 10µs | 15µs | Tapper::Schema::TestrunDB::Result::TestrunPrecondition::::BEGIN@9Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@9
1 | 1 | 1 | 10µs | 48µs | Tapper::Schema::TestrunDB::Result::TestrunPrecondition::::BEGIN@12Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@12
1 | 1 | 1 | 9µs | 27µs | Tapper::Schema::TestrunDB::Result::TestrunPrecondition::::BEGIN@10Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@10

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::TestrunPrecondition;
2 |  |  |  |  | # spent 11µs within Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@2 which was called: # once (11µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 5µs |  |  | $Tapper::Schema::TestrunDB::Result::TestrunPrecondition::AUTHORITY = 'cpan:AMD';
4 | 1 | 28µs | 1 | 11µs | } # spent 11µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::TestrunPrecondition::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 21µs | 2 | 20µs | # spent 15µs (10+5) within Tapper::Schema::TestrunDB::Result::TestrunPrecondition::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::TestrunPrecondition::BEGIN@9 # spent 5µs making 1 call to strict::import
10 | 3 | 22µs | 2 | 44µs | # spent 27µs (9+17) within Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@10 which was called: # once (9µ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::TestrunPrecondition::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 86µs | 2 | 85µs | # spent 48µs (10+37) within Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@12 which was called: # once (10µs+37µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 48µs making 1 call to Tapper::Schema::TestrunDB::Result::TestrunPrecondition::BEGIN@12 # spent 37µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 8µs | 1 | 225µs | __PACKAGE__->load_components("Core"); # spent 225µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 35µs | 1 | 418µs | __PACKAGE__->table("testrun_precondition"); # spent 418µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 24µs | 1 | 500µs | __PACKAGE__->add_columns # spent 500µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
17 |  |  |  |  | (
18 |  |  |  |  | "testrun_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
19 |  |  |  |  | "precondition_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
20 |  |  |  |  | "succession", { data_type => "INT", default_value => undef, is_nullable => 1, size => 10, },
21 |  |  |  |  | );
22 |  |  |  |  |
23 | 1 | 15µs | 1 | 63µs | __PACKAGE__->set_primary_key(qw/testrun_id precondition_id/); # spent 63µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
24 |  |  |  |  |
25 | 1 | 8µs | 1 | 241µs | __PACKAGE__->belongs_to( testrun => 'Tapper::Schema::TestrunDB::Result::Testrun', { 'foreign.id' => 'self.testrun_id' }); # spent 241µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
26 | 1 | 2µs | 1 | 138µs | __PACKAGE__->belongs_to( precondition => 'Tapper::Schema::TestrunDB::Result::Precondition', { 'foreign.id' => 'self.precondition_id' }); # spent 138µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
27 |  |  |  |  |
28 | 1 | 12µs |  |  | 1;
29 |  |  |  |  |
30 |  |  |  |  |
31 |  |  |  |  | __END__