Profile of Tapper/Schema/TestrunDB/Result/Scenario.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:23:55 2012

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 58µs | 117µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@9Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9
1 | 1 | 1 | 12µs | 12µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@2Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@2
1 | 1 | 1 | 11µs | 28µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@11Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@11
1 | 1 | 1 | 10µs | 14µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@10Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@10
1 | 1 | 1 | 9µs | 59µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@9.19Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9.19
1 | 1 | 1 | 9µs | 45µs | Tapper::Schema::TestrunDB::Result::Scenario::::BEGIN@13Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@13
1 | 1 | 1 | 8µs | 8µs | Tapper::Schema::TestrunDB::Result::Scenario::::CORE:substTapper::Schema::TestrunDB::Result::Scenario::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
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Tapper::Schema::TestrunDB::Result::Scenario;
2 |  |  |  |  | # spent 12µs within Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4 BEGIN {
3 | 1 | 5µs |  |  | $Tapper::Schema::TestrunDB::Result::Scenario::AUTHORITY = 'cpan:AMD';
4 | 1 | 28µs | 1 | 12µs | } # spent 12µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 800ns |  |  | $Tapper::Schema::TestrunDB::Result::Scenario::VERSION = '0.001';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 6 | 79µs | 3 | 225µs | # spent 59µs (9+50) within Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9.19 which was called: # once (9µs+50µs) by Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9 at line 9 # spent 117µs (58+59) within Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9 which was called: # once (58µs+59µs) by Class::C3::Componentised::ensure_class_loaded at line 9 use 5.010; # spent 117µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9 # spent 59µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@9.19 # spent 50µs making 1 call to feature::import
10 | 3 | 20µs | 2 | 19µs | # spent 14µs (10+4) within Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@10 which was called: # once (10µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 10 use strict; # spent 14µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@10 # spent 4µs making 1 call to strict::import
11 | 3 | 21µs | 2 | 44µs | # spent 28µs (11+17) within Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@11 which was called: # once (11µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 11 use warnings; # spent 28µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::BEGIN@11 # spent 17µs making 1 call to warnings::import
12 |  |  |  |  |
13 | 3 | 103µs | 2 | 81µs | # spent 45µs (9+36) within Tapper::Schema::TestrunDB::Result::Scenario::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::Scenario::BEGIN@13 # spent 36µs making 1 call to parent::import
14 |  |  |  |  |
15 | 1 | 11µs | 1 | 343µs | __PACKAGE__->load_components("InflateColumn::Object::Enum", "Core"); # spent 343µs making 1 call to Class::C3::Componentised::load_components
16 | 1 | 14µs | 1 | 436µs | __PACKAGE__->table("scenario"); # spent 436µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
17 | 1 | 19µs | 1 | 384µs | __PACKAGE__->add_columns # spent 384µs 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 |  |  |  |  | "type", { data_type => "VARCHAR", default_value => "", is_nullable => 0, size => 255, },
21 |  |  |  |  | );
22 |  |  |  |  |
23 | 1 | 15µs | 1 | 56µs | __PACKAGE__->set_primary_key(qw/id/); # spent 56µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key
24 |  |  |  |  |
25 | 1 | 13µs | 1 | 8µs | (my $basepkg = __PACKAGE__) =~ s/::\w+$//; # spent 8µs making 1 call to Tapper::Schema::TestrunDB::Result::Scenario::CORE:subst
26 |  |  |  |  |
27 | 1 | 9µs | 1 | 174µs | __PACKAGE__->has_many ( scenario_elements => "${basepkg}::ScenarioElement", { 'foreign.scenario_id' => 'self.id' }); # spent 174µs making 1 call to DBIx::Class::Relationship::HasMany::has_many
28 |  |  |  |  |
29 |  |  |  |  |
30 | 1 | 15µs |  |  | 1;
31 |  |  |  |  |
32 |  |  |  |  |
33 |  |  |  |  | __END__
|  |  |  |  | # spent 8µs within Tapper::Schema::TestrunDB::Result::Scenario::CORE:subst which was called: # once (8µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 25 sub Tapper::Schema::TestrunDB::Result::Scenario::CORE:subst; # opcode