← Index
NYTProf Performance Profile   « line view »
For ./view
  Run on Fri Jul 31 19:05:14 2015
Reported on Fri Jul 31 19:08:09 2015

Filename/usr/share/perl5/bytes.pm
StatementsExecuted 13 statements in 83µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
77729µs29µsbytes::::importbytes::import
33310µs10µ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
31400nsour $VERSION = '1.04';
4
51300ns$bytes::hint_bits = 0x00000008;
6
7
# spent 29µs within bytes::import which was called 7 times, avg 4µs/call: # once (6µs+0s) by Foswiki::Plugins::WysiwygPlugin::Handlers::BEGIN@693 at line 693 of /var/www/foswiki11/lib/Foswiki/Plugins/WysiwygPlugin/Handlers.pm # once (6µs+0s) by Data::Dumper::BEGIN@721 at line 721 of Data/Dumper.pm # once (5µs+0s) by Foswiki::Render::BEGIN@1795 at line 1795 of /var/www/foswiki11/lib/Foswiki/Render.pm # once (4µs+0s) by Encode::utf8::BEGIN@325 at line 325 of Encode.pm # once (3µs+0s) by Foswiki::Prefs::Stack::BEGIN@28 at line 28 of /var/www/foswiki11/lib/Foswiki/Prefs/Stack.pm # once (2µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@213 at line 213 of /var/www/foswiki11/lib/Foswiki/Users/TopicUserMapping.pm # once (2µs+0s) by Foswiki::Users::BEGIN@406 at line 406 of /var/www/foswiki11/lib/Foswiki/Users.pm
sub import {
8754µs $^H |= $bytes::hint_bits;
9}
10
11
# spent 10µs within bytes::unimport which was called 3 times, avg 3µs/call: # once (5µs+0s) by Foswiki::Render::BEGIN@1797 at line 1797 of /var/www/foswiki11/lib/Foswiki/Render.pm # once (2µs+0s) by Foswiki::Users::TopicUserMapping::BEGIN@218 at line 218 of /var/www/foswiki11/lib/Foswiki/Users/TopicUserMapping.pm # once (2µs+0s) by Foswiki::Users::BEGIN@408 at line 408 of /var/www/foswiki11/lib/Foswiki/Users.pm
sub unimport {
12320µ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
2918µs1;
30__END__