Filename | /usr/share/perl/5.10/utf8.pm |
Statements | Executed 17 statements in 198µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 1.92ms | 2.12ms | AUTOLOAD | utf8::
6 | 6 | 6 | 30µs | 30µs | import | 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 | 1µs | $utf8::hint_bits = 0x00800000; | ||
4 | |||||
5 | 1 | 800ns | our $VERSION = '1.07'; | ||
6 | |||||
7 | # spent 30µs within utf8::import which was called 6 times, avg 5µs/call:
# once (10µs+0s) by XML::Simple::BEGIN@1687 at line 1687 of XML/Simple.pm
# once (6µs+0s) by C4::Search::BEGIN@39 at line 39 of /usr/share/koha/lib/C4/Search.pm
# once (5µs+0s) by DateTime::Locale::en_US::BEGIN@23 at line 23 of DateTime/Locale/en_US.pm
# once (4µs+0s) by DateTime::Locale::Catalog::BEGIN@19 at line 19 of DateTime/Locale/Catalog.pm
# once (3µs+0s) by DateTime::Locale::root::BEGIN@23 at line 23 of DateTime/Locale/root.pm
# once (3µs+0s) by DateTime::Locale::en::BEGIN@23 at line 23 of DateTime/Locale/en.pm | ||||
8 | 12 | 60µs | $^H |= $utf8::hint_bits; | ||
9 | $enc{caller()} = $_[1] if $_[1]; | ||||
10 | } | ||||
11 | |||||
12 | sub unimport { | ||||
13 | $^H &= ~$utf8::hint_bits; | ||||
14 | } | ||||
15 | |||||
16 | # spent 2.12ms (1.92+201µs) within utf8::AUTOLOAD which was called:
# once (1.92ms+201µs) by XML::Simple::CORE:match at line 1023 of XML/Simple.pm | ||||
17 | 2 | 130µs | require "utf8_heavy.pl"; | ||
18 | 1 | 6.58ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 6.58ms making 1 call to utf8::SWASHNEW | ||
19 | require Carp; | ||||
20 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
21 | } | ||||
22 | |||||
23 | 1 | 6µs | 1; | ||
24 | __END__ |