| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/PerlIO/encoding.pm |
| Statements | Executed 9 statements in 421µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 14µs | 31µs | PerlIO::encoding::BEGIN@3 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package PerlIO::encoding; | ||||
| 2 | |||||
| 3 | 2 | 86µs | 2 | 48µs | # spent 31µs (14+17) within PerlIO::encoding::BEGIN@3 which was called:
# once (14µs+17µs) by PerlIO::import at line 3 # spent 31µs making 1 call to PerlIO::encoding::BEGIN@3
# spent 17µs making 1 call to strict::import |
| 4 | 1 | 600ns | our $VERSION = '0.16'; | ||
| 5 | 1 | 100ns | 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 | 900ns | require XSLoader; | ||
| 14 | 1 | 315µs | 1 | 308µs | XSLoader::load(); # spent 308µs making 1 call to XSLoader::load |
| 15 | |||||
| 16 | 1 | 13µs | 3 | 2µs | our $fallback = # spent 800ns making 1 call to Encode::PERLQQ
# spent 700ns making 1 call to Encode::STOP_AT_PARTIAL
# spent 700ns making 1 call to Encode::WARN_ON_ERR |
| 17 | Encode::PERLQQ()|Encode::WARN_ON_ERR()|Encode::STOP_AT_PARTIAL(); | ||||
| 18 | |||||
| 19 | 1 | 5µs | 1; | ||
| 20 | __END__ |