← 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:01 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB/Result/View010TestrunOverviewReports.pm
StatementsExecuted 24 statements in 325µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11149µs103µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@10Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@10
11112µs12µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@2Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@2
11110µs54µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@10.28Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@10.28
1119µs13µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@11Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@11
1119µs24µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@12Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@12
1118µs70µsTapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::::BEGIN@14Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@14
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::View010TestrunOverviewReports;
2
# spent 12µs within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@2 which was called: # once (12µs+0s) by Class::C3::Componentised::ensure_class_loaded at line 4
BEGIN {
319µs $Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::AUTHORITY = 'cpan:AMD';
4130µs112µs}
5{
62800ns $Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::VERSION = '0.001';
7}
8# the number is to sort classes on deploy
9
10670µs3201µs
# spent 103µs (49+54) within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@10 which was called: # once (49µs+54µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 54µs (10+44) within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@10.28 which was called: # once (10µs+44µs) by Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@10 at line 10
use 5.010;
11318µs217µs
# spent 13µs (9+4) within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@11 which was called: # once (9µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 11
use strict;
# spent 13µs making 1 call to Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@11 # spent 4µs making 1 call to strict::import
12321µs239µs
# spent 24µs (9+15) within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@12 which was called: # once (9µs+15µs) by Class::C3::Componentised::ensure_class_loaded at line 12
use warnings;
# spent 24µs making 1 call to Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@12 # spent 15µs making 1 call to warnings::import
13
14384µs2131µs
# spent 70µs (8+61) within Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@14 which was called: # once (8µs+61µs) by Class::C3::Componentised::ensure_class_loaded at line 14
use parent 'DBIx::Class::Core';
# spent 70µs making 1 call to Tapper::Schema::ReportsDB::Result::View010TestrunOverviewReports::BEGIN@14 # spent 61µs making 1 call to parent::import
15
16128µs128µs__PACKAGE__->table_class('DBIx::Class::ResultSource::View');
17
18117µs11.34ms__PACKAGE__->table('view_testrun_overview_reports');
# spent 1.34ms making 1 call to DBIx::Class::ResultSourceProxy::Table::table
19
20# virtual is needed when the query should accept parameters
2113µs2114µs__PACKAGE__->result_source_instance->is_virtual(0);
2213µs2102µs__PACKAGE__->result_source_instance->view_definition
23 (
24 "select rgts.testrun_id as rgt_testrun_id, ".
25 " max(rgt.report_id) as primary_report_id, ".
26 " rgts.success_ratio as rgts_success_ratio ".
27 "from reportgrouptestrun rgt, reportgrouptestrunstats rgts ".
28 "where rgt.testrun_id=rgts.testrun_id ".
29 "group by rgt.testrun_id"
30 );
31
32125µs1936µs__PACKAGE__->add_columns
# spent 936µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns
33 (
34 'rgt_testrun_id' => { data_type => 'INT', is_auto_increment => 1 },
35 'rgts_success_ratio' => { data_type => 'varchar', size => 20 },
36 'primary_report_id' => { data_type => 'INT' },
37 );
38
39116µs1;
40
41__END__