Filename | /usr/share/perl/5.10/bytes.pm |
Statements | Executed 19 statements in 402µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 567µs | 658µs | AUTOLOAD | bytes::
14 | 14 | 9 | 61µs | 61µs | import | 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 | 900ns | our $VERSION = '1.03'; | ||
4 | |||||
5 | 1 | 300ns | $bytes::hint_bits = 0x00000008; | ||
6 | |||||
7 | # spent 61µs within bytes::import which was called 14 times, avg 4µs/call:
# once (9µs+0s) by bytes::BEGIN@4 at line 4 of bytes_heavy.pl
# once (7µs+0s) by Data::Dumper::BEGIN@683 at line 683 of Data/Dumper.pm
# once (6µs+0s) by JSON::PP::BEGIN@696 at line 696 of JSON/PP.pm
# once (6µs+0s) by Template::Provider::BEGIN@1089 at line 1089 of Template/Provider.pm
# once (6µs+0s) by Encode::utf8::BEGIN@309 at line 309 of Encode.pm
# once (4µs+0s) by charnames::BEGIN@174 at line 174 of charnames.pm
# once (4µs+0s) by Convert::ASN1::BEGIN@16 at line 18 of Convert/ASN1.pm
# once (4µs+0s) by Convert::ASN1::BEGIN@10.11 at line 12 of Convert/ASN1/IO.pm
# once (3µs+0s) by Convert::ASN1::BEGIN@7 at line 9 of Convert/ASN1/_decode.pm
# once (3µs+0s) by bytes::BEGIN@9 at line 9 of bytes_heavy.pl
# once (2µs+0s) by bytes::BEGIN@17 at line 17 of bytes_heavy.pl
# once (2µs+0s) by bytes::BEGIN@34 at line 34 of bytes_heavy.pl
# once (2µs+0s) by bytes::BEGIN@27 at line 27 of bytes_heavy.pl
# once (2µs+0s) by bytes::BEGIN@22 at line 22 of bytes_heavy.pl | ||||
8 | 14 | 153µs | $^H |= $bytes::hint_bits; | ||
9 | } | ||||
10 | |||||
11 | sub unimport { | ||||
12 | $^H &= ~$bytes::hint_bits; | ||||
13 | } | ||||
14 | |||||
15 | # spent 658µs (567+91) within bytes::AUTOLOAD which was called:
# once (567µs+91µs) by MARC::File::USMARC::decode at line 126 of MARC/File/USMARC.pm | ||||
16 | 1 | 227µs | require "bytes_heavy.pl"; | ||
17 | 1 | 16µs | 1 | 3µs | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 3µs making 1 call to bytes::length |
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 | 4µs | 1; | ||
30 | __END__ |