Profile of Tapper/Schema/ReportsDB/Result/Notification.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/Notification.pm
Statements | Executed 22 statements in 366µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::ReportsDB::Result::Notification::::BEGIN@2Tapper::Schema::ReportsDB::Result::Notification::BEGIN@2
1 | 1 | 1 | 10µs | 64µs | Tapper::Schema::ReportsDB::Result::Notification::::BEGIN@12Tapper::Schema::ReportsDB::Result::Notification::BEGIN@12
1 | 1 | 1 | 10µs | 68µs | Tapper::Schema::ReportsDB::Result::Notification::::BEGIN@13Tapper::Schema::ReportsDB::Result::Notification::BEGIN@13
1 | 1 | 1 | 10µs | 14µs | Tapper::Schema::ReportsDB::Result::Notification::::BEGIN@9Tapper::Schema::ReportsDB::Result::Notification::BEGIN@9
1 | 1 | 1 | 10µs | 26µs | Tapper::Schema::ReportsDB::Result::Notification::::BEGIN@10Tapper::Schema::ReportsDB::Result::Notification::BEGIN@10
1 | 1 | 1 | 6µs | 6µs | Tapper::Schema::ReportsDB::Result::Notification::::CORE:substTapper::Schema::ReportsDB::Result::Notification::CORE:subst (opcode)

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::Notification;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::ReportsDB::Result::Notification::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::Notification::AUTHORITY = 'cpan:AMD';
4 | 1 | 27µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::ReportsDB::Result::Notification::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::ReportsDB::Result::Notification::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 20µs | 2 | 18µs | # spent 14µs (10+4) within Tapper::Schema::ReportsDB::Result::Notification::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::Notification::BEGIN@9 # spent 4µs making 1 call to strict::import
10 | 3 | 30µs | 2 | 42µs | # spent 26µs (10+16) within Tapper::Schema::ReportsDB::Result::Notification::BEGIN@10 which was called: # once (10µs+16µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use warnings; # spent 26µs making 1 call to Tapper::Schema::ReportsDB::Result::Notification::BEGIN@10 # spent 16µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 21µs | 2 | 118µs | # spent 64µs (10+54) within Tapper::Schema::ReportsDB::Result::Notification::BEGIN@12 which was called: # once (10µs+54µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 64µs making 1 call to Tapper::Schema::ReportsDB::Result::Notification::BEGIN@12 # spent 54µs making 1 call to parent::import
13 | 3 | 138µs | 2 | 125µs | # spent 68µs (10+58) within Tapper::Schema::ReportsDB::Result::Notification::BEGIN@13 which was called: # once (10µ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::ReportsDB::Result::Notification::BEGIN@13 # spent 58µs making 1 call to Exporter::import
14 |  |  |  |  |
15 | 1 | 11µs | 1 | 371µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); # spent 371µs making 1 call to Class::C3::Componentised::load_components
16 | 1 | 14µs | 1 | 458µs | __PACKAGE__->table("notification"); # spent 458µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17 | 1 | 31µs | 1 | 1.67ms | __PACKAGE__->add_columns # spent 1.67ms 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 |  |  |  |  | "user_id", { data_type => "INT", default_value => undef, is_nullable => 1, size => 11, is_foreign_key => 1, },
20 |  |  |  |  | "persist", { data_type => "INT", default_value => undef, is_nullable => 1, size => 1, },
21 |  |  |  |  | "event", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, }, # subscribe to this event type
22 |  |  |  |  | "filter", { data_type => "TEXT", default_value => undef, is_nullable => 0, }, # data for check handler
23 |  |  |  |  | "comment", { data_type => "VARCHAR", default_value => undef, is_nullable => 1, size => 255, }, # what shall we send
24 |  |  |  |  | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, },
25 |  |  |  |  | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, },
26 |  |  |  |  | );
27 |  |  |  |  |
28 | 1 | 13µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::ReportsDB::Result::Notification::CORE:subst
29 |  |  |  |  |
30 | 1 | 15µs | 1 | 54µs | __PACKAGE__->set_primary_key("id"); # spent 54µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
31 | 1 | 10µs | 1 | 234µs | __PACKAGE__->belongs_to( user => "${basepkg}::User", { 'foreign.id' => 'self.user_id' }); # spent 234µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to
32 |  |  |  |  |
33 |  |  |  |  |
34 | 1 | 30µs |  |  | 1;
35 |  |  |  |  |
36 |  |  |  |  | __END__
|  |  |  |  | # spent 6µs within Tapper::Schema::ReportsDB::Result::Notification::CORE:subst which was called: # once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 28 sub Tapper::Schema::ReportsDB::Result::Notification::CORE:subst; # opcode