Filename | /home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/utf8.pm |
Statements | Executed 5 statements in 11µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
9018 | 7 | 4 | 5.76ms | 5.76ms | downgrade (xsub) | utf8::
3020 | 2 | 2 | 2.09ms | 2.09ms | encode (xsub) | utf8::
2 | 2 | 2 | 4µs | 4µs | import | utf8::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | 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 | 200ns | $utf8::hint_bits = 0x00800000; | ||
4 | |||||
5 | 1 | 200ns | our $VERSION = '1.17'; | ||
6 | |||||
7 | # spent 4µs within utf8::import which was called 2 times, avg 2µs/call:
# once (2µs+0s) by IO::Compress::Base::Common::BEGIN@114 at line 114 of IO/Compress/Base/Common.pm
# once (2µs+0s) by BenchmarkAnything::Storage::Backend::SQL::BEGIN@8 at line 8 of BenchmarkAnything/Storage/Backend/SQL.pm | ||||
8 | 2 | 8µ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 | 2µs | 1; | ||
23 | __END__ | ||||
# spent 5.76ms within utf8::downgrade which was called 9018 times, avg 639ns/call:
# 3002 times (1.05ms+0s) by HTTP::Tiny::Handle::write at line 978 of HTTP/Tiny.pm, avg 350ns/call
# 2002 times (1.56ms+0s) by URI::_uric_escape at line 93 of URI.pm, avg 780ns/call
# 2002 times (1.22ms+0s) by URI::_generic::path at line 49 of URI/_generic.pm, avg 608ns/call
# 1000 times (1.48ms+0s) by HTTP::Tiny::_prepare_headers_and_cb at line 685 of HTTP/Tiny.pm, avg 1µs/call
# 1000 times (448µs+0s) by HTTP::Tiny::Handle::write_content_body at line 1223 of HTTP/Tiny.pm, avg 448ns/call
# 6 times (2µs+0s) by Carp::format_arg at line 285 of Carp.pm, avg 333ns/call
# 6 times (1µs+0s) by Carp::format_arg at line 329 of Carp.pm, avg 183ns/call | |||||
# spent 2.09ms within utf8::encode which was called 3020 times, avg 692ns/call:
# 3001 times (2.08ms+0s) by Search::Elasticsearch::Role::Client::Direct::_parse_path at line 66 of Search/Elasticsearch/Role/Client/Direct.pm, avg 692ns/call
# 19 times (12µs+0s) by base::__ANON__[/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/base.pm:72] at line 70 of base.pm, avg 658ns/call |