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.pm |
Statements | Executed 41 statements in 266µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
9 | 3 | 3 | 60µs | 868µs | _inline_check_var_is_valid_index | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 9µs | 9µs | BEGIN@2 | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 7µs | 5.82ms | BEGIN@12 | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 7µs | 26µs | BEGIN@14 | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 7µs | 85µs | BEGIN@30 | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 6µs | 9µs | BEGIN@10 | Moose::Meta::Method::Accessor::Native::Array::
1 | 1 | 1 | 6µs | 16µs | BEGIN@9 | Moose::Meta::Method::Accessor::Native::Array::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Array; | ||||
2 | # spent 9µs within Moose::Meta::Method::Accessor::Native::Array::BEGIN@2 which was called:
# once (9µs+0s) by Module::Runtime::require_module at line 4 | ||||
3 | 1 | 4µs | $Moose::Meta::Method::Accessor::Native::Array::AUTHORITY = 'cpan:STEVAN'; | ||
4 | 1 | 31µs | 1 | 9µs | } # spent 9µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::BEGIN@2 |
5 | { | ||||
6 | 2 | 700ns | $Moose::Meta::Method::Accessor::Native::Array::VERSION = '2.1005'; | ||
7 | } | ||||
8 | |||||
9 | 2 | 21µs | 2 | 26µs | # spent 16µs (6+10) within Moose::Meta::Method::Accessor::Native::Array::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::BEGIN@9
# spent 10µs making 1 call to strict::import |
10 | 2 | 20µs | 2 | 12µs | # spent 9µs (6+3) within Moose::Meta::Method::Accessor::Native::Array::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::BEGIN@10
# spent 3µs making 1 call to warnings::import |
11 | |||||
12 | 2 | 34µs | 2 | 11.6ms | # spent 5.82ms (7µs+5.81) within Moose::Meta::Method::Accessor::Native::Array::BEGIN@12 which was called:
# once (7µs+5.81ms) by Module::Runtime::require_module at line 12 # spent 5.82ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::BEGIN@12
# spent 5.81ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:519] |
13 | |||||
14 | 2 | 78µs | 2 | 46µs | # spent 26µs (7+20) within Moose::Meta::Method::Accessor::Native::Array::BEGIN@14 which was called:
# once (7µs+20µs) by Module::Runtime::require_module at line 14 # spent 26µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::BEGIN@14
# spent 20µs making 1 call to Exporter::import |
15 | |||||
16 | # spent 868µs (60+808) within Moose::Meta::Method::Accessor::Native::Array::_inline_check_var_is_valid_index which was called 9 times, avg 96µs/call:
# 4 times (29µs+360µs) by Moose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments at line 26 of Moose/Meta/Method/Accessor/Native/Array/get.pm, avg 97µs/call
# 4 times (22µs+358µs) by Moose::Meta::Method::Accessor::Native::Array::set::_inline_check_arguments at line 23 of Moose/Meta/Method/Accessor/Native/Array/set.pm, avg 95µs/call
# once (8µs+89µs) by Moose::Meta::Method::Accessor::Native::Array::delete::_inline_check_arguments at line 23 of Moose/Meta/Method/Accessor/Native/Array/delete.pm | ||||
17 | 9 | 800ns | my $self = shift; | ||
18 | 9 | 2µs | my ($var) = @_; | ||
19 | |||||
20 | return ( | ||||
21 | 9 | 44µs | 18 | 808µs | 'if (!defined(' . $var . ') || ' . $var . ' !~ /^-?\d+$/) {', # spent 799µs making 9 calls to Moose::Meta::Method::_inline_throw_error, avg 89µs/call
# spent 9µs making 9 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 1µs/call |
22 | $self->_inline_throw_error( | ||||
23 | '"The index passed to ' . $self->delegate_to_method | ||||
24 | . ' must be an integer"', | ||||
25 | ) . ';', | ||||
26 | '}', | ||||
27 | ); | ||||
28 | } | ||||
29 | |||||
30 | 2 | 27µs | 2 | 164µs | # spent 85µs (7+79) within Moose::Meta::Method::Accessor::Native::Array::BEGIN@30 which was called:
# once (7µs+79µs) by Module::Runtime::require_module at line 30 # spent 85µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::BEGIN@30
# spent 79µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:706] |
31 | |||||
32 | 1 | 3µs | 1; |