Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/Contact.pm |
Statements | Executed 22 statements in 365µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 14µs | 14µs | BEGIN@2 | Tapper::Schema::ReportsDB::Result::Contact::
1 | 1 | 1 | 12µs | 50µs | BEGIN@12 | Tapper::Schema::ReportsDB::Result::Contact::
1 | 1 | 1 | 12µs | 16µs | BEGIN@9 | Tapper::Schema::ReportsDB::Result::Contact::
1 | 1 | 1 | 12µs | 69µs | BEGIN@13 | Tapper::Schema::ReportsDB::Result::Contact::
1 | 1 | 1 | 11µs | 28µs | BEGIN@10 | Tapper::Schema::ReportsDB::Result::Contact::
1 | 1 | 1 | 6µs | 6µs | CORE:subst (opcode) | Tapper::Schema::ReportsDB::Result::Contact::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Tapper::Schema::ReportsDB::Result::Contact; | ||||
2 | # spent 14µs within Tapper::Schema::ReportsDB::Result::Contact::BEGIN@2 which was called:
# once (14µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 | ||||
3 | 1 | 6µs | $Tapper::Schema::ReportsDB::Result::Contact::AUTHORITY = 'cpan:AMD'; | ||
4 | 1 | 31µs | 1 | 14µs | } # spent 14µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::BEGIN@2 |
5 | { | ||||
6 | 2 | 1µs | $Tapper::Schema::ReportsDB::Result::Contact::VERSION = '0.001'; | ||
7 | } | ||||
8 | |||||
9 | 3 | 23µs | 2 | 21µs | # spent 16µs (12+5) within Tapper::Schema::ReportsDB::Result::Contact::BEGIN@9 which was called:
# once (12µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 16µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::BEGIN@9
# spent 5µs making 1 call to strict::import |
10 | 3 | 23µs | 2 | 45µs | # spent 28µs (11+17) within Tapper::Schema::ReportsDB::Result::Contact::BEGIN@10 which was called:
# once (11µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 28µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::BEGIN@10
# spent 17µs making 1 call to warnings::import |
11 | |||||
12 | 3 | 23µs | 2 | 89µs | # spent 50µs (12+39) within Tapper::Schema::ReportsDB::Result::Contact::BEGIN@12 which was called:
# once (12µs+39µs) by Class::C3::Componentised::ensure_class_loaded at line 12 # spent 50µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::BEGIN@12
# spent 39µs making 1 call to parent::import |
13 | 3 | 140µs | 2 | 126µs | # spent 69µs (12+57) within Tapper::Schema::ReportsDB::Result::Contact::BEGIN@13 which was called:
# once (12µs+57µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 69µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::BEGIN@13
# spent 57µs making 1 call to Exporter::import |
14 | |||||
15 | 1 | 9µs | 1 | 397µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); # spent 397µs making 1 call to Class::C3::Componentised::load_components |
16 | 1 | 24µs | 1 | 469µs | __PACKAGE__->table("contact"); # spent 469µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
17 | 1 | 26µs | 1 | 1.30ms | __PACKAGE__->add_columns # spent 1.30ms 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 => 0, size => 11, is_foreign_key => 1, }, | ||||
20 | "address", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, }, | ||||
21 | "protocol", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, }, | ||||
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 | |||||
26 | |||||
27 | 1 | 13µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::ReportsDB::Result::Contact::CORE:subst |
28 | |||||
29 | 1 | 16µs | 1 | 53µs | __PACKAGE__->set_primary_key("id"); # spent 53µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
30 | 1 | 11µs | 1 | 231µs | __PACKAGE__->belongs_to( user => "${basepkg}::User", { 'foreign.id' => 'self.user_id' }); # spent 231µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
31 | |||||
32 | |||||
33 | 1 | 20µs | 1; | ||
34 | |||||
35 | __END__ | ||||
# spent 6µs within Tapper::Schema::ReportsDB::Result::Contact::CORE:subst which was called:
# once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 27 |