| Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/get.pm |
| Statements | Executed 29 statements in 316µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 3 | 1 | 1 | 21µs | 70µs | Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments |
| 1 | 1 | 1 | 16µs | 109µs | Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33 |
| 1 | 1 | 1 | 13µs | 28µs | Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@4 |
| 3 | 1 | 1 | 11µs | 11µs | Moose::Meta::Method::Accessor::Native::Hash::get::_return_value |
| 1 | 1 | 1 | 9µs | 2.79ms | Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7 |
| 1 | 1 | 1 | 8µs | 15µs | Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5 |
| 3 | 1 | 1 | 5µs | 5µs | Moose::Meta::Method::Accessor::Native::Hash::get::_minimum_arguments |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::get; | ||||
| 2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
| 3 | |||||
| 4 | 2 | 24µs | 2 | 44µs | # spent 28µs (13+15) within Moose::Meta::Method::Accessor::Native::Hash::get::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::get::BEGIN@4
# spent 15µs making 1 call to strict::import |
| 5 | 2 | 23µs | 2 | 23µs | # spent 15µs (8+8) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5 which was called:
# once (8µs+8µs) by Module::Runtime::require_module at line 5 # spent 15µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5
# spent 8µs making 1 call to warnings::import |
| 6 | |||||
| 7 | 2 | 173µs | 2 | 5.58ms | # spent 2.79ms (9µs+2.78) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7 which was called:
# once (9µs+2.78ms) by Module::Runtime::require_module at line 7 # spent 2.79ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7
# spent 2.78ms making 1 call to Moose::Role::import |
| 8 | |||||
| 9 | 1 | 3µs | 1 | 6.34ms | with 'Moose::Meta::Method::Accessor::Native::Reader', # spent 6.34ms making 1 call to Moose::Role::with |
| 10 | 'Moose::Meta::Method::Accessor::Native::Hash'; | ||||
| 11 | |||||
| 12 | 3 | 11µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::get::_minimum_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 74 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call | ||
| 13 | |||||
| 14 | # spent 70µs (21+49) within Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments which was called 3 times, avg 23µs/call:
# 3 times (21µs+49µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 33 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 23µs/call | ||||
| 15 | 3 | 1µs | my $self = shift; | ||
| 16 | |||||
| 17 | return ( | ||||
| 18 | 3 | 18µs | 3 | 49µs | 'for (@_) {', # spent 49µs making 3 calls to Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key, avg 16µs/call |
| 19 | $self->_inline_check_var_is_valid_key('$_'), | ||||
| 20 | '}', | ||||
| 21 | ); | ||||
| 22 | } | ||||
| 23 | |||||
| 24 | # spent 11µs within Moose::Meta::Method::Accessor::Native::Hash::get::_return_value which was called 3 times, avg 4µs/call:
# 3 times (11µ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 | ||||
| 25 | 3 | 1µs | my $self = shift; | ||
| 26 | 3 | 2µs | my ($slot_access) = @_; | ||
| 27 | |||||
| 28 | 3 | 16µs | return '@_ > 1 ' | ||
| 29 | . '? @{ (' . $slot_access . ') }{@_} ' | ||||
| 30 | . ': ' . $slot_access . '->{$_[0]}'; | ||||
| 31 | } | ||||
| 32 | |||||
| 33 | 2 | 32µs | 2 | 202µs | # spent 109µs (16+93) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33 which was called:
# once (16µs+93µs) by Module::Runtime::require_module at line 33 # spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33
# spent 93µs making 1 call to Moose::Role::unimport |
| 34 | |||||
| 35 | 1 | 12µs | 1; |