← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:47 2015

Filename/usr/share/perl/5.20/parent.pm
StatementsExecuted 98 statements in 5.56ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
99832.6ms52.9msparent::::importparent::import (recurses: max depth 1, inclusive time 83µs)
121152µs52µsparent::::CORE:substparent::CORE:subst (opcode)
11116µs28µsparent::::BEGIN@2parent::BEGIN@2
1117µs17µsparent::::BEGIN@25parent::BEGIN@25
1117µs28µsparent::::BEGIN@3parent::BEGIN@3
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package parent;
2229µs241µs
# spent 28µs (16+12) within parent::BEGIN@2 which was called: # once (16µs+12µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 2
use strict;
# spent 28µs making 1 call to parent::BEGIN@2 # spent 12µs making 1 call to strict::import
32128µs249µs
# spent 28µs (7+21) within parent::BEGIN@3 which was called: # once (7µs+21µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 3
use vars qw($VERSION);
# spent 28µs making 1 call to parent::BEGIN@3 # spent 21µs making 1 call to vars::import
41400ns$VERSION = '0.228';
5
6
# spent 52.9ms (32.6+20.2) within parent::import which was called 9 times, avg 5.87ms/call: # once (27.9ms+6.57ms) by CGI::File::Temp::BEGIN@8 at line 8 of CGI/File/Temp.pm # once (2.33ms+13.1ms) by DateTime::TimeZone::Floating::BEGIN@6 at line 6 of DateTime/TimeZone/Floating.pm # once (886µs+607µs) by Crypt::Eksblowfish::BEGIN@52 at line 52 of Crypt/Eksblowfish.pm # once (1.34ms+3µs) by CGI::File::Temp::BEGIN@9 at line 9 of CGI/File/Temp.pm # once (27µs+3µs) by Crypt::Eksblowfish::Bcrypt::BEGIN@47 at line 47 of Crypt/Eksblowfish/Bcrypt.pm # once (27µs+3µs) by Koha::Borrower::Debarments::BEGIN@24 at line 24 of Koha/Borrower/Debarments.pm # once (19µs+-19µs) by DateTime::TimeZone::UTC::BEGIN@6 at line 6 of DateTime/TimeZone/UTC.pm # once (22µs+-22µs) by DateTime::TimeZone::OffsetOnly::BEGIN@6 at line 6 of DateTime/TimeZone/OffsetOnly.pm # once (24µs+-24µs) by File::Temp::BEGIN@31 at line 31 of File/Temp.pm
sub import {
794µs my $class = shift;
8
9914µs my $inheritor = caller(0);
10
11912µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
14918µs for ( my @filename = @_ ) {
15124µs if ( $_ eq $inheritor ) {
16 warn "Class '$inheritor' tried to inherit from itself\n";
17 };
18
191288µs1252µs s{::|'}{/}g;
# spent 52µs making 12 calls to parent::CORE:subst, avg 4µs/call
20125.07ms require "$_.pm"; # dies if the file is not found
21 }
22 }
23
24 {
251194µs226µs
# spent 17µs (7+10) within parent::BEGIN@25 which was called: # once (7µs+10µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 25
no strict 'refs';
# spent 17µs making 1 call to parent::BEGIN@25 # spent 10µs making 1 call to strict::unimport
26999µs push @{"$inheritor\::ISA"}, @_;
27 };
28};
29
3012µs"All your base are belong to us"
31
32__END__
 
# spent 52µs within parent::CORE:subst which was called 12 times, avg 4µs/call: # 12 times (52µs+0s) by parent::import at line 19, avg 4µs/call
sub parent::CORE:subst; # opcode