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

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::TestrunDB::Result::State::::BEGIN@2Tapper::Schema::TestrunDB::Result::State::BEGIN@2
1 | 1 | 1 | 11µs | 68µs | Tapper::Schema::TestrunDB::Result::State::::BEGIN@13Tapper::Schema::TestrunDB::Result::State::BEGIN@13
1 | 1 | 1 | 10µs | 15µs | Tapper::Schema::TestrunDB::Result::State::::BEGIN@9Tapper::Schema::TestrunDB::Result::State::BEGIN@9
1 | 1 | 1 | 10µs | 27µs | Tapper::Schema::TestrunDB::Result::State::::BEGIN@10Tapper::Schema::TestrunDB::Result::State::BEGIN@10
1 | 1 | 1 | 8µs | 46µs | Tapper::Schema::TestrunDB::Result::State::::BEGIN@12Tapper::Schema::TestrunDB::Result::State::BEGIN@12
1 | 1 | 1 | 6µs | 6µs | Tapper::Schema::TestrunDB::Result::State::::CORE:substTapper::Schema::TestrunDB::Result::State::CORE:subst (opcode)
0 | 0 | 0 | 0s | 0s | Tapper::Schema::TestrunDB::Result::State::::__ANON__[:25]Tapper::Schema::TestrunDB::Result::State::__ANON__[:25]
0 | 0 | 0 | 0s | 0s | Tapper::Schema::TestrunDB::Result::State::::__ANON__[:26]Tapper::Schema::TestrunDB::Result::State::__ANON__[:26]

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::State;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::Result::State::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 10µs |  |  | $Tapper::Schema::TestrunDB::Result::State::AUTHORITY = 'cpan:AMD';
4 | 1 | 28µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::State::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::State::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 21µs | 2 | 20µs | # spent 15µs (10+5) within Tapper::Schema::TestrunDB::Result::State::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::State::BEGIN@9 # spent 5µs making 1 call to strict::import
10 | 3 | 20µs | 2 | 44µs | # spent 27µs (10+17) within Tapper::Schema::TestrunDB::Result::State::BEGIN@10 which was called: # once (10µ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::State::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 21µs | 2 | 84µs | # spent 46µs (8+38) within Tapper::Schema::TestrunDB::Result::State::BEGIN@12 which was called: # once (8µs+38µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 46µs making 1 call to Tapper::Schema::TestrunDB::Result::State::BEGIN@12 # spent 38µs making 1 call to parent::import
13 | 3 | 187µs | 2 | 126µs | # spent 68µs (11+58) within Tapper::Schema::TestrunDB::Result::State::BEGIN@13 which was called: # once (11µs+58µs) by Class::C3::Componentised::ensure_class_loaded at line 13 use YAML::Syck; # spent 68µs making 1 call to Tapper::Schema::TestrunDB::Result::State::BEGIN@13 # spent 58µs making 1 call to Exporter::import
14 |  |  |  |  |
15 | 1 | 12µs | 1 | 444µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime InflateColumn::Object::Enum Core/); # spent 444µs making 1 call to Class::C3::Componentised::load_components
16 | 1 | 15µs | 1 | 456µs | __PACKAGE__->table("state"); # spent 456µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17 | 1 | 25µs | 1 | 1.11ms | __PACKAGE__->add_columns # spent 1.11ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
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 |  |  |  |  | "state", { data_type => "VARCHAR", default_value => undef, is_nullable => 1, size => 65000, },
21 |  |  |  |  | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, },
22 |  |  |  |  | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, },
23 |  |  |  |  | );
24 |  |  |  |  | __PACKAGE__->inflate_column( state => {
25 |  |  |  |  | inflate => sub { Load(shift) },
26 |  |  |  |  | deflate => sub { Dump(shift)},
27 | 1 | 5µs | 1 | 187µs | }); # spent 187µs making 1 call to DBIx::Class::InflateColumn::inflate_column
28 |  |  |  |  |
29 |  |  |  |  |
30 | 1 | 12µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::TestrunDB::Result::State::CORE:subst
31 |  |  |  |  |
32 | 1 | 16µs | 1 | 54µs | __PACKAGE__->set_primary_key("id"); # spent 54µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
33 | 1 | 16µs | 1 | 31µs | __PACKAGE__->add_unique_constraint( unique_testrun_id => [ qw/testrun_id/ ], ); # spent 31µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint
34 | 1 | 10µs | 1 | 225µs | __PACKAGE__->belongs_to( testrun => "${basepkg}::Testrun", { 'foreign.id' => 'self.testrun_id' }); # spent 225µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
35 |  |  |  |  |
36 |  |  |  |  |
37 | 1 | 21µs |  |  | 1;
38 |  |  |  |  |
39 |  |  |  |  | __END__
|  |  |  |  | # spent 6µs within Tapper::Schema::TestrunDB::Result::State::CORE:subst which was called: # once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 30 sub Tapper::Schema::TestrunDB::Result::State::CORE:subst; # opcode