← 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/bytes.pm
StatementsExecuted 12 statements in 164µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11114µs28µsbytes::::BEGIN@4bytes::BEGIN@4
1119µs10µsbytes::::BEGIN@3bytes::BEGIN@3
5548µs8µsbytes::::importbytes::import
0000s0sbytes::::AUTOLOADbytes::AUTOLOAD
0000s0sbytes::::unimportbytes::unimport
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package bytes;
2
3231µs212µs
# spent 10µs (9+1) within bytes::BEGIN@3 which was called: # once (9µs+1µs) by Compress::Raw::Zlib::BEGIN@10 at line 3
use strict;
# spent 10µs making 1 call to bytes::BEGIN@3 # spent 1µs making 1 call to strict::import
42106µs242µs
# spent 28µs (14+14) within bytes::BEGIN@4 which was called: # once (14µs+14µs) by Compress::Raw::Zlib::BEGIN@10 at line 4
use warnings;
# spent 28µs making 1 call to bytes::BEGIN@4 # spent 14µs making 1 call to warnings::import
5
61200nsour $VERSION = '1.08';
7
81100ns$bytes::hint_bits = 0x00000008;
9
10
# spent 8µs within bytes::import which was called 5 times, avg 2µs/call: # once (2µs+0s) by JSON::PP::BEGIN@790 at line 790 of JSON/PP.pm # once (2µs+0s) by XML::Twig::BEGIN@2455 at line 2455 of XML/Twig.pm # once (2µs+0s) by Compress::Raw::Zlib::BEGIN@10 at line 10 of Compress/Raw/Zlib.pm # once (1µs+0s) by Encode::utf8::BEGIN@229 at line 229 of Encode.pm # once (1µs+0s) by JSON::PP::IncrParser::BEGIN@1547 at line 1547 of JSON/PP.pm
sub import {
11525µs $^H |= $bytes::hint_bits;
12}
13
14sub unimport {
15 $^H &= ~$bytes::hint_bits;
16}
17
18our $AUTOLOAD;
19sub AUTOLOAD {
20 require "bytes_heavy.pl";
21 goto &$AUTOLOAD if defined &$AUTOLOAD;
22 require Carp;
23 Carp::croak("Undefined subroutine $AUTOLOAD called");
24}
25
26sub length (_);
27sub chr (_);
28sub ord (_);
29sub substr ($$;$$);
30sub index ($$;$);
31sub rindex ($$;$);
32
3312µs1;
34__END__