Profile of Tapper/Schema/ReportsDB/Result/User.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:24:00 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/User.pm
Statements | Executed 21 statements in 333µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::ReportsDB::Result::User::::BEGIN@2Tapper::Schema::ReportsDB::Result::User::BEGIN@2
1 | 1 | 1 | 9µs | 26µs | Tapper::Schema::ReportsDB::Result::User::::BEGIN@10Tapper::Schema::ReportsDB::Result::User::BEGIN@10
1 | 1 | 1 | 9µs | 14µs | Tapper::Schema::ReportsDB::Result::User::::BEGIN@9Tapper::Schema::ReportsDB::Result::User::BEGIN@9
1 | 1 | 1 | 9µs | 46µs | Tapper::Schema::ReportsDB::Result::User::::BEGIN@12Tapper::Schema::ReportsDB::Result::User::BEGIN@12
1 | 1 | 1 | 7µs | 7µs | Tapper::Schema::ReportsDB::Result::User::::CORE:substTapper::Schema::ReportsDB::Result::User::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::User;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::ReportsDB::Result::User::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 6µs |  |  | $Tapper::Schema::ReportsDB::Result::User::AUTHORITY = 'cpan:AMD';
4 | 1 | 27µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::ReportsDB::Result::User::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::ReportsDB::Result::User::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 20µs | 2 | 19µs | # spent 14µs (9+5) within Tapper::Schema::ReportsDB::Result::User::BEGIN@9 which was called: # once (9µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use strict; # spent 14µs making 1 call to Tapper::Schema::ReportsDB::Result::User::BEGIN@9 # spent 5µs making 1 call to strict::import
10 | 3 | 21µs | 2 | 43µs | # spent 26µs (9+17) within Tapper::Schema::ReportsDB::Result::User::BEGIN@10 which was called: # once (9µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use warnings; # spent 26µs making 1 call to Tapper::Schema::ReportsDB::Result::User::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 139µs | 2 | 82µs | # spent 46µs (9+37) within Tapper::Schema::ReportsDB::Result::User::BEGIN@12 which was called: # once (9µs+37µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 46µs making 1 call to Tapper::Schema::ReportsDB::Result::User::BEGIN@12 # spent 37µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 10µs | 1 | 221µs | __PACKAGE__->load_components(qw(Core)); # spent 221µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 18µs | 1 | 456µs | __PACKAGE__->table("user"); # spent 456µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 22µs | 1 | 384µs | __PACKAGE__->add_columns # spent 384µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
17 |  |  |  |  | (
18 |  |  |  |  | "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
19 |  |  |  |  | "name", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, },
20 |  |  |  |  | "login", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, },
21 |  |  |  |  | "password", { data_type => "VARCHAR", default_value => undef, is_nullable => 1, size => 255, },
22 |  |  |  |  | );
23 |  |  |  |  |
24 | 1 | 13µs | 1 | 7µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 7µs making 1 call to Tapper::Schema::ReportsDB::Result::User::CORE:subst
25 |  |  |  |  |
26 | 1 | 14µs | 1 | 56µs | __PACKAGE__->set_primary_key("id"); # spent 56µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
27 | 1 | 14µs | 1 | 31µs | __PACKAGE__->add_unique_constraint( unique_login => [ qw/login/ ], ); # spent 31µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint
28 | 1 | 8µs | 1 | 167µs | __PACKAGE__->has_many( contacts => "${basepkg}::Contact", { 'foreign.user_id' => 'self.id' }); # spent 167µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
29 | 1 | 3µs | 1 | 100µs | __PACKAGE__->has_many( notifications => "${basepkg}::Notification", { 'foreign.user_id' => 'self.id' }); # spent 100µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
30 |  |  |  |  |
31 | 1 | 18µs |  |  | 1;
32 |  |  |  |  |
33 |  |  |  |  |
34 |  |  |  |  | __END__
|  |  |  |  | # spent 7µs within Tapper::Schema::ReportsDB::Result::User::CORE:subst which was called: # once (7µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 24 sub Tapper::Schema::ReportsDB::Result::User::CORE:subst; # opcode