Filename | /Users/edenc/perl5/lib/perl5/darwin-multi-2level/Moose/Meta/Method/Accessor/Native/Hash.pm |
Statements | Executed 30 statements in 253µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
6 | 2 | 2 | 61µs | 804µs | _inline_check_var_is_valid_key | Moose::Meta::Method::Accessor::Native::Hash::
1 | 1 | 1 | 11µs | 11µs | BEGIN@2 | Moose::Meta::Method::Accessor::Native::Hash::
1 | 1 | 1 | 9µs | 12µs | BEGIN@9 | Moose::Meta::Method::Accessor::Native::Hash::
1 | 1 | 1 | 8µs | 112µs | BEGIN@28 | Moose::Meta::Method::Accessor::Native::Hash::
1 | 1 | 1 | 8µs | 2.50ms | BEGIN@12 | Moose::Meta::Method::Accessor::Native::Hash::
1 | 1 | 1 | 7µs | 13µs | BEGIN@10 | Moose::Meta::Method::Accessor::Native::Hash::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Hash; | ||||
2 | # spent 11µs within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@2 which was called:
# once (11µs+0s) by Module::Runtime::require_module at line 4 | ||||
3 | 1 | 5µs | $Moose::Meta::Method::Accessor::Native::Hash::AUTHORITY = 'cpan:STEVAN'; | ||
4 | 1 | 34µs | 1 | 11µs | } # spent 11µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@2 |
5 | { | ||||
6 | 2 | 900ns | $Moose::Meta::Method::Accessor::Native::Hash::VERSION = '2.0602'; | ||
7 | } | ||||
8 | |||||
9 | 2 | 23µs | 2 | 16µs | # spent 12µs (9+3) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@9 which was called:
# once (9µs+3µs) by Module::Runtime::require_module at line 9 # spent 12µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@9
# spent 3µs making 1 call to strict::import |
10 | 2 | 22µs | 2 | 19µs | # spent 13µs (7+6) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 which was called:
# once (7µs+6µs) by Module::Runtime::require_module at line 10 # spent 13µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10
# spent 6µs making 1 call to warnings::import |
11 | |||||
12 | 2 | 85µs | 2 | 5.00ms | # spent 2.50ms (8µs+2.50) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@12 which was called:
# once (8µs+2.50ms) by Module::Runtime::require_module at line 12 # spent 2.50ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@12
# spent 2.50ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:492] |
13 | |||||
14 | # spent 804µs (61+744) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 6 times, avg 134µs/call:
# 4 times (40µs+501µs) by Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments at line 32 of Moose/Meta/Method/Accessor/Native/Hash/get.pm, avg 135µs/call
# 2 times (21µs+243µs) by Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments at line 34 of Moose/Meta/Method/Accessor/Native/Hash/exists.pm, avg 132µs/call | ||||
15 | 6 | 2µs | my $self = shift; | ||
16 | 6 | 5µs | my ($var) = @_; | ||
17 | |||||
18 | return ( | ||||
19 | 6 | 41µs | 12 | 744µs | 'if (!defined(' . $var . ')) {', # spent 735µs making 6 calls to Moose::Meta::Method::_inline_throw_error, avg 123µs/call
# spent 8µs making 6 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 1µs/call |
20 | $self->_inline_throw_error( | ||||
21 | '"The key passed to ' . $self->delegate_to_method | ||||
22 | . ' must be a defined value"', | ||||
23 | ) . ';', | ||||
24 | '}', | ||||
25 | ); | ||||
26 | } | ||||
27 | |||||
28 | 2 | 31µs | 2 | 215µs | # spent 112µs (8+103) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@28 which was called:
# once (8µs+103µs) by Module::Runtime::require_module at line 28 # spent 112µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@28
# spent 103µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:678] |
29 | |||||
30 | 1 | 4µs | 1; |