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