Filename | /Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/get.pm |
Statements | Executed 41 statements in 275µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
4 | 1 | 1 | 14µs | 403µs | _inline_check_arguments | Moose::Meta::Method::Accessor::Native::Array::get::
1 | 1 | 1 | 9µs | 9µs | BEGIN@2 | Moose::Meta::Method::Accessor::Native::Array::get::
4 | 1 | 1 | 8µs | 8µs | _return_value | Moose::Meta::Method::Accessor::Native::Array::get::
1 | 1 | 1 | 7µs | 1.85ms | BEGIN@14 | Moose::Meta::Method::Accessor::Native::Array::get::
1 | 1 | 1 | 6µs | 9µs | BEGIN@10 | Moose::Meta::Method::Accessor::Native::Array::get::
1 | 1 | 1 | 6µs | 16µs | BEGIN@9 | Moose::Meta::Method::Accessor::Native::Array::get::
1 | 1 | 1 | 5µs | 5µs | BEGIN@12 | Moose::Meta::Method::Accessor::Native::Array::get::
4 | 1 | 1 | 4µs | 4µs | _maximum_arguments | Moose::Meta::Method::Accessor::Native::Array::get::
4 | 1 | 1 | 3µs | 3µs | _minimum_arguments | Moose::Meta::Method::Accessor::Native::Array::get::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Array::get; | ||||
2 | # spent 9µs within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@2 which was called:
# once (9µs+0s) by Module::Runtime::require_module at line 4 | ||||
3 | 1 | 5µs | $Moose::Meta::Method::Accessor::Native::Array::get::AUTHORITY = 'cpan:STEVAN'; | ||
4 | 1 | 31µs | 1 | 9µs | } # spent 9µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@2 |
5 | { | ||||
6 | 2 | 800ns | $Moose::Meta::Method::Accessor::Native::Array::get::VERSION = '2.1005'; | ||
7 | } | ||||
8 | |||||
9 | 2 | 21µs | 2 | 26µs | # spent 16µs (6+10) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9 which was called:
# once (6µs+10µs) by Module::Runtime::require_module at line 9 # spent 16µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9
# spent 10µs making 1 call to strict::import |
10 | 2 | 24µs | 2 | 13µs | # spent 9µs (6+3) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@10 which was called:
# once (6µs+3µs) by Module::Runtime::require_module at line 10 # spent 9µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@10
# spent 3µs making 1 call to warnings::import |
11 | |||||
12 | 2 | 24µs | 1 | 5µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@12 which was called:
# once (5µs+0s) by Module::Runtime::require_module at line 12 # spent 5µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@12 |
13 | |||||
14 | 2 | 125µs | 2 | 3.70ms | # spent 1.85ms (7µs+1.85) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@14 which was called:
# once (7µs+1.85ms) by Module::Runtime::require_module at line 14 # spent 1.85ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@14
# spent 1.85ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:519] |
15 | |||||
16 | 1 | 3µs | 1 | 3.05ms | with 'Moose::Meta::Method::Accessor::Native::Reader', # spent 3.05ms making 1 call to Moose::Role::with |
17 | 'Moose::Meta::Method::Accessor::Native::Array'; | ||||
18 | |||||
19 | 4 | 7µs | # spent 3µs within Moose::Meta::Method::Accessor::Native::Array::get::_minimum_arguments which was called 4 times, avg 850ns/call:
# 4 times (3µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 75 of Moose/Meta/Method/Accessor/Native.pm, avg 850ns/call | ||
20 | |||||
21 | 4 | 8µs | # spent 4µs within Moose::Meta::Method::Accessor::Native::Array::get::_maximum_arguments which was called 4 times, avg 925ns/call:
# 4 times (4µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 90 of Moose/Meta/Method/Accessor/Native.pm, avg 925ns/call | ||
22 | |||||
23 | # spent 403µs (14+390) within Moose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments which was called 4 times, avg 101µs/call:
# 4 times (14µs+390µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 38 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 101µs/call | ||||
24 | 4 | 700ns | my $self = shift; | ||
25 | |||||
26 | 4 | 12µs | 4 | 390µs | return $self->_inline_check_var_is_valid_index('$_[0]'); # spent 390µs making 4 calls to Moose::Meta::Method::Accessor::Native::Array::_inline_check_var_is_valid_index, avg 97µs/call |
27 | } | ||||
28 | |||||
29 | # spent 8µs within Moose::Meta::Method::Accessor::Native::Array::get::_return_value which was called 4 times, avg 2µs/call:
# 4 times (8µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 112 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call | ||||
30 | 4 | 600ns | my $self = shift; | ||
31 | 4 | 1µs | my ($slot_access) = @_; | ||
32 | |||||
33 | 4 | 9µs | return $slot_access . '->[ $_[0] ]'; | ||
34 | } | ||||
35 | |||||
36 | 1 | 4µs | 1; |