Profile of Tapper/Schema/TestrunDB/Result/TestplanInstance.pm

← 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:22:37 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/TestrunDB/Result/TestplanInstance.pm
Statements | Executed 18 statements in 274µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::TestrunDB::Result::TestplanInstance::::BEGIN@2Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@2
1 | 1 | 1 | 11µs | 28µs | Tapper::Schema::TestrunDB::Result::TestplanInstance::::BEGIN@10Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@10
1 | 1 | 1 | 9µs | 45µs | Tapper::Schema::TestrunDB::Result::TestplanInstance::::BEGIN@12Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@12
1 | 1 | 1 | 9µs | 17µs | Tapper::Schema::TestrunDB::Result::TestplanInstance::::BEGIN@9Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@9

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Tapper::Schema::TestrunDB::Result::TestplanInstance;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 6µs |  |  | $Tapper::Schema::TestrunDB::Result::TestplanInstance::AUTHORITY = 'cpan:AMD';
4 | 1 | 28µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 1µs |  |  | $Tapper::Schema::TestrunDB::Result::TestplanInstance::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 20µs | 2 | 25µs | # spent 17µs (9+8) within Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@9 which was called: # once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use strict; # spent 17µs making 1 call to Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@9 # spent 8µs making 1 call to strict::import
10 | 3 | 22µs | 2 | 45µs | # spent 28µs (11+17) within Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@10 which was called: # once (11µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use warnings; # spent 28µs making 1 call to Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@10 # spent 17µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 98µs | 2 | 81µs | # spent 45µs (9+36) within Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@12 which was called: # once (9µs+36µs) by Class::C3::Componentised::ensure_class_loaded at line 12 use parent 'DBIx::Class'; # spent 45µs making 1 call to Tapper::Schema::TestrunDB::Result::TestplanInstance::BEGIN@12 # spent 36µs making 1 call to parent::import
13 |  |  |  |  |
14 | 1 | 10µs | 1 | 333µs | __PACKAGE__->load_components(qw/InflateColumn::DateTime Core/); # spent 333µs making 1 call to Class::C3::Componentised::load_components
15 | 1 | 14µs | 1 | 481µs | __PACKAGE__->table("testplan_instance"); # spent 481µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
16 | 1 | 31µs | 1 | 1.27ms | __PACKAGE__->add_columns # spent 1.27ms 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 |  |  |  |  | "path", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, },
20 |  |  |  |  | "name", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, },
21 |  |  |  |  | "evaluated_testplan", { data_type => "TEXT", default_value => "", is_nullable => 1, },
22 |  |  |  |  | "created_at", { data_type => "TIMESTAMP", default_value => \'CURRENT_TIMESTAMP', is_nullable => 1, },
23 |  |  |  |  | "updated_at", { data_type => "DATETIME", default_value => undef, is_nullable => 1, },
24 |  |  |  |  | );
25 |  |  |  |  |
26 | 1 | 10µs | 1 | 170µs | __PACKAGE__->has_many ( testruns => 'Tapper::Schema::TestrunDB::Result::Testrun', { 'foreign.testplan_id' => 'self.id'}, {cascade_delete => 0 }); # spent 170µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
27 | 1 | 14µs | 1 | 54µs | __PACKAGE__->set_primary_key("id"); # spent 54µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
28 |  |  |  |  |
29 | 1 | 20µs |  |  | 1;
30 |  |  |  |  |
31 |  |  |  |  |
32 |  |  |  |  | __END__