Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/keys.pm |
Statements | Executed 23 statements in 209µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 22µs | 39µs | BEGIN@4 | Moose::Meta::Method::Accessor::Native::Hash::keys::
3 | 1 | 1 | 12µs | 12µs | _return_value | Moose::Meta::Method::Accessor::Native::Hash::keys::
1 | 1 | 1 | 9µs | 2.28ms | BEGIN@7 | Moose::Meta::Method::Accessor::Native::Hash::keys::
1 | 1 | 1 | 8µs | 16µs | BEGIN@5 | Moose::Meta::Method::Accessor::Native::Hash::keys::
1 | 1 | 1 | 8µs | 91µs | BEGIN@20 | Moose::Meta::Method::Accessor::Native::Hash::keys::
3 | 1 | 1 | 6µs | 6µs | _maximum_arguments | Moose::Meta::Method::Accessor::Native::Hash::keys::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Hash::keys; | ||||
2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
3 | |||||
4 | 2 | 26µs | 2 | 56µs | # spent 39µs (22+17) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@4 which was called:
# once (22µs+17µs) by Module::Runtime::require_module at line 4 # spent 39µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@4
# spent 17µs making 1 call to strict::import |
5 | 2 | 23µs | 2 | 25µs | # spent 16µs (8+8) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@5 which was called:
# once (8µs+8µs) by Module::Runtime::require_module at line 5 # spent 16µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@5
# spent 8µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 98µs | 2 | 4.56ms | # spent 2.28ms (9µs+2.27) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@7 which was called:
# once (9µs+2.27ms) by Module::Runtime::require_module at line 7 # spent 2.28ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@7
# spent 2.27ms making 1 call to Moose::Role::import |
8 | |||||
9 | 1 | 2µs | 1 | 1.86ms | with 'Moose::Meta::Method::Accessor::Native::Reader'; # spent 1.86ms making 1 call to Moose::Role::with |
10 | |||||
11 | 3 | 9µs | # spent 6µs within Moose::Meta::Method::Accessor::Native::Hash::keys::_maximum_arguments which was called 3 times, avg 2µs/call:
# 3 times (6µ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 | ||
12 | |||||
13 | # spent 12µs within Moose::Meta::Method::Accessor::Native::Hash::keys::_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 | ||||
14 | 3 | 2µs | my $self = shift; | ||
15 | 3 | 2µs | my ($slot_access) = @_; | ||
16 | |||||
17 | 3 | 11µs | return 'keys %{ (' . $slot_access . ') }'; | ||
18 | } | ||||
19 | |||||
20 | 2 | 30µs | 2 | 174µs | # spent 91µs (8+83) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@20 which was called:
# once (8µs+83µs) by Module::Runtime::require_module at line 20 # spent 91µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@20
# spent 83µs making 1 call to Moose::Role::unimport |
21 | |||||
22 | 1 | 6µs | 1; |