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

Filename/usr/share/perl5/utf8.pm
StatementsExecuted 7 statements in 26µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1083362µs62µsutf8::::is_utf8utf8::is_utf8 (xsub)
991156µs56µsutf8::::downgradeutf8::downgrade (xsub)
22216µs16µsutf8::::importutf8::import
0000s0sutf8::::AUTOLOADutf8::AUTOLOAD
0000s0sutf8::::unimportutf8::unimport
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package utf8;
2
31400ns$utf8::hint_bits = 0x00800000;
4
51300nsour $VERSION = '1.09';
6
7
# spent 16µs within utf8::import which was called 2 times, avg 8µs/call: # once (13µs+0s) by Locale::Maketext::BEGIN@17 at line 21 of Locale/Maketext.pm # once (3µs+0s) by Foswiki::Logger::PlainFile::BEGIN@6 at line 6 of /var/www/foswiki11/lib/Foswiki/Logger/PlainFile.pm
sub import {
824µs $^H |= $utf8::hint_bits;
9218µs $enc{caller()} = $_[1] if $_[1];
10}
11
12sub unimport {
13 $^H &= ~$utf8::hint_bits;
14}
15
16sub AUTOLOAD {
17 require "utf8_heavy.pl";
18 goto &$AUTOLOAD if defined &$AUTOLOAD;
19 require Carp;
20 Carp::croak("Undefined subroutine $AUTOLOAD called");
21}
22
2313µs1;
24__END__
 
# spent 56µs within utf8::downgrade which was called 99 times, avg 569ns/call: # 99 times (56µs+0s) by Carp::format_arg at line 194 of Carp.pm, avg 569ns/call
sub utf8::downgrade; # xsub
# spent 62µs within utf8::is_utf8 which was called 108 times, avg 575ns/call: # 104 times (55µs+0s) by Carp::format_arg at line 205 of Carp.pm, avg 529ns/call # 3 times (5µs+0s) by Foswiki::Logger::PlainFile::log at line 94 of /var/www/foswiki11/lib/Foswiki/Logger/PlainFile.pm, avg 2µs/call # once (2µs+0s) by Foswiki::Response::body at line 367 of /var/www/foswiki11/lib/Foswiki/Response.pm
sub utf8::is_utf8; # xsub