Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/exists.pm |
Statements | Executed 32 statements in 262µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
3 | 1 | 1 | 14µs | 44µs | _inline_check_arguments | Moose::Meta::Method::Accessor::Native::Hash::exists::
1 | 1 | 1 | 13µs | 28µs | BEGIN@4 | Moose::Meta::Method::Accessor::Native::Hash::exists::
3 | 1 | 1 | 12µs | 12µs | _return_value | Moose::Meta::Method::Accessor::Native::Hash::exists::
1 | 1 | 1 | 8µs | 90µs | BEGIN@29 | Moose::Meta::Method::Accessor::Native::Hash::exists::
1 | 1 | 1 | 8µs | 14µs | BEGIN@5 | Moose::Meta::Method::Accessor::Native::Hash::exists::
1 | 1 | 1 | 7µs | 2.22ms | BEGIN@7 | Moose::Meta::Method::Accessor::Native::Hash::exists::
3 | 1 | 1 | 5µs | 5µs | _maximum_arguments | Moose::Meta::Method::Accessor::Native::Hash::exists::
3 | 1 | 1 | 4µs | 4µs | _minimum_arguments | Moose::Meta::Method::Accessor::Native::Hash::exists::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Hash::exists; | ||||
2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
3 | |||||
4 | 2 | 24µs | 2 | 42µs | # spent 28µs (13+15) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 which was called:
# once (13µs+15µs) by Module::Runtime::require_module at line 4 # spent 28µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4
# spent 15µs making 1 call to strict::import |
5 | 2 | 21µs | 2 | 21µs | # spent 14µs (8+7) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5 which was called:
# once (8µs+7µs) by Module::Runtime::require_module at line 5 # spent 14µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5
# spent 6µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 130µs | 2 | 4.43ms | # spent 2.22ms (7µs+2.21) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7 which was called:
# once (7µs+2.21ms) by Module::Runtime::require_module at line 7 # spent 2.22ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7
# spent 2.21ms making 1 call to Moose::Role::import |
8 | |||||
9 | 1 | 3µs | 1 | 7.89ms | with 'Moose::Meta::Method::Accessor::Native::Reader', # spent 7.89ms making 1 call to Moose::Role::with |
10 | 'Moose::Meta::Method::Accessor::Native::Hash'; | ||||
11 | |||||
12 | 3 | 8µs | # spent 4µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_minimum_arguments which was called 3 times, avg 1µs/call:
# 3 times (4µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 74 of Moose/Meta/Method/Accessor/Native.pm, avg 1µs/call | ||
13 | |||||
14 | 3 | 10µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments which was called 3 times, avg 2µs/call:
# 3 times (5µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 85 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call | ||
15 | |||||
16 | # spent 44µs (14+30) within Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments which was called 3 times, avg 15µs/call:
# 3 times (14µs+30µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 33 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 15µs/call | ||||
17 | 3 | 2µs | my $self = shift; | ||
18 | |||||
19 | 3 | 13µs | 3 | 30µs | return $self->_inline_check_var_is_valid_key('$_[0]'); # spent 30µs making 3 calls to Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key, avg 10µs/call |
20 | } | ||||
21 | |||||
22 | # spent 12µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_return_value which was called 3 times, avg 4µs/call:
# 3 times (12µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 4µs/call | ||||
23 | 3 | 700ns | my $self = shift; | ||
24 | 3 | 2µs | my ($slot_access) = shift; | ||
25 | |||||
26 | 3 | 10µs | return 'exists ' . $slot_access . '->{ $_[0] }'; | ||
27 | } | ||||
28 | |||||
29 | 2 | 27µs | 2 | 173µs | # spent 90µs (8+83) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29 which was called:
# once (8µs+83µs) by Module::Runtime::require_module at line 29 # spent 90µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29
# spent 83µs making 1 call to Moose::Role::unimport |
30 | |||||
31 | 1 | 11µs | 1; |