Filename | /usr/lib/perl5/5.20.1/utf8.pm |
Statements | Executed 7 statements in 11µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2439 | 1 | 1 | 668µs | 668µs | encode (xsub) | utf8::
4 | 4 | 4 | 5µs | 5µs | import | utf8::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | utf8::
0 | 0 | 0 | 0s | 0s | unimport | utf8::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package utf8; | ||||
2 | |||||
3 | 1 | 200ns | $utf8::hint_bits = 0x00800000; | ||
4 | |||||
5 | 1 | 100ns | our $VERSION = '1.13_01'; | ||
6 | |||||
7 | # spent 5µs within utf8::import which was called 4 times, avg 1µs/call:
# once (2µs+0s) by Date::Manip::Delta::BEGIN@20 at line 20 of Date/Manip/Delta.pm
# once (2µs+0s) by Date::Manip::Lang::english::BEGIN@13 at line 13 of Date/Manip/Lang/english.pm
# once (1µs+0s) by Date::Manip::Date::BEGIN@21 at line 21 of Date/Manip/Date.pm
# once (600ns+0s) by Date::Manip::Base::BEGIN@22 at line 22 of Date/Manip/Base.pm | ||||
8 | 4 | 9µs | $^H |= $utf8::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | sub unimport { | ||||
12 | $^H &= ~$utf8::hint_bits; | ||||
13 | } | ||||
14 | |||||
15 | sub AUTOLOAD { | ||||
16 | require "utf8_heavy.pl"; | ||||
17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
18 | require Carp; | ||||
19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
20 | } | ||||
21 | |||||
22 | 1 | 2µs | 1; | ||
23 | __END__ | ||||
# spent 668µs within utf8::encode which was called 2439 times, avg 274ns/call:
# 2439 times (668µs+0s) by Encode::encode_utf8 at line 203 of Encode.pm, avg 274ns/call |