Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/utf8.pm |
Statements | Executed 67 statements in 4.79ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 2.90ms | 4.38ms | AUTOLOAD | utf8::
31 | 31 | 31 | 52µs | 52µs | import | utf8::
0 | 0 | 0 | 0s | 0s | unimport | utf8::
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.10'; | ||
6 | |||||
7 | # spent 52µs within utf8::import which was called 31 times, avg 2µs/call:
# once (3µs+0s) by Pod::Wordlist::BEGIN@4.5 at line 4 of File/ShareDir/ProjectDistDir.pm
# once (2µs+0s) by Role::Tiny::BEGIN@4.88 at line 4 of Path/IsDev/Role/Matcher/Child/Exists/Any/Dir.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.48 at line 4 of Path/IsDev/NegativeHeuristic/PerlINC.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.84 at line 4 of Path/IsDev/Heuristic/TestDir.pm
# once (2µs+0s) by Path::FindDev::BEGIN@4 at line 4 of Path/FindDev/Object.pm
# once (2µs+0s) by Class::Inspector::BEGIN@51 at line 1 of (eval 280)[Class/Inspector.pm:59]
# once (2µs+0s) by Module::Runtime::BEGIN@4.100 at line 4 of Path/IsDev/Heuristic/Makefile.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.104 at line 4 of Path/IsDev/Heuristic/VCS/Git.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.96 at line 4 of Path/IsDev/Heuristic/MYMETA.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.92 at line 4 of Path/IsDev/Heuristic/DevDirMarker.pm
# once (2µs+0s) by File::ShareDir::ProjectDistDir::BEGIN@4.9 at line 4 of Path/FindDev.pm
# once (2µs+0s) by Role::Tiny::BEGIN@4.32 at line 4 of Path/IsDev/Role/Matcher/Child/Exists/Any/File.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.52 at line 4 of Path/IsDev/Heuristic/Tool/Dzil.pm
# once (2µs+0s) by Module::Runtime::BEGIN@4.40 at line 4 of Path/IsDev/NegativeHeuristic/HomeDir.pm
# once (2µs+0s) by Role::Tiny::BEGIN@4.36 at line 4 of Path/IsDev/Role/Matcher/Child/Exists/Any.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4.64 at line 4 of Path/IsDev/Heuristic/Tool/ModuleBuild.pm
# once (1µs+0s) by Path::IsDev::Object::BEGIN@4 at line 4 of Path/IsDev/Result.pm
# once (1µs+0s) by Path::FindDev::Object::BEGIN@4 at line 4 of Path/IsDev/Object.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.76 at line 4 of Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp/File.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.44 at line 4 of Path/IsDev/Role/Matcher/FullPath/Is/Any.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4.60 at line 4 of Path/IsDev/Heuristic/Tool/MakeMaker.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.80 at line 4 of Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4.24 at line 4 of Path/IsDev/NegativeHeuristic/IsDev/IgnoreFile.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.28 at line 4 of Path/IsDev/Role/NegativeHeuristic.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4 at line 4 of Path/IsDev/HeuristicSet/Basic.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4.68 at line 4 of Path/IsDev/Heuristic/META.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.20 at line 4 of Path/IsDev/Role/HeuristicSet.pm
# once (1µs+0s) by Module::Runtime::BEGIN@4.72 at line 4 of Path/IsDev/Heuristic/Changelog.pm
# once (1µs+0s) by File::ShareDir::ProjectDistDir::BEGIN@4 at line 4 of Path/IsDev.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4 at line 4 of Path/IsDev/Role/HeuristicSet/Simple.pm
# once (1µs+0s) by Role::Tiny::BEGIN@4.56 at line 4 of Path/IsDev/Role/Heuristic.pm | ||||
8 | 31 | 16µs | $^H |= $utf8::hint_bits; | ||
9 | 31 | 4.71ms | $enc{caller()} = $_[1] if $_[1]; | ||
10 | } | ||||
11 | |||||
12 | sub unimport { | ||||
13 | $^H &= ~$utf8::hint_bits; | ||||
14 | } | ||||
15 | |||||
16 | # spent 4.38ms (2.90+1.49) within utf8::AUTOLOAD which was called:
# once (2.90ms+1.49ms) by Perl::Critic::Policy::ValuesAndExpressions::RequireInterpolationOfMetachars::BEGIN@16 at line 230 of Email/Address.pm | ||||
17 | 1 | 49µs | require "utf8_heavy.pl"; | ||
18 | 1 | 9µs | 1 | 9.34ms | goto &$AUTOLOAD if defined &$AUTOLOAD; # spent 9.34ms 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__ |