| Filename | /usr/share/perl/5.28/parent.pm |
| Statements | Executed 50 statements in 467µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 5 | 5 | 2 | 631µs | 786µs | parent::import |
| 1 | 1 | 1 | 426µs | 528µs | parent::BEGIN@3 |
| 6 | 1 | 1 | 23µs | 23µs | parent::CORE:subst (opcode) |
| 1 | 1 | 1 | 14µs | 18µs | parent::BEGIN@2 |
| 1 | 1 | 1 | 7µs | 18µs | parent::BEGIN@21 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package parent; | ||||
| 2 | 2 | 28µs | 2 | 22µ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 # spent 18µs making 1 call to parent::BEGIN@2
# spent 4µs making 1 call to strict::import |
| 3 | 2 | 168µs | 2 | 550µ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 # spent 528µs making 1 call to parent::BEGIN@3
# spent 22µs making 1 call to vars::import |
| 4 | 1 | 300ns | $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 | ||||
| 7 | 5 | 2µs | my $class = shift; | ||
| 8 | |||||
| 9 | 5 | 3µs | my $inheritor = caller(0); | ||
| 10 | |||||
| 11 | 5 | 4µs | if ( @_ and $_[0] eq '-norequire' ) { | ||
| 12 | shift @_; | ||||
| 13 | } else { | ||||
| 14 | 5 | 6µs | for ( my @filename = @_ ) { | ||
| 15 | 6 | 37µs | 6 | 23µs | s{::|'}{/}g; # spent 23µs making 6 calls to parent::CORE:subst, avg 4µs/call |
| 16 | 6 | 119µs | require "$_.pm"; # dies if the file is not found | ||
| 17 | } | ||||
| 18 | } | ||||
| 19 | |||||
| 20 | { | ||||
| 21 | 7 | 72µs | 2 | 30µ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 # spent 18µs making 1 call to parent::BEGIN@21
# spent 12µs making 1 call to strict::unimport |
| 22 | 5 | 25µs | push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected | ||
| 23 | }; | ||||
| 24 | }; | ||||
| 25 | |||||
| 26 | 1 | 2µs | 1; | ||
| 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 |