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/count.pm |
Statements | Executed 33 statements in 239µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
5 | 1 | 1 | 10µs | 10µs | _return_value | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 9µs | 9µs | BEGIN@2 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 7µs | 11µs | BEGIN@10 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 7µs | 86µs | BEGIN@25 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 7µs | 1.87ms | BEGIN@12 | Moose::Meta::Method::Accessor::Native::Array::count::
1 | 1 | 1 | 6µs | 16µs | BEGIN@9 | Moose::Meta::Method::Accessor::Native::Array::count::
5 | 1 | 1 | 5µs | 5µs | _maximum_arguments | 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 | # spent 9µs within Moose::Meta::Method::Accessor::Native::Array::count::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::count::AUTHORITY = 'cpan:STEVAN'; | ||
4 | 1 | 31µs | 1 | 9µs | } # spent 9µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@2 |
5 | { | ||||
6 | 2 | 600ns | $Moose::Meta::Method::Accessor::Native::Array::count::VERSION = '2.1005'; | ||
7 | } | ||||
8 | |||||
9 | 2 | 36µs | 2 | 26µs | # spent 16µs (6+10) within Moose::Meta::Method::Accessor::Native::Array::count::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::count::BEGIN@9
# spent 10µs making 1 call to strict::import |
10 | 2 | 22µs | 2 | 15µs | # spent 11µs (7+4) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10 which was called:
# once (7µs+4µs) by Module::Runtime::require_module at line 10 # spent 11µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10
# spent 4µs making 1 call to warnings::import |
11 | |||||
12 | 2 | 83µs | 2 | 3.74ms | # spent 1.87ms (7µs+1.87) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@12 which was called:
# once (7µs+1.87ms) by Module::Runtime::require_module at line 12 # spent 1.87ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@12
# spent 1.87ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:519] |
13 | |||||
14 | 1 | 2µs | 1 | 9.46ms | with 'Moose::Meta::Method::Accessor::Native::Reader'; # spent 9.46ms making 1 call to Moose::Role::with |
15 | |||||
16 | 5 | 8µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments which was called 5 times, avg 920ns/call:
# 5 times (5µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 90 of Moose/Meta/Method/Accessor/Native.pm, avg 920ns/call | ||
17 | |||||
18 | # spent 10µs within Moose::Meta::Method::Accessor::Native::Array::count::_return_value which was called 5 times, avg 2µs/call:
# 5 times (10µ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 | ||||
19 | 5 | 700ns | my $self = shift; | ||
20 | 5 | 1µs | my ($slot_access) = @_; | ||
21 | |||||
22 | 5 | 12µs | return 'scalar @{ (' . $slot_access . ') }'; | ||
23 | } | ||||
24 | |||||
25 | 2 | 32µs | 2 | 165µs | # spent 86µs (7+79) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@25 which was called:
# once (7µs+79µs) by Module::Runtime::require_module at line 25 # spent 86µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@25
# spent 79µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:706] |
26 | |||||
27 | 1 | 6µs | 1; |