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