← 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
StatementsExecuted 24 statements in 419µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs12µsTapper::Schema::TestrunDB::Result::State::::BEGIN@2Tapper::Schema::TestrunDB::Result::State::BEGIN@2
11111µs68µsTapper::Schema::TestrunDB::Result::State::::BEGIN@13Tapper::Schema::TestrunDB::Result::State::BEGIN@13
11110µs15µsTapper::Schema::TestrunDB::Result::State::::BEGIN@9Tapper::Schema::TestrunDB::Result::State::BEGIN@9
11110µs27µsTapper::Schema::TestrunDB::Result::State::::BEGIN@10Tapper::Schema::TestrunDB::Result::State::BEGIN@10
1118µs46µsTapper::Schema::TestrunDB::Result::State::::BEGIN@12Tapper::Schema::TestrunDB::Result::State::BEGIN@12
1116µs6µsTapper::Schema::TestrunDB::Result::State::::CORE:substTapper::Schema::TestrunDB::Result::State::CORE:subst (opcode)
0000s0sTapper::Schema::TestrunDB::Result::State::::__ANON__[:25]Tapper::Schema::TestrunDB::Result::State::__ANON__[:25]
0000s0sTapper::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
1package 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 {
3110µs $Tapper::Schema::TestrunDB::Result::State::AUTHORITY = 'cpan:AMD';
4128µs112µs}
5{
621µs $Tapper::Schema::TestrunDB::Result::State::VERSION = '0.001';
7}
8
9321µs220µ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
10320µs244µ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
12321µs284µ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
133187µs2126µ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
15112µs1444µs__PACKAGE__->load_components(qw/InflateColumn::DateTime InflateColumn::Object::Enum Core/);
# spent 444µs making 1 call to Class::C3::Componentised::load_components
16115µs1456µs__PACKAGE__->table("state");
# spent 456µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17125µs11.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)},
2715µs1187µs });
# spent 187µs making 1 call to DBIx::Class::InflateColumn::inflate_column
28
29
30112µs16µs(my $basepkg = __PACKAGE__) =~ s/::\w+$//;
31
32116µs154µs__PACKAGE__->set_primary_key("id");
33116µs131µs__PACKAGE__->add_unique_constraint( unique_testrun_id => [ qw/testrun_id/ ], );
34110µs1225µ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
37121µs1;
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