← Index
NYTProf Performance Profile   « line view »
For -e
  Run on Thu Jun 30 16:16:00 2016
Reported on Thu Jun 30 16:16:08 2016

Filename/home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/parent.pm
StatementsExecuted 36 statements in 968µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
3331.55ms2.32msparent::::importparent::import (recurses: max depth 1, inclusive time 78µs)
51134µs34µsparent::::CORE:substparent::CORE:subst (opcode)
11118µs20µsparent::::BEGIN@2parent::BEGIN@2
1119µs23µsparent::::BEGIN@21parent::BEGIN@21
1118µs32µ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;
2231µs223µs
# spent 20µs (18+3) within parent::BEGIN@2 which was called: # once (18µs+3µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 2
use strict;
# spent 20µs making 1 call to parent::BEGIN@2 # spent 3µs making 1 call to strict::import
32136µs256µs
# spent 32µs (8+24) within parent::BEGIN@3 which was called: # once (8µs+24µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 3
use vars qw($VERSION);
# spent 32µs making 1 call to parent::BEGIN@3 # spent 24µs making 1 call to vars::import
41600ns$VERSION = '0.234';
5
6
# spent 2.32ms (1.55+767µs) within parent::import which was called 3 times, avg 772µs/call: # once (1.49ms+826µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 6 of DateTime/TimeZone/Floating.pm # once (25µs+-25µs) by DateTime::TimeZone::OffsetOnly::BEGIN@6 at line 6 of DateTime/TimeZone/OffsetOnly.pm # once (34µs+-34µs) by DateTime::TimeZone::UTC::BEGIN@6 at line 6 of DateTime/TimeZone/UTC.pm
sub import {
732µs my $class = shift;
8
932µs my $inheritor = caller(0);
10
1134µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
14310µs for ( my @filename = @_ ) {
15564µs534µs s{::|'}{/}g;
# spent 34µs making 5 calls to parent::CORE:subst, avg 7µs/call
165590µs require "$_.pm"; # dies if the file is not found
17 }
18 }
19
20 {
21588µs237µs
# spent 23µs (9+14) within parent::BEGIN@21 which was called: # once (9µs+14µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 21
no strict 'refs';
# spent 23µs making 1 call to parent::BEGIN@21 # spent 14µs making 1 call to strict::unimport
22338µs push @{"$inheritor\::ISA"}, @_;
23 };
24};
25
2613µs"All your base are belong to us"
27
28__END__
 
# spent 34µs within parent::CORE:subst which was called 5 times, avg 7µs/call: # 5 times (34µs+0s) by parent::import at line 15, avg 7µs/call
sub parent::CORE:subst; # opcode