| Filename | /usr/lib/x86_64-linux-gnu/perl-base/parent.pm |
| Statements | Executed 56 statements in 263µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 6 | 6 | 4 | 449µs | 550µs | parent::import |
| 7 | 1 | 1 | 16µs | 16µs | parent::CORE:subst (opcode) |
| 1 | 1 | 1 | 7µs | 9µs | parent::BEGIN@2 |
| 1 | 1 | 1 | 4µs | 8µs | parent::BEGIN@21 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package parent; | ||||
| 2 | 2 | 75µs | 2 | 10µs | # spent 9µs (7+2) within parent::BEGIN@2 which was called:
# once (7µs+2µs) by File::Temp::BEGIN@167 at line 2 # spent 9µs making 1 call to parent::BEGIN@2
# spent 2µs making 1 call to strict::import |
| 3 | |||||
| 4 | 1 | 200ns | our $VERSION = '0.238'; | ||
| 5 | |||||
| 6 | # spent 550µs (449+101) within parent::import which was called 6 times, avg 92µs/call:
# once (401µs+89µ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 (9µs+3µs) by Encode::XS::BEGIN@210 at line 210 of Encode.pm
# once (10µs+1µs) by Gradescope::Translate::BEGIN@21 at line 21 of /home/hejohns/documentsNoSync/22f/490/gradescope-utils/lib/Gradescope/Translate.pm
# once (9µs+2µs) by Encode::utf8::BEGIN@215 at line 215 of Encode.pm
# once (8µs+900ns) by Gradescope::Color::BEGIN@20 at line 20 of /home/hejohns/documentsNoSync/22f/490/gradescope-utils/lib/Gradescope/Color.pm | ||||
| 7 | 6 | 2µs | my $class = shift; | ||
| 8 | |||||
| 9 | 6 | 3µs | my $inheritor = caller(0); | ||
| 10 | |||||
| 11 | 6 | 3µs | if ( @_ and $_[0] eq '-norequire' ) { | ||
| 12 | shift @_; | ||||
| 13 | } else { | ||||
| 14 | 6 | 6µs | for ( my @filename = @_ ) { | ||
| 15 | 7 | 28µs | 7 | 16µs | s{::|'}{/}g; # spent 16µs making 7 calls to parent::CORE:subst, avg 2µs/call |
| 16 | 7 | 61µs | require "$_.pm"; # dies if the file is not found | ||
| 17 | } | ||||
| 18 | } | ||||
| 19 | |||||
| 20 | { | ||||
| 21 | 8 | 58µs | 2 | 12µs | # spent 8µs (4+4) within parent::BEGIN@21 which was called:
# once (4µs+4µs) by File::Temp::BEGIN@167 at line 21 # spent 8µs making 1 call to parent::BEGIN@21
# spent 4µs making 1 call to strict::unimport |
| 22 | 6 | 26µs | push @{"$inheritor\::ISA"}, @_; # dies if a loop is detected | ||
| 23 | }; | ||||
| 24 | }; | ||||
| 25 | |||||
| 26 | 1 | 2µs | 1; | ||
| 27 | |||||
| 28 | __END__ | ||||
# spent 16µs within parent::CORE:subst which was called 7 times, avg 2µs/call:
# 7 times (16µs+0s) by parent::import at line 15, avg 2µs/call |