| Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/count.pm |
| Statements | Executed 95 statements in 299µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 21 | 1 | 1 | 55µs | 55µs | Moose::Meta::Method::Accessor::Native::Hash::count::_return_value |
| 21 | 1 | 1 | 26µs | 26µs | Moose::Meta::Method::Accessor::Native::Hash::count::_maximum_arguments |
| 1 | 1 | 1 | 12µs | 28µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 |
| 1 | 1 | 1 | 8µs | 15µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@5 |
| 1 | 1 | 1 | 7µs | 2.24ms | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@7 |
| 1 | 1 | 1 | 7µs | 91µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@20 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::count; | ||||
| 2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
| 3 | |||||
| 4 | 2 | 24µs | 2 | 44µs | # spent 28µs (12+16) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 which was called:
# once (12µs+16µs) by Module::Runtime::require_module at line 4 # spent 28µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4
# spent 16µs making 1 call to strict::import |
| 5 | 2 | 21µs | 2 | 22µs | # spent 15µs (8+7) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@5 which was called:
# once (8µs+7µs) by Module::Runtime::require_module at line 5 # spent 15µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@5
# spent 7µs making 1 call to warnings::import |
| 6 | |||||
| 7 | 2 | 93µs | 2 | 4.48ms | # spent 2.24ms (7µs+2.24) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@7 which was called:
# once (7µs+2.24ms) by Module::Runtime::require_module at line 7 # spent 2.24ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@7
# spent 2.24ms making 1 call to Moose::Role::import |
| 8 | |||||
| 9 | 1 | 4µs | 1 | 14.5ms | with 'Moose::Meta::Method::Accessor::Native::Reader'; # spent 14.5ms making 1 call to Moose::Role::with |
| 10 | |||||
| 11 | 21 | 44µs | # spent 26µs within Moose::Meta::Method::Accessor::Native::Hash::count::_maximum_arguments which was called 21 times, avg 1µs/call:
# 21 times (26µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 85 of Moose/Meta/Method/Accessor/Native.pm, avg 1µs/call | ||
| 12 | |||||
| 13 | # spent 55µs within Moose::Meta::Method::Accessor::Native::Hash::count::_return_value which was called 21 times, avg 3µs/call:
# 21 times (55µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 3µs/call | ||||
| 14 | 21 | 6µs | my $self = shift; | ||
| 15 | 21 | 9µs | my ($slot_access) = @_; | ||
| 16 | |||||
| 17 | 21 | 59µs | return 'scalar keys %{ (' . $slot_access . ') }'; | ||
| 18 | } | ||||
| 19 | |||||
| 20 | 2 | 27µs | 2 | 174µs | # spent 91µs (7+84) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@20 which was called:
# once (7µs+84µs) by Module::Runtime::require_module at line 20 # spent 91µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@20
# spent 84µs making 1 call to Moose::Role::unimport |
| 21 | |||||
| 22 | 1 | 11µs | 1; |