← 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
StatementsExecuted 22 statements in 366µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11112µs12µsTapper::Schema::ReportsDB::Result::Notification::::BEGIN@2Tapper::Schema::ReportsDB::Result::Notification::BEGIN@2
11110µs64µsTapper::Schema::ReportsDB::Result::Notification::::BEGIN@12Tapper::Schema::ReportsDB::Result::Notification::BEGIN@12
11110µs68µsTapper::Schema::ReportsDB::Result::Notification::::BEGIN@13Tapper::Schema::ReportsDB::Result::Notification::BEGIN@13
11110µs14µsTapper::Schema::ReportsDB::Result::Notification::::BEGIN@9Tapper::Schema::ReportsDB::Result::Notification::BEGIN@9
11110µs26µsTapper::Schema::ReportsDB::Result::Notification::::BEGIN@10Tapper::Schema::ReportsDB::Result::Notification::BEGIN@10
1116µs6µsTapper::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
1package 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 {
315µs $Tapper::Schema::ReportsDB::Result::Notification::AUTHORITY = 'cpan:AMD';
4127µs112µs}
5{
621µs $Tapper::Schema::ReportsDB::Result::Notification::VERSION = '0.001';
7}
8
9320µs218µ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
10330µs242µ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
12321µs2118µ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
133138µs2125µ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
15111µs1371µs__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
# spent 371µs making 1 call to Class::C3::Componentised::load_components
16114µs1458µs__PACKAGE__->table("notification");
# spent 458µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17131µs11.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
28113µs16µs(my $basepkg = __PACKAGE__) =~ s/::\w+$//;
29
30115µs154µs__PACKAGE__->set_primary_key("id");
31110µs1234µ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
34130µs1;
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