| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Array/count.pm |
| Statements | Executed 17 statements in 1.02ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 88µs | 107µs | Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@3 |
| 1 | 1 | 1 | 49µs | 817µs | Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@23 |
| 1 | 1 | 1 | 44µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10 |
| 1 | 1 | 1 | 41µs | 109µs | Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Array::count::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Array::count::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Array::count; | ||||
| 2 | |||||
| 3 | 3 | 106µs | 2 | 126µs | # spent 107µs (88+19) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@3 which was called:
# once (88µs+19µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@11 at line 3 # spent 107µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 237µs | 2 | 177µs | # spent 109µs (41+68) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4 which was called:
# once (41µs+68µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@11 at line 4 # spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@4
# spent 68µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 5µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 88µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 390µs | 2 | 29.6ms | # spent 14.8ms (44µs+14.8) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10 which was called:
# once (44µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@11 at line 10 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@10
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 31µs | 1 | 19.5ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => # spent 19.5ms making 1 call to Moose::Role::with |
| 13 | { -excludes => ['_maximum_arguments'] }; | ||||
| 14 | |||||
| 15 | sub _maximum_arguments { 0 } | ||||
| 16 | |||||
| 17 | sub _return_value { | ||||
| 18 | my ( $self, $slot_access ) = @_; | ||||
| 19 | |||||
| 20 | return "scalar \@{ ($slot_access) }"; | ||||
| 21 | } | ||||
| 22 | |||||
| 23 | 3 | 119µs | 2 | 1.58ms | # spent 817µs (49+768) within Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@23 which was called:
# once (49µs+768µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@11 at line 23 # spent 817µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::count::BEGIN@23
# spent 768µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 24 | |||||
| 25 | 1 | 44µs | 1; |