Filename | /usr/lib/x86_64-linux-gnu/perl5/5.28/Unicode/UTF8.pm |
Statements | Executed 12 statements in 457µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
17 | 2 | 1 | 115µs | 115µs | encode_utf8 (xsub) | Unicode::UTF8::
1 | 1 | 1 | 60µs | 68µs | BEGIN@3 | Unicode::UTF8::
1 | 1 | 1 | 26µs | 264µs | BEGIN@6 | Unicode::UTF8::
1 | 1 | 1 | 12µs | 56µs | BEGIN@4 | Unicode::UTF8::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Unicode::UTF8; | ||||
2 | |||||
3 | 2 | 37µs | 2 | 75µs | # spent 68µs (60+7) within Unicode::UTF8::BEGIN@3 which was called:
# once (60µs+7µs) by Path::Tiny::_check_UU at line 3 # spent 68µs making 1 call to Unicode::UTF8::BEGIN@3
# spent 7µs making 1 call to strict::import |
4 | 2 | 130µs | 2 | 100µs | # spent 56µs (12+44) within Unicode::UTF8::BEGIN@4 which was called:
# once (12µs+44µs) by Path::Tiny::_check_UU at line 4 # spent 56µs making 1 call to Unicode::UTF8::BEGIN@4
# spent 44µs making 1 call to warnings::import |
5 | |||||
6 | # spent 264µs (26+238) within Unicode::UTF8::BEGIN@6 which was called:
# once (26µs+238µ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 | 500ns | require XSLoader; | ||
14 | 1 | 252µs | 1 | 238µs | XSLoader::load(__PACKAGE__, $VERSION); # spent 238µs making 1 call to XSLoader::load |
15 | |||||
16 | 1 | 800ns | require Exporter; | ||
17 | 1 | 7µs | *import = \&Exporter::import; | ||
18 | 1 | 22µs | 1 | 264µs | } # spent 264µs making 1 call to Unicode::UTF8::BEGIN@6 |
19 | |||||
20 | 1 | 3µs | 1; | ||
21 | |||||
# spent 115µs within Unicode::UTF8::encode_utf8 which was called 17 times, avg 7µs/call:
# 16 times (111µs+0s) by Path::Tiny::spew_utf8 at line 1880 of Path/Tiny.pm, avg 7µs/call
# once (4µs+0s) by Path::Tiny::append_utf8 at line 568 of Path/Tiny.pm |