| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Hash/count.pm |
| Statements | Executed 20 statements in 1.18ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 76µs | 95µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 |
| 1 | 1 | 1 | 46µs | 14.9ms | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12 |
| 1 | 1 | 1 | 44µs | 768µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26 |
| 1 | 1 | 1 | 42µs | 112µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 |
| 1 | 1 | 1 | 40µs | 211µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::count::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::count::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::count; | ||||
| 2 | |||||
| 3 | 3 | 136µs | 2 | 114µs | # spent 95µs (76+19) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 which was called:
# once (76µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 3 # spent 95µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 115µs | 2 | 182µs | # spent 112µs (42+70) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 which was called:
# once (42µs+70µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 4 # spent 112µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4
# spent 70µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 231µs | 2 | 382µs | # spent 211µs (40+171) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 which was called:
# once (40µs+171µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 6 # spent 211µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6
# spent 171µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 80µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 10 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 393µs | 2 | 29.7ms | # spent 14.9ms (46µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12 which was called:
# once (46µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 12 # spent 14.9ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 13 | |||||
| 14 | 1 | 30µs | 1 | 19.5ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => # spent 19.5ms making 1 call to Moose::Role::with |
| 15 | { -excludes => ['_maximum_arguments'] }; | ||||
| 16 | |||||
| 17 | sub _maximum_arguments { 0 } | ||||
| 18 | |||||
| 19 | sub _return_value { | ||||
| 20 | my $self = shift; | ||||
| 21 | my $slot_access = shift; | ||||
| 22 | |||||
| 23 | return "scalar keys \%{ ($slot_access) }"; | ||||
| 24 | } | ||||
| 25 | |||||
| 26 | 3 | 114µs | 2 | 1.49ms | # spent 768µs (44+724) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26 which was called:
# once (44µs+724µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 26 # spent 768µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26
# spent 724µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 27 | |||||
| 28 | 1 | 77µs | 1; |