← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/utf8.pm
StatementsExecuted 5 statements in 11µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
9018745.76ms5.76msutf8::::downgradeutf8::downgrade (xsub)
3020222.09ms2.09msutf8::::encodeutf8::encode (xsub)
2224µs4µsutf8::::importutf8::import
0000s0sutf8::::AUTOLOADutf8::AUTOLOAD
0000s0sutf8::::unimportutf8::unimport
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package utf8;
2
31200ns$utf8::hint_bits = 0x00800000;
4
51200nsour $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
sub import {
828µs $^H |= $utf8::hint_bits;
9}
10
11sub unimport {
12 $^H &= ~$utf8::hint_bits;
13}
14
15sub AUTOLOAD {
16 require "utf8_heavy.pl";
17 goto &$AUTOLOAD if defined &$AUTOLOAD;
18 require Carp;
19 Carp::croak("Undefined subroutine $AUTOLOAD called");
20}
21
2212µs1;
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
sub utf8::downgrade; # xsub
# 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
sub utf8::encode; # xsub