Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/Result/HostFeature.pm |
Statements | Executed 25 statements in 391µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 53µs | 105µs | BEGIN@9 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 11µs | 53µs | BEGIN@9.18 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 11µs | 11µs | BEGIN@2 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 10µs | 15µs | BEGIN@10 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 10µs | 26µs | BEGIN@11 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 9µs | 71µs | BEGIN@13 | Tapper::Schema::TestrunDB::Result::HostFeature::
1 | 1 | 1 | 6µs | 6µs | CORE:subst (opcode) | Tapper::Schema::TestrunDB::Result::HostFeature::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Tapper::Schema::TestrunDB::Result::HostFeature; | ||||
2 | # spent 11µs within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@2 which was called:
# once (11µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 | ||||
3 | 1 | 6µs | $Tapper::Schema::TestrunDB::Result::HostFeature::AUTHORITY = 'cpan:AMD'; | ||
4 | 1 | 27µs | 1 | 11µs | } # spent 11µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@2 |
5 | { | ||||
6 | 2 | 900ns | $Tapper::Schema::TestrunDB::Result::HostFeature::VERSION = '0.001'; | ||
7 | } | ||||
8 | |||||
9 | 6 | 75µs | 3 | 200µs | # spent 105µs (53+53) within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@9 which was called:
# once (53µs+53µs) by Class::C3::Componentised::ensure_class_loaded at line 9
# spent 53µs (11+42) within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@9.18 which was called:
# once (11µs+42µs) by Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@9 at line 9 # spent 105µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@9
# spent 53µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@9.18
# spent 42µs making 1 call to feature::import |
10 | 3 | 19µs | 2 | 20µs | # spent 15µs (10+5) within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@10 which was called:
# once (10µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 15µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@10
# spent 5µs making 1 call to strict::import |
11 | 3 | 21µs | 2 | 43µs | # spent 26µs (10+16) within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@11 which was called:
# once (10µs+16µs) by Class::C3::Componentised::ensure_class_loaded at line 11 # spent 26µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@11
# spent 16µs making 1 call to warnings::import |
12 | |||||
13 | 3 | 131µs | 2 | 132µs | # spent 71µs (9+62) within Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@13 which was called:
# once (9µs+62µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 71µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::BEGIN@13
# spent 62µs making 1 call to parent::import |
14 | |||||
15 | 1 | 11µs | 1 | 347µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); # spent 347µs making 1 call to Class::C3::Componentised::load_components |
16 | 1 | 14µs | 1 | 442µs | __PACKAGE__->table("host_feature"); # spent 442µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
17 | 1 | 29µs | 1 | 1.21ms | __PACKAGE__->add_columns # spent 1.21ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
18 | ( | ||||
19 | "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, }, | ||||
20 | "host_id", { data_type => "INT", default_value => undef, is_nullable => 0, }, | ||||
21 | # can't call it key because that's a SQL keyword | ||||
22 | "entry", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, }, | ||||
23 | "value", { data_type => "VARCHAR", default_value => undef, is_nullable => 0, size => 255, }, | ||||
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 | ); | ||||
28 | |||||
29 | 1 | 15µs | 1 | 53µs | __PACKAGE__->set_primary_key("id"); # spent 53µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
30 | |||||
31 | 1 | 11µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::TestrunDB::Result::HostFeature::CORE:subst |
32 | |||||
33 | 1 | 10µs | 1 | 224µs | __PACKAGE__->belongs_to( host => "${basepkg}::Host", { 'foreign.id' => 'self.host_id' }); # spent 224µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to |
34 | |||||
35 | |||||
36 | 1 | 20µs | 1; | ||
37 | |||||
38 | |||||
39 | __END__ | ||||
# spent 6µs within Tapper::Schema::TestrunDB::Result::HostFeature::CORE:subst which was called:
# once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 31 |