| 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.31ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 395µs | 1.04ms | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 |
| 1 | 1 | 1 | 78µs | 97µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 |
| 1 | 1 | 1 | 57µs | 14.9ms | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12 |
| 1 | 1 | 1 | 49µs | 132µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 |
| 1 | 1 | 1 | 43µs | 747µs | Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26 |
| 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 | 105µs | 2 | 115µs | # spent 97µs (78+19) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 which was called:
# once (78µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 3 # spent 97µ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 | 172µs | 2 | 214µs | # spent 132µs (49+83) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 which was called:
# once (49µs+83µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 4 # spent 132µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4
# spent 83µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 372µs | 2 | 1.68ms | # spent 1.04ms (395µs+644µs) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 which was called:
# once (395µs+644µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 6 # spent 1.04ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6
# spent 644µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 82µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 10 | 1 | 4µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 382µs | 2 | 29.7ms | # spent 14.9ms (57µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12 which was called:
# once (57µ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 | 32µs | 1 | 19.3ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => # spent 19.3ms 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 | 110µs | 2 | 1.45ms | # spent 747µs (43+704) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26 which was called:
# once (43µs+704µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 26 # spent 747µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26
# spent 704µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 27 | |||||
| 28 | 1 | 43µs | 1; |