| 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/elements.pm |
| Statements | Executed 20 statements in 1.35ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 149µs | 168µs | Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3 |
| 1 | 1 | 1 | 61µs | 1.04ms | Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@26 |
| 1 | 1 | 1 | 53µs | 18.5ms | Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@12 |
| 1 | 1 | 1 | 41µs | 216µs | Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6 |
| 1 | 1 | 1 | 41µs | 109µs | Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::elements::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::elements::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::elements; | ||||
| 2 | |||||
| 3 | 3 | 115µs | 2 | 188µs | # spent 168µs (149+19) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3 which was called:
# once (149µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 3 # spent 168µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 117µs | 2 | 177µs | # spent 109µs (41+68) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4 which was called:
# once (41µs+68µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 4 # spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4
# spent 68µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 280µs | 2 | 392µs | # spent 216µs (41+175) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6 which was called:
# once (41µs+175µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 6 # spent 216µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6
# spent 175µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 5µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 103µs | $VERSION = eval $VERSION; # spent 14µs executing statements in string eval | ||
| 10 | 1 | 5µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 507µs | 2 | 36.9ms | # spent 18.5ms (53µs+18.4) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@12 which was called:
# once (53µs+18.4ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 12 # spent 18.5ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@12
# spent 18.4ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 13 | |||||
| 14 | 1 | 38µs | 1 | 22.5ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => # spent 22.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 "map { \$_, ${slot_access}->{\$_} } keys \%{ ($slot_access) }"; | ||||
| 24 | } | ||||
| 25 | |||||
| 26 | 3 | 143µs | 2 | 2.02ms | # spent 1.04ms (61µs+980µs) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@26 which was called:
# once (61µs+980µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 26 # spent 1.04ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@26
# spent 980µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 27 | |||||
| 28 | 1 | 43µs | 1; |