Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Array/count.pm |
Statements | Executed 55 statements in 257µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
11 | 1 | 1 | 41µs | 41µs | _return_value | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 29µs | 44µs | BEGIN@4 | Moose::Meta::Method::Accessor::Native::Array::count::
11 | 1 | 1 | 19µs | 19µs | _maximum_arguments | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 8µs | 2.23ms | BEGIN@7 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 8µs | 17µs | BEGIN@5 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 7µs | 90µs | BEGIN@20 | Moose::Meta::Method::Accessor::Native::Array::count::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Array::count; | ||||
2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
3 | |||||
4 | 2 | 27µs | 2 | 58µs | # spent 44µs (29+15) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4 which was called:
# once (29µs+15µs) by Module::Runtime::require_module at line 4 # spent 44µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4
# spent 15µs making 1 call to strict::import |
5 | 2 | 23µs | 2 | 25µs | # spent 17µs (8+9) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@5 which was called:
# once (8µs+9µs) by Module::Runtime::require_module at line 5 # spent 17µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@5
# spent 9µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 95µs | 2 | 4.45ms | # spent 2.23ms (8µs+2.22) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@7 which was called:
# once (8µs+2.22ms) by Module::Runtime::require_module at line 7 # spent 2.23ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@7
# spent 2.22ms making 1 call to Moose::Role::import |
8 | |||||
9 | 1 | 2µs | 1 | 1.90ms | with 'Moose::Meta::Method::Accessor::Native::Reader'; # spent 1.90ms making 1 call to Moose::Role::with |
10 | |||||
11 | 11 | 25µs | # spent 19µs within Moose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments which was called 11 times, avg 2µs/call:
# 11 times (19µ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 41µs within Moose::Meta::Method::Accessor::Native::Array::count::_return_value which was called 11 times, avg 4µs/call:
# 11 times (41µ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 | 11 | 4µs | my $self = shift; | ||
15 | 11 | 5µs | my ($slot_access) = @_; | ||
16 | |||||
17 | 11 | 40µs | return 'scalar @{ (' . $slot_access . ') }'; | ||
18 | } | ||||
19 | |||||
20 | 2 | 30µs | 2 | 173µs | # spent 90µs (7+83) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@20 which was called:
# once (7µs+83µs) by Module::Runtime::require_module at line 20 # spent 90µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@20
# spent 83µs making 1 call to Moose::Role::unimport |
21 | |||||
22 | 1 | 7µs | 1; |