| Filename | /home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/5.22.1/utf8.pm |
| Statements | Executed 4 statements in 11µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 3 | 1 | 1 | 3µs | 3µs | utf8::encode (xsub) |
| 1 | 1 | 1 | 3µs | 3µs | utf8::import |
| 0 | 0 | 0 | 0s | 0s | utf8::AUTOLOAD |
| 0 | 0 | 0 | 0s | 0s | utf8::unimport |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package utf8; | ||||
| 2 | |||||
| 3 | 1 | 400ns | $utf8::hint_bits = 0x00800000; | ||
| 4 | |||||
| 5 | 1 | 300ns | our $VERSION = '1.17'; | ||
| 6 | |||||
| 7 | # spent 3µs within utf8::import which was called:
# once (3µs+0s) by Class::Inspector::BEGIN@51 at line 1 of (eval 5)[Class/Inspector.pm:59] | ||||
| 8 | 1 | 7µ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 | 3µs | 1; | ||
| 23 | __END__ | ||||
# spent 3µs within utf8::encode which was called 3 times, avg 1µs/call:
# 3 times (3µs+0s) by base::__ANON__[/home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/base.pm:72] at line 70 of base.pm, avg 1µs/call |