← Index
NYTProf Performance Profile   « block view • line view • sub view »
For xt/tapper-mcp-scheduler-with-db-longrun.t
  Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:23:56 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/Result/Host.pm
StatementsExecuted 27 statements in 454µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11148µs98µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@9Tapper::Schema::TestrunDB::Result::Host::BEGIN@9
11112µs12µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@2Tapper::Schema::TestrunDB::Result::Host::BEGIN@2
1119µs15µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@10Tapper::Schema::TestrunDB::Result::Host::BEGIN@10
1119µs26µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@11Tapper::Schema::TestrunDB::Result::Host::BEGIN@11
1119µs45µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@13Tapper::Schema::TestrunDB::Result::Host::BEGIN@13
1119µs50µsTapper::Schema::TestrunDB::Result::Host::::BEGIN@9.22Tapper::Schema::TestrunDB::Result::Host::BEGIN@9.22
1116µs6µsTapper::Schema::TestrunDB::Result::Host::::CORE:substTapper::Schema::TestrunDB::Result::Host::CORE:subst (opcode)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package 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
BEGIN {
315µs $Tapper::Schema::TestrunDB::Result::Host::AUTHORITY = 'cpan:AMD';
4127µs112µs}
5{
62700ns $Tapper::Schema::TestrunDB::Result::Host::VERSION = '0.001';
7}
8
9669µs3190µ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
use 5.010;
# 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
10323µs221µ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
use strict;
# spent 15µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@10 # spent 6µs making 1 call to strict::import
11335µs242µ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
use warnings;
# spent 26µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@11 # spent 16µs making 1 call to warnings::import
12
133169µs282µ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
use parent 'DBIx::Class';
# spent 45µs making 1 call to Tapper::Schema::TestrunDB::Result::Host::BEGIN@13 # spent 36µs making 1 call to parent::import
14
15111µs1340µs__PACKAGE__->load_components(qw/InflateColumn::DateTime Core/);
# spent 340µs making 1 call to Class::C3::Componentised::load_components
16119µs1431µs__PACKAGE__->table("host");
# spent 431µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17131µs11.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
30115µs152µs__PACKAGE__->set_primary_key("id");
31
32112µs16µs(my $basepkg = __PACKAGE__) =~ s/::\w+$//;
33
3419µs1163µ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
3513µs198µ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
3613µs1100µ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
39125µs1;
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
sub Tapper::Schema::TestrunDB::Result::Host::CORE:subst; # opcode