| Filename | /usr/libdata/perl5/bytes.pm |
| Statements | Executed 8 statements in 57µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 5 | 5 | 5 | 20µs | 20µs | bytes::import |
| 0 | 0 | 0 | 0s | 0s | bytes::AUTOLOAD |
| 0 | 0 | 0 | 0s | 0s | bytes::unimport |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package bytes; | ||||
| 2 | |||||
| 3 | 1 | 1µs | our $VERSION = '1.05'; | ||
| 4 | |||||
| 5 | 1 | 700ns | $bytes::hint_bits = 0x00000008; | ||
| 6 | |||||
| 7 | # spent 20µs within bytes::import which was called 5 times, avg 4µs/call:
# once (6µs+0s) by IO::Uncompress::Gunzip::BEGIN@10 at line 10 of IO/Uncompress/Gunzip.pm
# once (4µs+0s) by IO::Compress::Base::Common::BEGIN@5 at line 5 of IO/Compress/Base/Common.pm
# once (4µs+0s) by Compress::Raw::Zlib::BEGIN@10 at line 10 of Compress/Raw/Zlib.pm
# once (3µs+0s) by IO::Compress::Zlib::Extra::BEGIN@7 at line 7 of IO/Compress/Zlib/Extra.pm
# once (3µs+0s) by IO::Compress::Gzip::Constants::BEGIN@5 at line 5 of IO/Compress/Gzip/Constants.pm | ||||
| 8 | 5 | 47µs | $^H |= $bytes::hint_bits; | ||
| 9 | } | ||||
| 10 | |||||
| 11 | sub unimport { | ||||
| 12 | $^H &= ~$bytes::hint_bits; | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | sub AUTOLOAD { | ||||
| 16 | require "bytes_heavy.pl"; | ||||
| 17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
| 18 | require Carp; | ||||
| 19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
| 20 | } | ||||
| 21 | |||||
| 22 | sub length (_); | ||||
| 23 | sub chr (_); | ||||
| 24 | sub ord (_); | ||||
| 25 | sub substr ($$;$$); | ||||
| 26 | sub index ($$;$); | ||||
| 27 | sub rindex ($$;$); | ||||
| 28 | |||||
| 29 | 1 | 7µs | 1; | ||
| 30 | __END__ |