| Filename | /Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/utf8.pm |
| Statements | Executed 16 statements in 237µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1085 | 1 | 1 | 350µs | 350µs | utf8::is_utf8 (xsub) |
| 14 | 2 | 2 | 24µs | 24µs | utf8::encode (xsub) |
| 1 | 1 | 1 | 19µs | 21µs | utf8::BEGIN@3 |
| 9 | 4 | 3 | 19µs | 19µs | utf8::import |
| 1 | 1 | 1 | 10µs | 39µs | utf8::BEGIN@4 |
| 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 | 2 | 28µs | 2 | 23µs | # spent 21µs (19+2) within utf8::BEGIN@3 which was called:
# once (19µs+2µs) by Mojo::Base::BEGIN@5 at line 3 # spent 21µs making 1 call to utf8::BEGIN@3
# spent 2µs making 1 call to strict::import |
| 4 | 2 | 168µs | 2 | 68µs | # spent 39µs (10+29) within utf8::BEGIN@4 which was called:
# once (10µs+29µs) by Mojo::Base::BEGIN@5 at line 4 # spent 39µs making 1 call to utf8::BEGIN@4
# spent 29µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 0s | our $hint_bits = 0x00800000; | ||
| 7 | |||||
| 8 | 1 | 1µs | our $VERSION = '1.24'; | ||
| 9 | our $AUTOLOAD; | ||||
| 10 | |||||
| 11 | # spent 19µs within utf8::import which was called 9 times, avg 2µs/call:
# 6 times (10µs+0s) by Mojo::Base::import at line 102 of Mojo/Base.pm, avg 2µs/call
# once (4µs+0s) by IO::Compress::Base::Common::BEGIN@114 at line 114 of IO/Compress/Base/Common.pm
# once (3µs+0s) by Mojo::Base::BEGIN@5 at line 5 of Mojo/Base.pm
# once (2µs+0s) by Class::Inspector::BEGIN@17 at line 21 of Class/Inspector.pm | ||||
| 12 | 9 | 36µs | $^H |= $hint_bits; | ||
| 13 | } | ||||
| 14 | |||||
| 15 | sub unimport { | ||||
| 16 | $^H &= ~$hint_bits; | ||||
| 17 | } | ||||
| 18 | |||||
| 19 | sub AUTOLOAD { | ||||
| 20 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
| 21 | require Carp; | ||||
| 22 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
| 23 | } | ||||
| 24 | |||||
| 25 | 1 | 4µs | 1; | ||
| 26 | __END__ | ||||
# spent 24µs within utf8::encode which was called 14 times, avg 2µs/call:
# 13 times (22µs+0s) by base::__ANON__[/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/base.pm:76] at line 74 of base.pm, avg 2µs/call
# once (2µs+0s) by Pod::Simple::LinkSection::BEGIN@7 at line 98 of Pod/Simple/BlackBox.pm | |||||
# spent 350µs within utf8::is_utf8 which was called 1085 times, avg 323ns/call:
# 1085 times (350µs+0s) by Sub::Quote::quotify at line 119 of Sub/Quote.pm, avg 323ns/call |