Profile of bytes.pm

← Index
NYTProf Performance Profile «line view»
For script/ponapi
Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:09 2016

Filename | /usr/share/perl/5.18/bytes.pm
Statements | Executed 9 statements in 27µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
6 | 6 | 6 | 9µs | 9µs | bytes::::importbytes::import
0 | 0 | 0 | 0s | 0s | bytes::::AUTOLOADbytes::AUTOLOAD
0 | 0 | 0 | 0s | 0s | bytes::::unimportbytes::unimport

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package bytes;
2 |  |  |  |  |
3 | 1 | 400ns |  |  | our $VERSION = '1.04';
4 |  |  |  |  |
5 | 1 | 100ns |  |  | $bytes::hint_bits = 0x00000008;
6 |  |  |  |  |
7 |  |  |  |  | # spent 9µs within bytes::import which was called 6 times, avg 2µs/call: # once (3µs+0s) by Data::Dumper::BEGIN@721 at line 721 of Data/Dumper.pm # once (2µs+0s) by HTTP::Body::OctetStream::BEGIN@8 at line 8 of HTTP/Body/OctetStream.pm # once (1µs+0s) by HTTP::Body::XFormsMultipart::BEGIN@8 at line 8 of HTTP/Body/XFormsMultipart.pm # once (1µs+0s) by HTTP::Body::UrlEncoded::BEGIN@8 at line 8 of HTTP/Body/UrlEncoded.pm # once (1µs+0s) by HTTP::Body::MultiPart::BEGIN@8 at line 8 of HTTP/Body/MultiPart.pm # once (1µs+0s) by HTTP::Body::XForms::BEGIN@8 at line 8 of HTTP/Body/XForms.pm sub import {
8 | 6 | 24µ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__