← Index
NYTProf Performance Profile   « line view »
For -e
  Run on Thu Jun 30 16:34:56 2016
Reported on Thu Jun 30 16:35:09 2016

Filename/home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/parent.pm
StatementsExecuted 36 statements in 809µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
3331.15ms1.66msparent::::importparent::import (recurses: max depth 1, inclusive time 48µs)
51123µs23µsparent::::CORE:substparent::CORE:subst (opcode)
11114µs16µsparent::::BEGIN@2parent::BEGIN@2
1117µs18µsparent::::BEGIN@21parent::BEGIN@21
1116µs25µ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;
2224µs218µs
# spent 16µs (14+2) within parent::BEGIN@2 which was called: # once (14µs+2µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 2
use strict;
# spent 16µs making 1 call to parent::BEGIN@2 # spent 2µs making 1 call to strict::import
32104µs244µs
# spent 25µs (6+19) within parent::BEGIN@3 which was called: # once (6µs+19µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 3
use vars qw($VERSION);
# spent 25µs making 1 call to parent::BEGIN@3 # spent 19µs making 1 call to vars::import
41400ns$VERSION = '0.234';
5
6
# spent 1.66ms (1.15+505µs) within parent::import which was called 3 times, avg 552µs/call: # once (1.11ms+543µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 6 of DateTime/TimeZone/Floating.pm # once (19µs+-19µs) by DateTime::TimeZone::UTC::BEGIN@6 at line 6 of DateTime/TimeZone/UTC.pm # once (19µs+-19µs) by DateTime::TimeZone::OffsetOnly::BEGIN@6 at line 6 of DateTime/TimeZone/OffsetOnly.pm
sub import {
731µs my $class = shift;
8
932µs my $inheritor = caller(0);
10
1133µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
1436µs for ( my @filename = @_ ) {
15537µs523µs s{::|'}{/}g;
# spent 23µs making 5 calls to parent::CORE:subst, avg 5µs/call
165537µs require "$_.pm"; # dies if the file is not found
17 }
18 }
19
20 {
21565µs229µs
# spent 18µs (7+11) within parent::BEGIN@21 which was called: # once (7µs+11µs) by DateTime::TimeZone::Floating::BEGIN@6 at line 21
no strict 'refs';
# spent 18µs making 1 call to parent::BEGIN@21 # spent 11µs making 1 call to strict::unimport
22326µs push @{"$inheritor\::ISA"}, @_;
23 };
24};
25
2613µs"All your base are belong to us"
27
28__END__
 
# spent 23µs within parent::CORE:subst which was called 5 times, avg 5µs/call: # 5 times (23µs+0s) by parent::import at line 15, avg 5µs/call
sub parent::CORE:subst; # opcode