Filename | /usr/lib/x86_64-linux-gnu/perl5/5.28/Unicode/UTF8.pm |
Statements | Executed 12 statements in 654µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
17 | 2 | 1 | 124µs | 124µs | encode_utf8 (xsub) | Unicode::UTF8::
1 | 1 | 1 | 104µs | 110µs | BEGIN@3 | Unicode::UTF8::
1 | 1 | 1 | 22µs | 472µs | BEGIN@6 | Unicode::UTF8::
1 | 1 | 1 | 19µs | 49µs | BEGIN@4 | Unicode::UTF8::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Unicode::UTF8; | ||||
2 | |||||
3 | 2 | 36µs | 2 | 116µs | # spent 110µs (104+6) within Unicode::UTF8::BEGIN@3 which was called:
# once (104µs+6µs) by Path::Tiny::_check_UU at line 3 # spent 110µs making 1 call to Unicode::UTF8::BEGIN@3
# spent 6µs making 1 call to strict::import |
4 | 2 | 121µs | 2 | 78µs | # spent 49µs (19+29) within Unicode::UTF8::BEGIN@4 which was called:
# once (19µs+29µs) by Path::Tiny::_check_UU at line 4 # spent 49µs making 1 call to Unicode::UTF8::BEGIN@4
# spent 29µs making 1 call to warnings::import |
5 | |||||
6 | # spent 472µs (22+450) within Unicode::UTF8::BEGIN@6 which was called:
# once (22µs+450µs) by Path::Tiny::_check_UU at line 18 | ||||
7 | 1 | 400ns | our $VERSION = '0.62'; | ||
8 | 1 | 1µs | our @EXPORT_OK = qw[ decode_utf8 encode_utf8 valid_utf8 ]; | ||
9 | 1 | 2µs | our %EXPORT_TAGS = ( | ||
10 | all => [ @EXPORT_OK ], | ||||
11 | ); | ||||
12 | |||||
13 | 1 | 700ns | require XSLoader; | ||
14 | 1 | 463µs | 1 | 450µs | XSLoader::load(__PACKAGE__, $VERSION); # spent 450µs making 1 call to XSLoader::load |
15 | |||||
16 | 1 | 1µs | require Exporter; | ||
17 | 1 | 5µs | *import = \&Exporter::import; | ||
18 | 1 | 23µs | 1 | 472µs | } # spent 472µs making 1 call to Unicode::UTF8::BEGIN@6 |
19 | |||||
20 | 1 | 2µs | 1; | ||
21 | |||||
# spent 124µs within Unicode::UTF8::encode_utf8 which was called 17 times, avg 7µs/call:
# 16 times (120µs+0s) by Path::Tiny::spew_utf8 at line 1880 of Path/Tiny.pm, avg 8µs/call
# once (3µs+0s) by Path::Tiny::append_utf8 at line 568 of Path/Tiny.pm |