← Index
NYTProf Performance Profile   « line view »
For rbm/rbm
  Run on Wed Feb 12 20:36:06 2020
Reported on Wed Feb 12 21:42:25 2020

Filename/usr/share/perl/5.28/parent.pm
StatementsExecuted 50 statements in 467µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
552631µs786µsparent::::importparent::import
111426µs528µsparent::::BEGIN@3parent::BEGIN@3
61123µs23µsparent::::CORE:substparent::CORE:subst (opcode)
11114µs18µsparent::::BEGIN@2parent::BEGIN@2
1117µs18µsparent::::BEGIN@21parent::BEGIN@21
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package parent;
2228µs222µs
# spent 18µs (14+4) within parent::BEGIN@2 which was called: # once (14µs+4µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 2
use strict;
# spent 18µs making 1 call to parent::BEGIN@2 # spent 4µs making 1 call to strict::import
32168µs2550µs
# spent 528µs (426+102) within parent::BEGIN@3 which was called: # once (426µs+102µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 3
use vars qw($VERSION);
# spent 528µs making 1 call to parent::BEGIN@3 # spent 22µs making 1 call to vars::import
41300ns$VERSION = '0.236';
5
6
# spent 786µs (631+155) within parent::import which was called 5 times, avg 157µs/call: # once (579µs+138µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 305 of Encode.pm # once (22µs+9µs) by File::Temp::BEGIN@31 at line 31 of File/Temp.pm # once (11µs+3µs) by Encode::Internal::BEGIN@334 at line 334 of Encode.pm # once (11µs+3µs) by Encode::XS::BEGIN@349 at line 349 of Encode.pm # once (8µs+2µs) by Encode::utf8::BEGIN@354 at line 354 of Encode.pm
sub import {
752µs my $class = shift;
8
953µs my $inheritor = caller(0);
10
1154µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
1456µs for ( my @filename = @_ ) {
15637µs623µs s{::|'}{/}g;
# spent 23µs making 6 calls to parent::CORE:subst, avg 4µs/call
166119µs require "$_.pm"; # dies if the file is not found
17 }
18 }
19
20 {
21772µs230µs
# spent 18µs (7+11) within parent::BEGIN@21 which was called: # once (7µs+11µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 21
no strict 'refs';
# spent 18µs making 1 call to parent::BEGIN@21 # spent 12µs making 1 call to strict::unimport
22525µs push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected
23 };
24};
25
2612µs1;
27
28__END__
 
# spent 23µs within parent::CORE:subst which was called 6 times, avg 4µs/call: # 6 times (23µs+0s) by parent::import at line 15, avg 4µs/call
sub parent::CORE:subst; # opcode