Filename | /usr/local/perls/perl-5.26.1/lib/5.26.1/utf8.pm |
Statements | Executed 1 statements in 10µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 10µs | 10µs | import | utf8::
2 | 1 | 1 | 5µs | 5µs | downgrade (xsub) | 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 | $utf8::hint_bits = 0x00800000; | ||||
4 | |||||
5 | our $VERSION = '1.19'; | ||||
6 | |||||
7 | # spent 10µs within utf8::import which was called:
# once (10µs+0s) by IO::Compress::Base::Common::BEGIN@114 at line 114 of IO/Compress/Base/Common.pm | ||||
8 | 1 | 10µ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; | ||||
23 | __END__ | ||||
# spent 5µs within utf8::downgrade which was called 2 times, avg 2µs/call:
# 2 times (5µs+0s) by URI::_uric_escape at line 94 of URI.pm, avg 2µs/call |