Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/Result/Host.pm |
Statements | Executed 27 statements in 454µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 48µs | 98µs | BEGIN@9 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 12µs | 12µs | BEGIN@2 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 9µs | 15µs | BEGIN@10 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 9µs | 26µs | BEGIN@11 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 9µs | 45µs | BEGIN@13 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 9µs | 50µs | BEGIN@9.22 | Tapper::Schema::TestrunDB::Result::Host::
1 | 1 | 1 | 6µs | 6µs | CORE:subst (opcode) | Tapper::Schema::TestrunDB::Result::Host::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Tapper::Schema::TestrunDB::Result::Host; | ||||
2 | # spent 12µs within Tapper::Schema::TestrunDB::Result::Host::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::TestrunDB::Result::Host::AUTHORITY = 'cpan:AMD'; | ||
4 | 1 | 27µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@2 |
5 | { | ||||
6 | 2 | 700ns | $Tapper::Schema::TestrunDB::Result::Host::VERSION = '0.001'; | ||
7 | } | ||||
8 | |||||
9 | 6 | 69µs | 3 | 190µs | # spent 50µs (9+41) within Tapper::Schema::TestrunDB::Result::Host::BEGIN@9.22 which was called:
# once (9µs+41µs) by Tapper::Schema::TestrunDB::Result::Host::BEGIN@9 at line 9
# spent 98µs (48+50) within Tapper::Schema::TestrunDB::Result::Host::BEGIN@9 which was called:
# once (48µs+50µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 98µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@9
# spent 50µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@9.22
# spent 41µs making 1 call to feature::import |
10 | 3 | 23µs | 2 | 21µs | # spent 15µs (9+6) within Tapper::Schema::TestrunDB::Result::Host::BEGIN@10 which was called:
# once (9µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 15µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@10
# spent 6µs making 1 call to strict::import |
11 | 3 | 35µs | 2 | 42µs | # spent 26µs (9+16) within Tapper::Schema::TestrunDB::Result::Host::BEGIN@11 which was called:
# once (9µs+16µs) by Class::C3::Componentised::ensure_class_loaded at line 11 # spent 26µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@11
# spent 16µs making 1 call to warnings::import |
12 | |||||
13 | 3 | 169µs | 2 | 82µs | # spent 45µs (9+36) within Tapper::Schema::TestrunDB::Result::Host::BEGIN@13 which was called:
# once (9µs+36µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 45µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@13
# spent 36µs making 1 call to parent::import |
14 | |||||
15 | 1 | 11µs | 1 | 340µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); # spent 340µs making 1 call to Class::C3::Componentised::load_components |
16 | 1 | 19µs | 1 | 431µs | __PACKAGE__->table("host"); # spent 431µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
17 | 1 | 31µs | 1 | 1.44ms | __PACKAGE__->add_columns # spent 1.44ms 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 | "name", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, }, | ||||
21 | "comment", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, }, | ||||
22 | "free", { data_type => "TINYINT", default_value => "0", is_nullable => 1, }, | ||||
23 | "active", { data_type => "TINYINT", default_value => "0", is_nullable => 1, }, | ||||
24 | "is_deleted", { data_type => "TINYINT", default_value => "0", is_nullable => 1, }, # deleted hosts need to be kept in db to show old testruns correctly | ||||
25 | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, }, # ' | ||||
26 | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, }, | ||||
27 | |||||
28 | ); | ||||
29 | |||||
30 | 1 | 15µs | 1 | 52µs | __PACKAGE__->set_primary_key("id"); # spent 52µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
31 | |||||
32 | 1 | 12µs | 1 | 6µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 6µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::CORE:subst |
33 | |||||
34 | 1 | 9µs | 1 | 163µs | __PACKAGE__->has_many ( testrunschedulings => "${basepkg}::TestrunScheduling", { 'foreign.host_id' => 'self.id' }); # spent 163µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
35 | 1 | 3µs | 1 | 98µs | __PACKAGE__->has_many ( queuehosts => "${basepkg}::QueueHost", { 'foreign.host_id' => 'self.id' }); # spent 98µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
36 | 1 | 3µs | 1 | 100µs | __PACKAGE__->has_many ( features => "${basepkg}::HostFeature", { 'foreign.host_id' => 'self.id' }); # spent 100µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
37 | |||||
38 | |||||
39 | 1 | 25µs | 1; | ||
40 | |||||
41 | |||||
42 | __END__ | ||||
# spent 6µs within Tapper::Schema::TestrunDB::Result::Host::CORE:subst which was called:
# once (6µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 32 |