← Index
NYTProf Performance Profile   « line view »
For t/bug-md-11.t
  Run on Fri Mar 8 13:27:24 2024
Reported on Fri Mar 8 13:30:23 2024

Filename/home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/utf8.pm
StatementsExecuted 11 statements in 115µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118µs9µsutf8::::BEGIN@3utf8::BEGIN@3
3314µs4µsutf8::::unimportutf8::unimport
5223µs3µsutf8::::encodeutf8::encode (xsub)
1113µs18µsutf8::::BEGIN@4utf8::BEGIN@4
1112µs2µsutf8::::importutf8::import
0000s0sutf8::::AUTOLOADutf8::AUTOLOAD
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
3216µs211µs
# spent 9µs (8+1) within utf8::BEGIN@3 which was called: # once (8µs+1µs) by XML::Twig::BEGIN@25 at line 3
use strict;
# spent 9µs making 1 call to utf8::BEGIN@3 # spent 1µs making 1 call to strict::import
4281µs232µs
# spent 18µs (3+15) within utf8::BEGIN@4 which was called: # once (3µs+15µs) by XML::Twig::BEGIN@25 at line 4
use warnings;
# spent 18µs making 1 call to utf8::BEGIN@4 # spent 15µs making 1 call to warnings::import
5
61200nsour $hint_bits = 0x00800000;
7
81200nsour $VERSION = '1.25';
9our $AUTOLOAD;
10
11
# spent 2µs within utf8::import which was called: # once (2µs+0s) by XML::Twig::BEGIN@25 at line 25 of XML/Twig.pm
sub import {
1214µs $^H |= $hint_bits;
13}
14
15
# spent 4µs within utf8::unimport which was called 3 times, avg 2µs/call: # once (2µs+0s) by XML::Twig::BEGIN@4636 at line 4636 of XML/Twig.pm # once (2µs+0s) by XML::Twig::Elt::BEGIN@7919 at line 7919 of XML/Twig.pm # once (1µs+0s) by XML::Twig::BEGIN@4649 at line 4649 of XML/Twig.pm
sub unimport {
16312µs $^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
2512µs1;
26__END__
 
# spent 3µs within utf8::encode which was called 5 times, avg 600ns/call: # 4 times (2µs+0s) by base::__ANON__[/home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/base.pm:76] at line 74 of base.pm, avg 550ns/call # once (800ns+0s) by JSON::BEGIN@1 at line 1288 of JSON/PP.pm
sub utf8::encode; # xsub