Profile of parent.pm

← Index
NYTProf Performance Profile «line view»
For t/bug-md-11.t
Run on Fri Mar 8 13:27:24 2024
Reported on Fri Mar 8 13:30:23 2024

Filename | /home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/parent.pm
Statements | Executed 48 statements in 250µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
5 | 5 | 3 | 426µs | 514µs | parent::::importparent::import
1 | 1 | 1 | 8µs | 10µs | parent::::BEGIN@2parent::BEGIN@2
1 | 1 | 1 | 5µs | 9µs | parent::::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
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package parent;
2 | 2 | 75µs | 2 | 12µs | # spent 10µs (8+2) within parent::BEGIN@2 which was called: # once (8µs+2µs) by File::Temp::BEGIN@167 at line 2 use strict; # spent 10µs making 1 call to parent::BEGIN@2 # spent 2µs making 1 call to strict::import
3 |  |  |  |  |
4 | 1 | 300ns |  |  | our $VERSION = '0.241';
5 |  |  |  |  |
6 |  |  |  |  | # spent 514µs (426+88) within parent::import which was called 5 times, avg 103µs/call: # once (385µs+77µs) by Encode::UTF_EBCDIC::BEGIN@178 at line 178 of Encode.pm # once (12µs+5µs) by File::Temp::BEGIN@167 at line 167 of File/Temp.pm # once (11µs+2µs) by Encode::utf8::BEGIN@215 at line 215 of Encode.pm # once (10µs+3µs) by Encode::XS::BEGIN@210 at line 210 of Encode.pm # once (8µs+1000ns) by Time::Local::BEGIN@10 at line 10 of Time/Local.pm sub import {
7 | 5 | 1µs |  |  | my $class = shift;
8 |  |  |  |  |
9 | 5 | 2µs |  |  | my $inheritor = caller(0);
10 |  |  |  |  |
11 | 5 | 3µs |  |  | if ( @_ and $_[0] eq '-norequire' ) {
12 |  |  |  |  | shift @_;
13 |  |  |  |  | } else {
14 | 5 | 5µs |  |  | for ( my @filename = @_ ) {
15 | 6 | 26µs | 6 | 15µs | s{::|'}{/}g; # spent 15µs making 6 calls to CORE::subst, avg 2µs/call
16 | 6 | 59µs |  |  | require "$_.pm"; # dies if the file is not found
17 |  |  |  |  | }
18 |  |  |  |  | }
19 |  |  |  |  |
20 |  |  |  |  | {
21 | 7 | 54µs | 2 | 13µs | # spent 9µs (5+4) within parent::BEGIN@21 which was called: # once (5µs+4µs) by File::Temp::BEGIN@167 at line 21 no strict 'refs'; # spent 9µs making 1 call to parent::BEGIN@21 # spent 4µs making 1 call to strict::unimport
22 | 5 | 23µs |  |  | push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected
23 |  |  |  |  | };
24 |  |  |  |  | };
25 |  |  |  |  |
26 | 1 | 2µs |  |  | 1;
27 |  |  |  |  |
28 |  |  |  |  | __END__