| 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/exists.pm |
| Statements | Executed 20 statements in 1.35ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 77µs | 96µs | Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3 |
| 1 | 1 | 1 | 47µs | 807µs | Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@42 |
| 1 | 1 | 1 | 44µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@12 |
| 1 | 1 | 1 | 40µs | 212µs | Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6 |
| 1 | 1 | 1 | 40µs | 108µs | Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::exists::_minimum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::exists::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::exists; | ||||
| 2 | |||||
| 3 | 3 | 105µs | 2 | 114µs | # spent 96µs (77+19) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3 which was called:
# once (77µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 3 # spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 144µs | 2 | 177µs | # spent 108µs (40+69) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 which was called:
# once (40µs+69µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 4 # spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4
# spent 69µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 257µs | 2 | 384µs | # spent 212µs (40+172) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6 which was called:
# once (40µs+172µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 6 # spent 212µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6
# spent 172µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 82µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 10 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 551µs | 2 | 29.6ms | # spent 14.8ms (44µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@12 which was called:
# once (44µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 12 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@12
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 13 | |||||
| 14 | 1 | 36µs | 1 | 31.4ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => { # spent 31.4ms making 1 call to Moose::Role::with |
| 15 | -excludes => [ | ||||
| 16 | qw( | ||||
| 17 | _minimum_arguments | ||||
| 18 | _maximum_arguments | ||||
| 19 | _inline_check_arguments | ||||
| 20 | ) | ||||
| 21 | ], | ||||
| 22 | }, | ||||
| 23 | 'Moose::Meta::Method::Accessor::Native::Hash'; | ||||
| 24 | |||||
| 25 | sub _minimum_arguments { 1 } | ||||
| 26 | |||||
| 27 | sub _maximum_arguments { 1 } | ||||
| 28 | |||||
| 29 | sub _inline_check_arguments { | ||||
| 30 | my $self = shift; | ||||
| 31 | |||||
| 32 | return $self->_inline_check_var_is_valid_key('$_[0]'); | ||||
| 33 | } | ||||
| 34 | |||||
| 35 | sub _return_value { | ||||
| 36 | my $self = shift; | ||||
| 37 | my $slot_access = shift; | ||||
| 38 | |||||
| 39 | return "exists ${slot_access}->{ \$_[0] }"; | ||||
| 40 | } | ||||
| 41 | |||||
| 42 | 3 | 117µs | 2 | 1.57ms | # spent 807µs (47+760) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@42 which was called:
# once (47µs+760µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 42 # spent 807µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@42
# spent 760µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 43 | |||||
| 44 | 1 | 48µs | 1; |