Filename | /usr/share/perl/5.28/bytes.pm |
Statements | Executed 5 statements in 17µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2 | 2 | 2 | 5µs | 5µs | import | bytes::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | bytes::
0 | 0 | 0 | 0s | 0s | unimport | bytes::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package bytes; | ||||
2 | |||||
3 | 1 | 300ns | our $VERSION = '1.06'; | ||
4 | |||||
5 | 1 | 200ns | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 5µs within bytes::import which was called 2 times, avg 3µs/call:
# once (3µs+0s) by Template::Provider::BEGIN@1092 at line 1092 of Template/Provider.pm
# once (2µs+0s) by Encode::utf8::BEGIN@368 at line 368 of Encode.pm | ||||
8 | 2 | 14µ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 | 3µs | 1; | ||
30 | __END__ |