← Index
NYTProf Performance Profile   « line view »
For rbm/rbm
  Run on Wed Feb 12 03:38:15 2020
Reported on Wed Feb 12 04:56:35 2020

Filename/usr/share/perl/5.28/parent.pm
StatementsExecuted 50 statements in 425µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
552697µs838µsparent::::importparent::import
111442µs550µsparent::::BEGIN@3parent::BEGIN@3
61122µs22µsparent::::CORE:substparent::CORE:subst (opcode)
11114µs17µsparent::::BEGIN@2parent::BEGIN@2
1116µs16µ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;
2226µs221µs
# spent 17µs (14+3) within parent::BEGIN@2 which was called: # once (14µs+3µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 2
use strict;
# spent 17µs making 1 call to parent::BEGIN@2 # spent 3µs making 1 call to strict::import
32178µs2571µs
# spent 550µs (442+107) within parent::BEGIN@3 which was called: # once (442µs+107µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 3
use vars qw($VERSION);
# spent 550µs making 1 call to parent::BEGIN@3 # spent 21µs making 1 call to vars::import
41300ns$VERSION = '0.236';
5
6
# spent 838µs (697+141) within parent::import which was called 5 times, avg 168µs/call: # once (644µs+124µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 305 of Encode.pm # once (21µs+8µs) by File::Temp::BEGIN@31 at line 31 of File/Temp.pm # once (12µs+3µs) by Encode::XS::BEGIN@349 at line 349 of Encode.pm # once (11µs+3µs) by Encode::Internal::BEGIN@334 at line 334 of Encode.pm # once (9µ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
1153µs if ( @_ and $_[0] eq '-norequire' ) {
12 shift @_;
13 } else {
1456µs for ( my @filename = @_ ) {
15636µs622µs s{::|'}{/}g;
# spent 22µs making 6 calls to parent::CORE:subst, avg 4µs/call
16675µs require "$_.pm"; # dies if the file is not found
17 }
18 }
19
20 {
21766µs226µs
# spent 16µs (6+10) within parent::BEGIN@21 which was called: # once (6µs+10µs) by Encode::UTF_EBCDIC::BEGIN@305 at line 21
no strict 'refs';
# spent 16µs making 1 call to parent::BEGIN@21 # spent 10µs making 1 call to strict::unimport
22528µs push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected
23 };
24};
25
2612µs1;
27
28__END__
 
# spent 22µs within parent::CORE:subst which was called 6 times, avg 4µs/call: # 6 times (22µs+0s) by parent::import at line 15, avg 4µs/call
sub parent::CORE:subst; # opcode