← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Thu Dec 15 15:23:56 2022
Reported on Thu Dec 15 15:27:01 2022

Filename/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/utf8.pm
StatementsExecuted 16 statements in 170µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
106311289µs289µsutf8::::is_utf8utf8::is_utf8 (xsub)
153318µs18µsutf8::::encodeutf8::encode (xsub)
11115µs17µsutf8::::BEGIN@3utf8::BEGIN@3
94314µs14µsutf8::::importutf8::import
1112µs22µsutf8::::BEGIN@4utf8::BEGIN@4
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
3219µs219µs
# spent 17µs (15+2) within utf8::BEGIN@3 which was called: # once (15µs+2µs) by Mojo::Base::BEGIN@5 at line 3
use strict;
# spent 17µs making 1 call to utf8::BEGIN@3 # spent 2µs making 1 call to strict::import
42124µs242µs
# spent 22µs (2+20) within utf8::BEGIN@4 which was called: # once (2µs+20µs) by Mojo::Base::BEGIN@5 at line 4
use warnings;
# spent 22µs making 1 call to utf8::BEGIN@4 # spent 20µs making 1 call to warnings::import
5
610sour $hint_bits = 0x00800000;
7
810sour $VERSION = '1.24';
9our $AUTOLOAD;
10
11
# spent 14µs within utf8::import which was called 9 times, avg 2µs/call: # 6 times (7µs+0s) by Mojo::Base::import at line 102 of Mojo/Base.pm, avg 1µs/call # once (3µs+0s) by Class::Inspector::BEGIN@17 at line 21 of Class/Inspector.pm # 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 Mojo::Base::BEGIN@5 at line 5 of Mojo/Base.pm
sub import {
12924µs $^H |= $hint_bits;
13}
14
15sub unimport {
16 $^H &= ~$hint_bits;
17}
18
19sub AUTOLOAD {
20 goto &$AUTOLOAD if defined &$AUTOLOAD;
21 require Carp;
22 Carp::croak("Undefined subroutine $AUTOLOAD called");
23}
24
2513µs1;
26__END__
 
# spent 18µs within utf8::encode which was called 15 times, avg 1µs/call: # 13 times (15µ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 1µs/call # once (2µs+0s) by JSON::Schema::Modern::Error::BEGIN@18 at line 1297 of JSON/PP.pm # once (1µs+0s) by Pod::Simple::LinkSection::BEGIN@7 at line 98 of Pod/Simple/BlackBox.pm
sub utf8::encode; # xsub
# spent 289µs within utf8::is_utf8 which was called 1063 times, avg 272ns/call: # 1063 times (289µs+0s) by Sub::Quote::quotify at line 119 of Sub/Quote.pm, avg 272ns/call
sub utf8::is_utf8; # xsub