Profile of utf8.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For bin/dpath
Run on Tue Jun 5 15:31:33 2012
Reported on Tue Jun 5 15:31:44 2012

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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 11.5ms | 12.0ms | 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 | 2µs |  |  | $utf8::hint_bits = 0x00800000;
4 |  |  |  |  |
5 | 1 | 2µs |  |  | 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 12.0ms (11.5+542µs) within utf8::AUTOLOAD which was called: # once (11.5ms+542µs) by Safe::CORE:regcomp at line 70 of Safe.pm sub AUTOLOAD {
17 | 2 | 308µs |  |  | require "utf8_heavy.pl";
18 |  |  | 1 | 124ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 124ms making 1 call to utf8::SWASHNEW
19 |  |  |  |  | require Carp;
20 |  |  |  |  | Carp::croak("Undefined subroutine $AUTOLOAD called");
21 |  |  |  |  | }
22 |  |  |  |  |
23 | 1 | 14µs |  |  | 1;
24 |  |  |  |  | __END__