Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/NotificationEvent.pm |
Statements | Executed 22 statements in 431µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 13µs | 13µs | BEGIN@2 | Tapper::Schema::ReportsDB::Result::NotificationEvent::
1 | 1 | 1 | 11µs | 16µs | BEGIN@9 | Tapper::Schema::ReportsDB::Result::NotificationEvent::
1 | 1 | 1 | 10µs | 27µs | BEGIN@10 | Tapper::Schema::ReportsDB::Result::NotificationEvent::
1 | 1 | 1 | 10µs | 68µs | BEGIN@13 | Tapper::Schema::ReportsDB::Result::NotificationEvent::
1 | 1 | 1 | 9µs | 50µs | BEGIN@12 | Tapper::Schema::ReportsDB::Result::NotificationEvent::
1 | 1 | 1 | 6µs | 6µs | CORE:subst (opcode) | Tapper::Schema::ReportsDB::Result::NotificationEvent::
0 | 0 | 0 | 0s | 0s | __ANON__[:28] | Tapper::Schema::ReportsDB::Result::NotificationEvent::
0 | 0 | 0 | 0s | 0s | __ANON__[:29] | Tapper::Schema::ReportsDB::Result::NotificationEvent::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Tapper::Schema::ReportsDB::Result::NotificationEvent; | ||||
2 | # spent 13µs within Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@2 which was called:
# once (13µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 | ||||
3 | 1 | 5µs | $Tapper::Schema::ReportsDB::Result::NotificationEvent::AUTHORITY = 'cpan:AMD'; | ||
4 | 1 | 30µs | 1 | 13µs | } # spent 13µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@2 |
5 | { | ||||
6 | 2 | 1µs | $Tapper::Schema::ReportsDB::Result::NotificationEvent::VERSION = '0.001'; | ||
7 | } | ||||
8 | |||||
9 | 3 | 20µs | 2 | 21µs | # spent 16µs (11+5) within Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@9 which was called:
# once (11µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 16µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@9
# spent 5µs making 1 call to strict::import |
10 | 3 | 22µs | 2 | 44µs | # spent 27µs (10+17) within Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@10 which was called:
# once (10µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 27µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@10
# spent 17µs making 1 call to warnings::import |
11 | |||||
12 | 3 | 22µs | 2 | 90µs | # spent 50µs (9+40) within Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@12 which was called:
# once (9µs+40µs) by Class::C3::Componentised::ensure_class_loaded at line 12 # spent 50µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@12
# spent 40µs making 1 call to parent::import |
13 | 3 | 216µs | 2 | 125µs | # spent 68µs (10+57) within Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@13 which was called:
# once (10µs+57µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 68µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::BEGIN@13
# spent 57µs making 1 call to Exporter::import |
14 | |||||
15 | 1 | 13µs | 1 | 438µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core InflateColumn/); # spent 438µs making 1 call to Class::C3::Componentised::load_components |
16 | 1 | 15µs | 1 | 462µs | __PACKAGE__->table("notification_event"); # spent 462µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
17 | 1 | 37µs | 1 | 973µs | __PACKAGE__->add_columns # spent 973µs 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 | "message", { data_type => "VARCHAR", default_value => undef, size => 255, is_nullable => 1, }, | ||||
20 | "type", { data_type => "VARCHAR", is_nullable => 1, size => 255, is_enum => 1, extra => { list => [qw(testrun_finished report_received)] } }, | ||||
21 | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, }, | ||||
22 | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, }, | ||||
23 | ); | ||||
24 | |||||
25 | 1 | 12µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::ReportsDB::Result::NotificationEvent::CORE:subst |
26 | |||||
27 | __PACKAGE__->inflate_column( message => { | ||||
28 | inflate => sub { Load(shift) }, | ||||
29 | deflate => sub { Dump(shift)}, | ||||
30 | 1 | 5µs | 1 | 115µs | }); # spent 115µs making 1 call to DBIx::Class::InflateColumn::inflate_column |
31 | |||||
32 | |||||
33 | 1 | 15µs | 1 | 53µs | __PACKAGE__->set_primary_key("id"); # spent 53µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
34 | |||||
35 | |||||
36 | 1 | 18µs | 1; | ||
37 | |||||
38 | __END__ | ||||
# spent 6µs within Tapper::Schema::ReportsDB::Result::NotificationEvent::CORE:subst which was called:
# once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 25 |