← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 15:57:08 2022
Reported on Wed Dec 14 16:00:30 2022

Filename/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/bytes.pm
StatementsExecuted 23 statements in 250µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
16161534µs34µsbytes::::importbytes::import
11112µs14µsbytes::::BEGIN@3bytes::BEGIN@3
1113µs28µsbytes::::BEGIN@4bytes::BEGIN@4
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
3219µs216µs
# spent 14µs (12+2) within bytes::BEGIN@3 which was called: # once (12µs+2µs) by Encode::utf8::BEGIN@229 at line 3
use strict;
# spent 14µs making 1 call to bytes::BEGIN@3 # spent 2µs making 1 call to strict::import
42136µs253µs
# spent 28µs (3+25) within bytes::BEGIN@4 which was called: # once (3µs+25µs) by Encode::utf8::BEGIN@229 at line 4
use warnings;
# spent 28µs making 1 call to bytes::BEGIN@4 # spent 25µs making 1 call to warnings::import
5
610sour $VERSION = '1.08';
7
810s$bytes::hint_bits = 0x00000008;
9
10
# spent 34µs within bytes::import which was called 16 times, avg 2µs/call: # once (5µs+0s) by Unicode::Normalize::BEGIN@57 at line 57 of Unicode/Normalize.pm # once (4µs+0s) by JSON::PP::BEGIN@749 at line 749 of JSON/PP.pm # once (3µs+0s) by IO::Compress::Adapter::Deflate::BEGIN@5 at line 5 of IO/Compress/Adapter/Deflate.pm # once (3µs+0s) by JSON::PP::IncrParser::BEGIN@1573 at line 1573 of JSON/PP.pm # once (2µs+0s) by IO::Uncompress::RawInflate::BEGIN@6 at line 6 of IO/Uncompress/RawInflate.pm # once (2µs+0s) by Encode::utf8::BEGIN@229 at line 229 of Encode.pm # once (2µs+0s) by Data::Dumper::BEGIN@762 at line 762 of Data/Dumper.pm # once (2µs+0s) by IO::Uncompress::Adapter::Inflate::BEGIN@5 at line 5 of IO/Uncompress/Adapter/Inflate.pm # once (2µs+0s) by IO::Compress::Zlib::Extra::BEGIN@7 at line 7 of IO/Compress/Zlib/Extra.pm # once (2µs+0s) by IO::Compress::Gzip::BEGIN@7 at line 7 of IO/Compress/Gzip.pm # once (2µs+0s) by IO::Uncompress::Base::BEGIN@6 at line 6 of IO/Uncompress/Base.pm # once (2µs+0s) by IO::Uncompress::Gunzip::BEGIN@10 at line 10 of IO/Uncompress/Gunzip.pm # once (1µs+0s) by IO::Compress::RawDeflate::BEGIN@7 at line 7 of IO/Compress/RawDeflate.pm # once (1µs+0s) by Compress::Raw::Zlib::BEGIN@10 at line 10 of Compress/Raw/Zlib.pm # once (1µs+0s) by IO::Compress::Gzip::Constants::BEGIN@5 at line 5 of IO/Compress/Gzip/Constants.pm # once (0s+0s) by IO::Compress::Base::Common::BEGIN@5 at line 5 of IO/Compress/Base/Common.pm
sub import {
111692µ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
3313µs1;
34__END__