Profile of Tapper/Schema/ReportsDB.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:59 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Tapper/Schema/ReportsDB.pm
Statements | Executed 31 statements in 323µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 48µs | 106µs | Tapper::Schema::ReportsDB::::BEGIN@6Tapper::Schema::ReportsDB::BEGIN@6
1 | 1 | 1 | 11µs | 11µs | Tapper::Schema::ReportsDB::::BEGIN@2Tapper::Schema::ReportsDB::BEGIN@2
1 | 1 | 1 | 10µs | 24µs | Tapper::Schema::ReportsDB::::BEGIN@21Tapper::Schema::ReportsDB::BEGIN@21
1 | 1 | 1 | 9µs | 58µs | Tapper::Schema::ReportsDB::::BEGIN@6.26Tapper::Schema::ReportsDB::BEGIN@6.26
1 | 1 | 1 | 9µs | 27µs | Tapper::Schema::ReportsDB::::BEGIN@9Tapper::Schema::ReportsDB::BEGIN@9
1 | 1 | 1 | 8µs | 13µs | Tapper::Schema::ReportsDB::::BEGIN@8Tapper::Schema::ReportsDB::BEGIN@8
1 | 1 | 1 | 8µs | 45µs | Tapper::Schema::ReportsDB::::BEGIN@25Tapper::Schema::ReportsDB::BEGIN@25
1 | 1 | 1 | 8µs | 8µs | Tapper::Schema::ReportsDB::::BEGIN@22Tapper::Schema::ReportsDB::BEGIN@22
1 | 1 | 1 | 3µs | 3µs | Tapper::Schema::ReportsDB::::BEGIN@20Tapper::Schema::ReportsDB::BEGIN@20
0 | 0 | 0 | 0s | 0s | Tapper::Schema::ReportsDB::::backupTapper::Schema::ReportsDB::backup

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::ReportsDB;
2 |  |  |  |  | # spent 11µs within Tapper::Schema::ReportsDB::BEGIN@2 which was called: # once (11µs+0s) by Tapper::Schema::TestTools::BEGIN@21 at line 4 BEGIN {
3 | 1 | 5µs |  |  | $Tapper::Schema::ReportsDB::AUTHORITY = 'cpan:AMD';
4 | 1 | 17µs | 1 | 11µs | } # spent 11µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@2
5 |  |  |  |  |
6 | 6 | 69µs | 3 | 213µs | # spent 106µs (48+58) within Tapper::Schema::ReportsDB::BEGIN@6 which was called: # once (48µs+58µs) by Tapper::Schema::TestTools::BEGIN@21 at line 6 # spent 58µs (9+49) within Tapper::Schema::ReportsDB::BEGIN@6.26 which was called: # once (9µs+49µs) by Tapper::Schema::ReportsDB::BEGIN@6 at line 6 use 5.010; # spent 106µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@6 # spent 58µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@6.26 # spent 48µs making 1 call to feature::import
7 |  |  |  |  |
8 | 3 | 18µs | 2 | 17µs | # spent 13µs (8+4) within Tapper::Schema::ReportsDB::BEGIN@8 which was called: # once (8µs+4µs) by Tapper::Schema::TestTools::BEGIN@21 at line 8 use strict; # spent 13µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@8 # spent 4µs making 1 call to strict::import
9 | 3 | 39µs | 2 | 45µs | # spent 27µs (9+18) within Tapper::Schema::ReportsDB::BEGIN@9 which was called: # once (9µs+18µs) by Tapper::Schema::TestTools::BEGIN@21 at line 9 use warnings; # spent 27µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@9 # spent 18µs making 1 call to warnings::import
10 |  |  |  |  |
11 |  |  |  |  | # Only increment this version here on schema changes.
12 |  |  |  |  | # For everything else increment Tapper/Schema.pm.
13 | 1 | 500ns |  |  | our $VERSION = '3.000007';
14 |  |  |  |  |
15 |  |  |  |  | # avoid these warnings
16 |  |  |  |  | # Subroutine initialize redefined at /2home/ss5/perl510/lib/site_perl/5.10.0/Class/C3.pm line 70.
17 |  |  |  |  | # Subroutine uninitialize redefined at /2home/ss5/perl510/lib/site_perl/5.10.0/Class/C3.pm line 88.
18 |  |  |  |  | # Subroutine reinitialize redefined at /2home/ss5/perl510/lib/site_perl/5.10.0/Class/C3.pm line 101.
19 |  |  |  |  | # by forcing correct load order.
20 | 1 | 3µs |  |  | # spent 3µs within Tapper::Schema::ReportsDB::BEGIN@20 which was called: # once (3µs+0s) by Tapper::Schema::TestTools::BEGIN@21 at line 23 BEGIN {
21 | 3 | 21µs | 2 | 38µs | # spent 24µs (10+14) within Tapper::Schema::ReportsDB::BEGIN@21 which was called: # once (10µs+14µs) by Tapper::Schema::TestTools::BEGIN@21 at line 21 use Class::C3; # spent 24µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@21 # spent 14µs making 1 call to Class::C3::import
22 | 3 | 18µs | 1 | 8µs | # spent 8µs within Tapper::Schema::ReportsDB::BEGIN@22 which was called: # once (8µs+0s) by Tapper::Schema::TestTools::BEGIN@21 at line 22 use MRO::Compat; # spent 8µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@22
23 | 1 | 12µs | 1 | 3µs | } # spent 3µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@20
24 |  |  |  |  |
25 | 3 | 80µs | 2 | 83µs | # spent 45µs (8+37) within Tapper::Schema::ReportsDB::BEGIN@25 which was called: # once (8µs+37µs) by Tapper::Schema::TestTools::BEGIN@21 at line 25 use parent 'DBIx::Class::Schema'; # spent 45µs making 1 call to Tapper::Schema::ReportsDB::BEGIN@25 # spent 37µs making 1 call to parent::import
26 |  |  |  |  |
27 | 1 | 300ns |  |  | our $NULL = 'NULL';
28 | 1 | 200ns |  |  | our $DELIM = ' | ';
29 |  |  |  |  |
30 | 1 | 9µs | 1 | 198µs | __PACKAGE__->load_components(qw/+DBIx::Class::Schema::Versioned/); # spent 198µs making 1 call to Class::C3::Componentised::load_components
31 | 1 | 5µs | 1 | 23µs | __PACKAGE__->upgrade_directory('./upgrades/'); # spent 23µs making 1 call to DBIx::Class::Schema::Versioned::upgrade_directory
32 | 1 | 5µs | 1 | 11µs | __PACKAGE__->backup_directory('./upgrades/'); # spent 11µs making 1 call to DBIx::Class::Schema::Versioned::backup_directory
33 | 1 | 5µs | 1 | 75.1ms | __PACKAGE__->load_namespaces; # spent 75.1ms making 1 call to DBIx::Class::Schema::load_namespaces
34 |  |  |  |  |
35 |  |  |  |  |
36 |  |  |  |  | sub backup
37 |  |  |  |  | {
38 |  |  |  |  | #say STDERR "(TODO: Implement backup method.)";
39 |  |  |  |  | 1;
40 |  |  |  |  | }
41 |  |  |  |  |
42 | 1 | 16µs |  |  | 1;
43 |  |  |  |  |
- - |  |  |  |  |
46 |  |  |  |  | =pod
47 |  |  |  |  |
48 |  |  |  |  | =encoding utf-8
49 |  |  |  |  |
50 |  |  |  |  | =head1 NAME
51 |  |  |  |  |
52 |  |  |  |  | Tapper::Schema::ReportsDB
53 |  |  |  |  |
54 |  |  |  |  | =head1 AUTHOR
55 |  |  |  |  |
56 |  |  |  |  | AMD OSRC Tapper Team <tapper@amd64.org>
57 |  |  |  |  |
58 |  |  |  |  | =head1 COPYRIGHT AND LICENSE
59 |  |  |  |  |
60 |  |  |  |  | This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
61 |  |  |  |  |
62 |  |  |  |  | This is free software, licensed under:
63 |  |  |  |  |
64 |  |  |  |  | The (two-clause) FreeBSD License
65 |  |  |  |  |
66 |  |  |  |  | =cut
67 |  |  |  |  |
68 |  |  |  |  |
69 |  |  |  |  | __END__