Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/5.13.5/utf8.pm |
Statements | Executed 9 statements in 181µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 1.97ms | 2.14ms | AUTOLOAD | utf8::
2 | 2 | 2 | 11µs | 11µ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 | 1µs | our $VERSION = '1.08'; | ||
6 | |||||
7 | # spent 11µs within utf8::import which was called 2 times, avg 6µs/call:
# once (6µs+0s) by Hailo::Tokenizer::Words::BEGIN@10 at line 10 of Hailo/Tokenizer/Words.pm
# once (5µs+0s) by Text::Unidecode::BEGIN@4 at line 4 of Text/Unidecode.pm | ||||
8 | 4 | 17µ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.14ms (1.97+165µs) within utf8::AUTOLOAD which was called:
# once (1.97ms+165µs) by Hailo::Tokenizer::Words::CORE:subst at line 188 of Hailo/Tokenizer/Words.pm | ||||
17 | 2 | 158µs | require "utf8_heavy.pl"; | ||
18 | 1 | 8.03ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 8.03ms making 1 call to utf8::SWASHNEW | ||
19 | require Carp; | ||||
20 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
21 | } | ||||
22 | |||||
23 | 1 | 4µs | 1; | ||
24 | __END__ |