Profile of Tapper/Schema/ReportsDB/Result/ReportComment.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/ReportsDB/Result/ReportComment.pm
Statements | Executed 19 statements in 287µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::ReportsDB::Result::ReportComment::::BEGIN@2Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@2
1 | 1 | 1 | 10µs | 49µs | Tapper::Schema::ReportsDB::Result::ReportComment::::BEGIN@12Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@12
1 | 1 | 1 | 10µs | 14µs | Tapper::Schema::ReportsDB::Result::ReportComment::::BEGIN@9Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@9
1 | 1 | 1 | 10µs | 27µs | Tapper::Schema::ReportsDB::Result::ReportComment::::BEGIN@10Tapper::Schema::ReportsDB::Result::ReportComment::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::ReportsDB::Result::ReportComment;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::ReportsDB::Result::ReportComment::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::ReportsDB::Result::ReportComment::AUTHORITY = 'cpan:AMD';
4 | 1 | 28µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::ReportsDB::Result::ReportComment::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 21µs | 2 | 19µs | # spent 14µs (10+4) within Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@9 which was called: # once (10µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use strict; # spent 14µs making 1 call to Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@9 # spent 4µs making 1 call to strict::import
10 | 3 | 23µs | 2 | 44µs | # spent 27µs (10+17) within Tapper::Schema::ReportsDB::Result::ReportComment::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::ReportsDB::Result::ReportComment::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 115µs | 2 | 88µs | # spent 49µs (10+39) within Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@12 which was called: # once (10µs+39µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 49µs making 1 call to Tapper::Schema::ReportsDB::Result::ReportComment::BEGIN@12 # spent 39µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 9µs | 1 | 391µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime TimeStamp Core/); # spent 391µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 16µs | 1 | 475µs | __PACKAGE__->table("reportcomment"); # spent 475µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 19µs | 1 | 1.23ms | __PACKAGE__->add_columns # spent 1.23ms making 1 call to DBIx::Class::TimeStamp::add_columns
17 |  |  |  |  | (
18 |  |  |  |  | "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
19 |  |  |  |  | "report_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
20 |  |  |  |  | "user_id", { data_type => "INT", default_value => undef, is_nullable => 1, size => 11, is_foreign_key => 1, },
21 |  |  |  |  | "succession", { data_type => "INT", default_value => undef, is_nullable => 1, size => 10, },
22 |  |  |  |  | "comment", { data_type => "TEXT", default_value => "", is_nullable => 0, },
23 |  |  |  |  | "created_at", { data_type => "DATETIME", default_value => undef, is_nullable => 0, set_on_create => 1, },
24 |  |  |  |  | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 0, set_on_create => 1, set_on_update => 1, },
25 |  |  |  |  | );
26 |  |  |  |  |
27 | 1 | 16µs | 1 | 51µs | __PACKAGE__->set_primary_key("id"); # spent 51µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
28 |  |  |  |  |
29 | 1 | 10µs | 1 | 231µs | __PACKAGE__->belongs_to ( report => 'Tapper::Schema::ReportsDB::Result::Report', { 'foreign.id' => 'self.report_id' }); # spent 231µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
30 | 1 | 2µs | 1 | 162µs | __PACKAGE__->belongs_to ( user => 'Tapper::Schema::ReportsDB::Result::User', { 'foreign.id' => 'self.user_id' }); # spent 162µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
31 |  |  |  |  |
32 |  |  |  |  |
33 | 1 | 22µs |  |  | 1;
34 |  |  |  |  |
35 |  |  |  |  |
36 |  |  |  |  | __END__