Profile of utf8.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For xt/tapper-mcp-scheduler-with-db-longrun.t
Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:22:45 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/5.12.3/utf8.pm
Statements | Executed 15 statements in 82µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
12226 | 10 | 1 | 7.73ms | 7.73ms | utf8::::CORE:matchutf8::CORE:match (opcode)
1 | 1 | 1 | 1.77ms | 1.88ms | utf8::::AUTOLOADutf8::AUTOLOAD
5 | 1 | 1 | 551µs | 551µs | utf8::::CORE:sortutf8::CORE:sort (opcode)
92 | 1 | 1 | 67µs | 67µs | utf8::::is_utf8utf8::is_utf8 (xsub)
12 | 4 | 1 | 20µs | 20µs | utf8::::CORE:substutf8::CORE:subst (opcode)
5 | 5 | 5 | 12µs | 12µs | utf8::::importutf8::import
1 | 1 | 1 | 2µs | 2µs | utf8::::upgradeutf8::upgrade (xsub)
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 | 400ns |  |  | $utf8::hint_bits = 0x00800000;
4 |  |  |  |  |
5 | 1 | 300ns |  |  | our $VERSION = '1.08';
6 |  |  |  |  |
7 |  |  |  |  | # spent 12µs within utf8::import which was called 5 times, avg 2µs/call: # once (3µs+0s) by Class::Inspector::BEGIN@51 at line 1 of (eval 255)[Class/Inspector.pm:59] # once (3µs+0s) by DateTime::Locale::en_US::BEGIN@23 at line 23 of DateTime/Locale/en_US.pm # once (3µs+0s) by DateTime::Locale::Catalog::BEGIN@19 at line 19 of DateTime/Locale/Catalog.pm # once (2µs+0s) by DateTime::Locale::en::BEGIN@23 at line 23 of DateTime/Locale/en.pm # once (1µs+0s) by DateTime::Locale::root::BEGIN@23 at line 23 of DateTime/Locale/root.pm sub import {
8 | 10 | 24µs |  |  | $^H |= $utf8::hint_bits;
9 |  |  |  |  | $enc{caller()} = $_[1] if $_[1];
10 |  |  |  |  | }
11 |  |  |  |  |
12 |  |  |  |  | sub unimport {
13 |  |  |  |  | $^H &= ~$utf8::hint_bits;
14 |  |  |  |  | }
15 |  |  |  |  |
16 |  |  |  |  | # spent 1.88ms (1.77+101µs) within utf8::AUTOLOAD which was called: # once (1.77ms+101µs) by Package::Stash::XS::new at line 40 of Package/Stash.pm sub AUTOLOAD {
17 | 2 | 56µs |  |  | require "utf8_heavy.pl";
18 |  |  | 1 | 61µs | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 61µs making 1 call to utf8::SWASHNEW
19 |  |  |  |  | require Carp;
20 |  |  |  |  | Carp::croak("Undefined subroutine $AUTOLOAD called");
21 |  |  |  |  | }
22 |  |  |  |  |
23 | 1 | 2µs |  |  | 1;
24 |  |  |  |  | __END__
|  |  |  |  | # spent 7.73ms within utf8::CORE:match which was called 12226 times, avg 632ns/call: # 3053 times (1.68ms+0s) by utf8::SWASHNEW at line 388 of utf8_heavy.pl, avg 550ns/call # 3053 times (935µs+0s) by utf8::SWASHNEW at line 384 of utf8_heavy.pl, avg 306ns/call # 3051 times (3.35ms+0s) by utf8::SWASHNEW at line 404 of utf8_heavy.pl, avg 1µs/call # 3051 times (1.70ms+0s) by utf8::SWASHNEW at line 387 of utf8_heavy.pl, avg 556ns/call # 4 times (3µs+0s) by utf8::SWASHNEW at line 420 of utf8_heavy.pl, avg 650ns/call # 3 times (35µs+0s) by utf8::SWASHNEW at line 399 of utf8_heavy.pl, avg 12µs/call # 3 times (11µs+0s) by utf8::SWASHNEW at line 338 of utf8_heavy.pl, avg 4µs/call # 3 times (11µs+0s) by utf8::SWASHNEW at line 321 of utf8_heavy.pl, avg 4µs/call # 3 times (3µs+0s) by utf8::SWASHNEW at line 86 of utf8_heavy.pl, avg 900ns/call # 2 times (3µs+0s) by utf8::SWASHNEW at line 416 of utf8_heavy.pl, avg 1µs/call sub utf8::CORE:match; # opcode
|  |  |  |  | # spent 551µs within utf8::CORE:sort which was called 5 times, avg 110µs/call: # 5 times (551µs+0s) by utf8::SWASHNEW at line 389 of utf8_heavy.pl, avg 110µs/call sub utf8::CORE:sort; # opcode
|  |  |  |  | # spent 20µs within utf8::CORE:subst which was called 12 times, avg 2µs/call: # 3 times (8µs+0s) by utf8::SWASHNEW at line 73 of utf8_heavy.pl, avg 3µs/call # 3 times (5µs+0s) by utf8::SWASHNEW at line 299 of utf8_heavy.pl, avg 2µs/call # 3 times (4µs+0s) by utf8::SWASHNEW at line 74 of utf8_heavy.pl, avg 1µs/call # 3 times (2µs+0s) by utf8::SWASHNEW at line 78 of utf8_heavy.pl, avg 767ns/call sub utf8::CORE:subst; # opcode
|  |  |  |  | # spent 67µs within utf8::is_utf8 which was called 92 times, avg 726ns/call: # 92 times (67µs+0s) by constant::import at line 123 of constant.pm, avg 726ns/call sub utf8::is_utf8; # xsub
|  |  |  |  | # spent 2µs within utf8::upgrade which was called: # once (2µs+0s) by Tapper::Schema::TestrunDB::Result::TestrunScheduling::BEGIN@12 at line 70 of Safe.pm sub utf8::upgrade; # xsub