Filename | /home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/bytes.pm |
Statements | Executed 17 statements in 45µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
14 | 14 | 14 | 15µs | 15µs | import | bytes::
0 | 0 | 0 | 0s | 0s | AUTOLOAD | bytes::
0 | 0 | 0 | 0s | 0s | unimport | bytes::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package bytes; | ||||
2 | |||||
3 | 1 | 300ns | our $VERSION = '1.04'; | ||
4 | |||||
5 | 1 | 200ns | $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 | ||||
8 | 14 | 42µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | sub unimport { | ||||
12 | $^H &= ~$bytes::hint_bits; | ||||
13 | } | ||||
14 | |||||
15 | sub AUTOLOAD { | ||||
16 | require "bytes_heavy.pl"; | ||||
17 | goto &$AUTOLOAD if defined &$AUTOLOAD; | ||||
18 | require Carp; | ||||
19 | Carp::croak("Undefined subroutine $AUTOLOAD called"); | ||||
20 | } | ||||
21 | |||||
22 | sub length (_); | ||||
23 | sub chr (_); | ||||
24 | sub ord (_); | ||||
25 | sub substr ($$;$$); | ||||
26 | sub index ($$;$); | ||||
27 | sub rindex ($$;$); | ||||
28 | |||||
29 | 1 | 2µs | 1; | ||
30 | __END__ |