Filename | /home/hejohns/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/common/sense.pm |
Statements | Executed 10 statements in 27µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
2 | 2 | 2 | 21µs | 21µs | import | common::sense::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package common::sense; | ||||
2 | |||||
3 | 1 | 300ns | our $VERSION = 3.75; | ||
4 | |||||
5 | # overload should be included | ||||
6 | |||||
7 | # spent 21µs within common::sense::import which was called 2 times, avg 10µs/call:
# once (11µs+0s) by JSON::XS::BEGIN@90 at line 90 of JSON/XS.pm
# once (10µs+0s) by Types::Serialiser::BEGIN@20 at line 20 of Types/Serialiser.pm | ||||
8 | 2 | 2µs | local $^W; # work around perl 5.16 spewing out warnings for next statement | ||
9 | # use warnings | ||||
10 | 2 | 2µs | ${^WARNING_BITS} ^= ${^WARNING_BITS} ^ "\x0c\x3f\x33\x00\x03\xf0\x0f\xc0\xf0\xfc\x33\x00\x00\x00\x0c\x00\x00\x00\x00"; | ||
11 | # use strict, use utf8; use feature; | ||||
12 | 2 | 900ns | $^H |= 0x3c820fc0; | ||
13 | 2 | 19µs | @^H{qw(feature___SUB__ feature_bareword_filehandles feature_evalbytes feature_fc feature_indirect feature_multidimensional feature_say feature_state feature_switch feature_unicode)} = (1) x 10; | ||
14 | } | ||||
15 | |||||
16 | 1 | 2µs | 1 |