Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/Suite.pm |
Statements | Executed 20 statements in 286µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 12µs | 12µs | BEGIN@2 | Tapper::Schema::ReportsDB::Result::Suite::
1 | 1 | 1 | 10µs | 69µs | BEGIN@12 | Tapper::Schema::ReportsDB::Result::Suite::
1 | 1 | 1 | 9µs | 26µs | BEGIN@10 | Tapper::Schema::ReportsDB::Result::Suite::
1 | 1 | 1 | 9µs | 13µs | BEGIN@9 | Tapper::Schema::ReportsDB::Result::Suite::
1 | 1 | 1 | 9µs | 129µs | sqlt_deploy_hook | Tapper::Schema::ReportsDB::Result::Suite::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Tapper::Schema::ReportsDB::Result::Suite; | ||||
2 | # spent 12µs within Tapper::Schema::ReportsDB::Result::Suite::BEGIN@2 which was called:
# once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 | ||||
3 | 1 | 5µs | $Tapper::Schema::ReportsDB::Result::Suite::AUTHORITY = 'cpan:AMD'; | ||
4 | 1 | 29µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::ReportsDB::Result::Suite::BEGIN@2 |
5 | { | ||||
6 | 2 | 900ns | $Tapper::Schema::ReportsDB::Result::Suite::VERSION = '0.001'; | ||
7 | } | ||||
8 | |||||
9 | 3 | 21µs | 2 | 18µs | # spent 13µs (9+4) within Tapper::Schema::ReportsDB::Result::Suite::BEGIN@9 which was called:
# once (9µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 13µs making 1 call to Tapper::Schema::ReportsDB::Result::Suite::BEGIN@9
# spent 4µs making 1 call to strict::import |
10 | 3 | 21µs | 2 | 43µs | # spent 26µs (9+17) within Tapper::Schema::ReportsDB::Result::Suite::BEGIN@10 which was called:
# once (9µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 26µs making 1 call to Tapper::Schema::ReportsDB::Result::Suite::BEGIN@10
# spent 17µs making 1 call to warnings::import |
11 | |||||
12 | 3 | 112µs | 2 | 128µs | # spent 69µs (10+59) within Tapper::Schema::ReportsDB::Result::Suite::BEGIN@12 which was called:
# once (10µs+59µs) by Class::C3::Componentised::ensure_class_loaded at line 12 # spent 69µs making 1 call to Tapper::Schema::ReportsDB::Result::Suite::BEGIN@12
# spent 59µs making 1 call to parent::import |
13 | |||||
14 | 1 | 10µs | 1 | 273µs | __PACKAGE__->load_components("Core"); # spent 273µs making 1 call to Class::C3::Componentised::load_components |
15 | 1 | 20µs | 1 | 445µs | __PACKAGE__->table("suite"); # spent 445µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
16 | 1 | 23µs | 1 | 420µs | __PACKAGE__->add_columns # spent 420µ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 | "type", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 50, }, | ||||
21 | "description", { data_type => "TEXT", default_value => undef, is_nullable => 0, }, | ||||
22 | ); | ||||
23 | |||||
24 | 1 | 14µs | 1 | 54µs | __PACKAGE__->set_primary_key("id"); # spent 54µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
25 | |||||
26 | 1 | 8µs | 1 | 180µs | __PACKAGE__->has_many ( reports => 'Tapper::Schema::ReportsDB::Result::Report', { 'foreign.suite_id' => 'self.id' }); # spent 180µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
27 | |||||
- - | |||||
30 | sub sqlt_deploy_hook | ||||
31 | # spent 129µs (9+120) within Tapper::Schema::ReportsDB::Result::Suite::sqlt_deploy_hook which was called:
# once (9µs+120µs) by DBIx::Class::ResultSource::default_sqlt_deploy_hook at line 951 of DBIx/Class/ResultSource.pm | ||||
32 | 1 | 900ns | my ($self, $sqlt_table) = @_; | ||
33 | 1 | 8µs | 1 | 120µs | $sqlt_table->add_index(name => 'suite_idx_name', fields => ['name']); # spent 120µs making 1 call to SQL::Translator::Schema::Table::add_index |
34 | } | ||||
35 | |||||
36 | 1 | 14µs | 1; | ||
37 | |||||
38 | __END__ |