| Filename | /home/lbr/.plenv/versions/5.20.2/lib/perl5/5.20.2/x86_64-linux/PerlIO/encoding.pm |
| Statements | Executed 9 statements in 272µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 1.86ms | 6.26ms | DynaLoader::BEGIN@92 |
| 1 | 1 | 1 | 10µs | 25µs | PerlIO::encoding::BEGIN@3 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 0 | 1 | 6.26ms | Profile data that couldn't be associated with a specific line: # spent 6.26ms making 1 call to DynaLoader::BEGIN@92 | ||
| 1 | 1 | 19µs | package PerlIO::encoding; | ||
| 2 | |||||
| 3 | 2 | 77µs | 2 | 40µs | # spent 25µs (10+15) within PerlIO::encoding::BEGIN@3 which was called:
# once (10µs+15µs) by PerlIO::import at line 3 # spent 25µs making 1 call to PerlIO::encoding::BEGIN@3
# spent 15µs making 1 call to strict::import |
| 4 | 1 | 300ns | our $VERSION = '0.18'; | ||
| 5 | 1 | 200ns | our $DEBUG = 0; | ||
| 6 | 1 | 100ns | $DEBUG and warn __PACKAGE__, " called by ", join(", ", caller), "\n"; | ||
| 7 | |||||
| 8 | # | ||||
| 9 | # Equivalent of this is done in encoding.xs - do not uncomment. | ||||
| 10 | # | ||||
| 11 | # use Encode (); | ||||
| 12 | |||||
| 13 | 1 | 400ns | require XSLoader; | ||
| 14 | 1 | 162µs | 1 | 6.43ms | XSLoader::load(); # spent 6.43ms making 1 call to XSLoader::load |
| 15 | |||||
| 16 | 1 | 9µs | 3 | 2µs | our $fallback = # spent 600ns making 1 call to Encode::PERLQQ
# spent 500ns making 1 call to Encode::STOP_AT_PARTIAL
# spent 500ns making 1 call to Encode::WARN_ON_ERR |
| 17 | Encode::PERLQQ()|Encode::WARN_ON_ERR()|Encode::STOP_AT_PARTIAL(); | ||||
| 18 | |||||
| 19 | 1 | 4µs | 1; | ||
| 20 | __END__ | ||||
| 21 | |||||
| - - |