Profile of utf8.pm

← Index
NYTProf Performance Profile «line view»
For t/optimization.t
Run on Thu Jan 8 22:47:42 2015
Reported on Thu Jan 8 22:48:05 2015

Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/5.16.3/utf8.pm
Statements | Executed 5 statements in 76µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 2.93ms | 3.09ms | utf8::::AUTOLOADutf8::AUTOLOAD
0 | 0 | 0 | 0s | 0s | utf8::::importutf8::import
0 | 0 | 0 | 0s | 0s | utf8::::unimportutf8::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 utf8;
2 |  |  |  |  |
3 | 1 | 500ns |  |  | $utf8::hint_bits = 0x00800000;
4 |  |  |  |  |
5 | 1 | 400ns |  |  | our $VERSION = '1.09';
6 |  |  |  |  |
7 |  |  |  |  | sub import {
8 |  |  |  |  | $^H |= $utf8::hint_bits;
9 |  |  |  |  | $enc{caller()} = $_[1] if $_[1];
10 |  |  |  |  | }
11 |  |  |  |  |
12 |  |  |  |  | sub unimport {
13 |  |  |  |  | $^H &= ~$utf8::hint_bits;
14 |  |  |  |  | }
15 |  |  |  |  |
16 |  |  |  |  | # spent 3.09ms (2.93+159µs) within utf8::AUTOLOAD which was called: # once (2.93ms+159µs) by constant::BEGIN@25 at line 36 of constant.pm sub AUTOLOAD {
17 | 1 | 60µs |  |  | require "utf8_heavy.pl";
18 | 1 | 12µs | 1 | 9.63ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 9.63ms making 1 call to utf8::SWASHNEW
19 |  |  |  |  | require Carp;
20 |  |  |  |  | Carp::croak("Undefined subroutine $AUTOLOAD called");
21 |  |  |  |  | }
22 |  |  |  |  |
23 | 1 | 3µs |  |  | 1;
24 |  |  |  |  | __END__