← 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:24:02 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/View020TestrunOverview.pm
StatementsExecuted 24 statements in 360µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11152µs121µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@10Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@10
11112µs12µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@2Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@2
11110µs69µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@10.30Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@10.30
11110µs68µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@14Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@14
1119µs14µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@11Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@11
1119µs26µsTapper::Schema::ReportsDB::Result::View020TestrunOverview::::BEGIN@12Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@12
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::ReportsDB::Result::View020TestrunOverview;
2
# spent 12µs within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4
BEGIN {
314µs $Tapper::Schema::ReportsDB::Result::View020TestrunOverview::AUTHORITY = 'cpan:AMD';
4130µs112µs}
5{
621µs $Tapper::Schema::ReportsDB::Result::View020TestrunOverview::VERSION = '0.001';
7}
8# the number is to sort classes on deploy
9
10674µs3250µs
# spent 121µs (52+69) within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@10 which was called: # once (52µs+69µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 69µs (10+59) within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@10.30 which was called: # once (10µs+59µs) by Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@10 at line 10
use 5.010;
11320µs218µs
# spent 14µs (9+4) within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@11 which was called: # once (9µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 11
use strict;
# spent 14µs making 1 call to Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@11 # spent 4µs making 1 call to strict::import
12323µs243µs
# spent 26µs (9+17) within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@12 which was called: # once (9µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 12
use warnings;
# spent 26µs making 1 call to Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@12 # spent 17µs making 1 call to warnings::import
13
143111µs2126µs
# spent 68µs (10+58) within Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@14 which was called: # once (10µs+58µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use parent 'DBIx::Class::Core';
# spent 68µs making 1 call to Tapper::Schema::ReportsDB::Result::View020TestrunOverview::BEGIN@14 # spent 58µs making 1 call to parent::import
15
16128µs128µs__PACKAGE__->table_class('DBIx::Class::ResultSource::View');
17
18118µs1340µs__PACKAGE__->table('view_testrun_overview');
# spent 340µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table
19
20# virtual is needed when the query should accept parameters
2116µs211µs__PACKAGE__->result_source_instance->is_virtual(0);
2215µs210µs__PACKAGE__->result_source_instance->view_definition
23 (
24 "select vtor.*, ".
25 " r.machine_name, ".
26 " r.created_at, ".
27 " r.suite_id, ".
28 " s.name as suite_name ".
29 "from view_testrun_overview_reports vtor, ".
30 " report r, ".
31 " suite s ".
32 "where vtor.primary_report_id=r.id and ".
33 " r.suite_id=s.id"
34 );
35
36128µs11.14ms__PACKAGE__->add_columns
# spent 1.14ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns
37 (
38 # view_testrun_overview_reports
39 'rgt_testrun_id' => { data_type => 'INT', size => 11 },
40 'rgts_success_ratio' => { data_type => 'varchar', size => 20 },
41 'primary_report_id' => { data_type => 'INT', size => 11 },
42 # report
43 'machine_name' => { data_type => 'varchar', size => 50 },
44 'created_at' => { data_type => 'DATETIME' },
45 'suite_id' => { data_type => 'varchar', size => 11 },
46 # suite
47 'suite_name' => { data_type => 'varchar', size => 255 },
48 );
49
50112µs1;
51
52__END__