← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/bytes.pm
StatementsExecuted 17 statements in 45µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
14141415µs15µ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
31300nsour $VERSION = '1.04';
4
51200ns$bytes::hint_bits = 0x00000008;
6
7
# spent 15µs within bytes::import which was called 14 times, avg 1µs/call: # once (2µs+0s) by HTTP::Tiny::BEGIN@853 at line 853 of HTTP/Tiny.pm # once (2µs+0s) by Data::Dumper::BEGIN@754 at line 754 of Data/Dumper.pm # once (2µs+0s) by Encode::utf8::BEGIN@349 at line 349 of Encode.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::Deflate::BEGIN@7 at line 7 of IO/Compress/Deflate.pm # once (800ns+0s) by IO::Uncompress::Gunzip::BEGIN@10 at line 10 of IO/Uncompress/Gunzip.pm # once (700ns+0s) by Compress::Raw::Zlib::BEGIN@10 at line 10 of Compress/Raw/Zlib.pm # once (700ns+0s) by IO::Uncompress::Inflate::BEGIN@6 at line 6 of IO/Uncompress/Inflate.pm # once (700ns+0s) by IO::Compress::Adapter::Deflate::BEGIN@5 at line 5 of IO/Compress/Adapter/Deflate.pm # once (700ns+0s) by IO::Compress::Zlib::Extra::BEGIN@7 at line 7 of IO/Compress/Zlib/Extra.pm # once (700ns+0s) by IO::Compress::Gzip::Constants::BEGIN@5 at line 5 of IO/Compress/Gzip/Constants.pm # once (700ns+0s) by IO::Compress::Zlib::Constants::BEGIN@6 at line 6 of IO/Compress/Zlib/Constants.pm # once (600ns+0s) by IO::Compress::Base::Common::BEGIN@5 at line 5 of IO/Compress/Base/Common.pm # once (400ns+0s) by IO::Compress::RawDeflate::BEGIN@7 at line 7 of IO/Compress/RawDeflate.pm
sub import {
81442µs $^H |= $bytes::hint_bits;
9}
10
11sub unimport {
12 $^H &= ~$bytes::hint_bits;
13}
14
15sub AUTOLOAD {
16 require "bytes_heavy.pl";
17 goto &$AUTOLOAD if defined &$AUTOLOAD;
18 require Carp;
19 Carp::croak("Undefined subroutine $AUTOLOAD called");
20}
21
22sub length (_);
23sub chr (_);
24sub ord (_);
25sub substr ($$;$$);
26sub index ($$;$);
27sub rindex ($$;$);
28
2912µs1;
30__END__