Profile of Tapper/Schema/TestrunDB/Result/Message.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/Message.pm
Statements | Executed 23 statements in 400µs

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

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::Message;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::Result::Message::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::Message::AUTHORITY = 'cpan:AMD';
4 | 1 | 29µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::Message::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::Message::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 21µs | 2 | 21µs | # spent 15µs (10+5) within Tapper::Schema::TestrunDB::Result::Message::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::Message::BEGIN@9 # spent 5µs making 1 call to strict::import
10 | 3 | 22µs | 2 | 44µs | # spent 27µs (10+17) within Tapper::Schema::TestrunDB::Result::Message::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::Message::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 21µs | 2 | 89µs | # spent 49µs (9+40) within Tapper::Schema::TestrunDB::Result::Message::BEGIN@12 which was called: # once (9µs+40µ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::Message::BEGIN@12 # spent 40µs making 1 call to parent::import
13 | 3 | 179µs | 2 | 140µs | # spent 75µs (9+65) within Tapper::Schema::TestrunDB::Result::Message::BEGIN@13 which was called: # once (9µs+65µs) by Class::C3::Componentised::ensure_class_loaded at line 13 use YAML::Syck; # spent 75µs making 1 call to Tapper::Schema::TestrunDB::Result::Message::BEGIN@13 # spent 65µs making 1 call to Exporter::import
14 |  |  |  |  |
15 | 1 | 10µs | 1 | 425µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core InflateColumn/); # spent 425µs making 1 call to Class::C3::Componentised::load_components
16 | 1 | 14µs | 1 | 451µs | __PACKAGE__->table("message"); # spent 451µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17 | 1 | 34µs | 1 | 1.13ms | __PACKAGE__->add_columns # spent 1.13ms 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 => 1, size => 11, is_foreign_key => 1, },
20 |  |  |  |  | "message", { data_type => "VARCHAR", default_value => undef, is_nullable => 1, size => 65000, },
21 |  |  |  |  | "type", { data_type => "VARCHAR", is_nullable => 1, size => 255, is_enum => 1, extra => { list => [qw(action state)] } },
22 |  |  |  |  | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, },
23 |  |  |  |  | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, },
24 |  |  |  |  | );
25 |  |  |  |  | __PACKAGE__->inflate_column( message => {
26 |  |  |  |  | inflate => sub { Load(shift) },
27 |  |  |  |  | deflate => sub { Dump(shift)},
28 | 1 | 5µs | 1 | 189µs | }); # spent 189µs making 1 call to DBIx::Class::InflateColumn::inflate_column
29 |  |  |  |  |
30 | 1 | 11µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::TestrunDB::Result::Message::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 | 10µs | 1 | 223µs | __PACKAGE__->belongs_to( testrun => "${basepkg}::Testrun", { 'foreign.id' => 'self.testrun_id' }); # spent 223µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
34 |  |  |  |  |
35 |  |  |  |  |
36 | 1 | 22µs |  |  | 1;
37 |  |  |  |  |
38 |  |  |  |  | __END__
|  |  |  |  | # spent 6µs within Tapper::Schema::TestrunDB::Result::Message::CORE:subst which was called: # once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 30 sub Tapper::Schema::TestrunDB::Result::Message::CORE:subst; # opcode