← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/local/src/github.com/foswiki/core/bin/view
  Run on Sun Dec 4 17:17:59 2011
Reported on Sun Dec 4 17:26:42 2011

Filename/usr/share/perl/5.14/bytes.pm
StatementsExecuted 11 statements in 115µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
55539µs39µsbytes::::importbytes::import
33322µs22µsbytes::::unimportbytes::unimport
0000s0sbytes::::AUTOLOADbytes::AUTOLOAD
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
312µsour $VERSION = '1.04';
4
511µs$bytes::hint_bits = 0x00000008;
6
7
# spent 39µs within bytes::import which was called 5 times, avg 8µs/call: # once (10µs+0s) by Foswiki::Render::BEGIN@1772 at line 1772 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render.pm # once (8µs+0s) by Data::Dumper::BEGIN@683 at line 683 of Data/Dumper.pm # once (8µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@213 at line 213 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/TopicUserMapping.pm # once (6µs+0s) by Foswiki::Users::BEGIN@388 at line 388 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm # once (6µs+0s) by Foswiki::Prefs::Stack::BEGIN@28 at line 28 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Prefs/Stack.pm
sub import {
8574µs $^H |= $bytes::hint_bits;
9}
10
11
# spent 22µs within bytes::unimport which was called 3 times, avg 7µs/call: # once (9µs+0s) by Foswiki::Render::BEGIN@1774 at line 1774 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Render.pm # once (6µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@218 at line 218 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users/TopicUserMapping.pm # once (6µs+0s) by Foswiki::Users::BEGIN@390 at line 390 of /usr/local/src/github.com/foswiki/core/lib/Foswiki/Users.pm
sub unimport {
12332µs $^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
2915µs1;
30__END__