← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 15:33:55 2022
Reported on Wed Dec 14 15:40:02 2022

Filename/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/bytes.pm
StatementsExecuted 23 statements in 349µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
16161539µs39µsbytes::::importbytes::import
11125µs28µsbytes::::BEGIN@3bytes::BEGIN@3
1115µs44µ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
3228µs231µs
# spent 28µs (25+3) within bytes::BEGIN@3 which was called: # once (25µs+3µs) by Encode::utf8::BEGIN@229 at line 3
use strict;
# spent 28µs making 1 call to bytes::BEGIN@3 # spent 3µs making 1 call to strict::import
42222µs283µs
# spent 44µs (5+39) within bytes::BEGIN@4 which was called: # once (5µs+39µs) by Encode::utf8::BEGIN@229 at line 4
use warnings;
# spent 44µs making 1 call to bytes::BEGIN@4 # spent 39µs making 1 call to warnings::import
5
611µsour $VERSION = '1.08';
7
811µs$bytes::hint_bits = 0x00000008;
9
10
# spent 39µs within bytes::import which was called 16 times, avg 2µs/call: # once (5µs+0s) by JSON::PP::BEGIN@749 at line 749 of JSON/PP.pm # once (4µs+0s) by Data::Dumper::BEGIN@762 at line 762 of Data/Dumper.pm # once (3µs+0s) by Encode::utf8::BEGIN@229 at line 229 of Encode.pm # once (3µs+0s) by IO::Uncompress::Adapter::Inflate::BEGIN@5 at line 5 of IO/Uncompress/Adapter/Inflate.pm # once (2µs+0s) by IO::Uncompress::Gunzip::BEGIN@10 at line 10 of IO/Uncompress/Gunzip.pm # once (2µs+0s) by IO::Uncompress::RawInflate::BEGIN@6 at line 6 of IO/Uncompress/RawInflate.pm # once (2µs+0s) by IO::Compress::Adapter::Deflate::BEGIN@5 at line 5 of IO/Compress/Adapter/Deflate.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::Compress::RawDeflate::BEGIN@7 at line 7 of IO/Compress/RawDeflate.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 Compress::Raw::Zlib::BEGIN@10 at line 10 of Compress/Raw/Zlib.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::Compress::Base::Common::BEGIN@5 at line 5 of IO/Compress/Base/Common.pm # once (2µs+0s) by IO::Compress::Gzip::Constants::BEGIN@5 at line 5 of IO/Compress/Gzip/Constants.pm # once (2µs+0s) by Unicode::Normalize::BEGIN@57 at line 57 of Unicode/Normalize.pm # once (2µs+0s) by JSON::PP::IncrParser::BEGIN@1573 at line 1573 of JSON/PP.pm
sub import {
111693µ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
3314µs1;
34__END__