Filename | /home/micha/.plenv/versions/5.38.2/lib/perl5/5.38.2/JSON/PP/Boolean.pm |
Statements | Executed 10 statements in 112µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 8µs | 10µs | BEGIN@3 | JSON::PP::Boolean::
1 | 1 | 1 | 4µs | 19µs | BEGIN@4 | JSON::PP::Boolean::
1 | 1 | 1 | 2µs | 2µs | BEGIN@5 | JSON::PP::Boolean::
0 | 0 | 0 | 0s | 0s | __ANON__[:10] | JSON::PP::Boolean::
0 | 0 | 0 | 0s | 0s | __ANON__[:8] | JSON::PP::Boolean::
0 | 0 | 0 | 0s | 0s | __ANON__[:9] | JSON::PP::Boolean::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package JSON::PP::Boolean; | ||||
2 | |||||
3 | 2 | 16µs | 2 | 11µs | # spent 10µs (8+1) within JSON::PP::Boolean::BEGIN@3 which was called:
# once (8µs+1µs) by JSON::PP::BEGIN@12 at line 3 # spent 10µs making 1 call to JSON::PP::Boolean::BEGIN@3
# spent 1µs making 1 call to strict::import |
4 | 2 | 16µs | 2 | 35µs | # spent 19µs (4+16) within JSON::PP::Boolean::BEGIN@4 which was called:
# once (4µs+16µs) by JSON::PP::BEGIN@12 at line 4 # spent 19µs making 1 call to JSON::PP::Boolean::BEGIN@4
# spent 16µs making 1 call to warnings::import |
5 | 2 | 72µs | 1 | 2µs | # spent 2µs within JSON::PP::Boolean::BEGIN@5 which was called:
# once (2µs+0s) by JSON::PP::BEGIN@12 at line 5 # spent 2µs making 1 call to JSON::PP::Boolean::BEGIN@5 |
6 | 1 | 2µs | 1 | 12µs | overload::unimport('overload', qw(0+ ++ -- fallback)); # spent 12µs making 1 call to overload::unimport |
7 | overload::import('overload', | ||||
8 | "0+" => sub { ${$_[0]} }, | ||||
9 | "++" => sub { $_[0] = ${$_[0]} + 1 }, | ||||
10 | "--" => sub { $_[0] = ${$_[0]} - 1 }, | ||||
11 | 1 | 3µs | 1 | 19µs | fallback => 1, # spent 19µs making 1 call to overload::import |
12 | ); | ||||
13 | |||||
14 | 1 | 300ns | our $VERSION = '4.16'; | ||
15 | |||||
16 | 1 | 4µs | 1; | ||
17 | |||||
18 | __END__ |