| 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/defined.pm |
| Statements | Executed 20 statements in 1.30ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 76µs | 95µs | Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3 |
| 1 | 1 | 1 | 46µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@12 |
| 1 | 1 | 1 | 44µs | 124µs | Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4 |
| 1 | 1 | 1 | 44µs | 768µs | Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@42 |
| 1 | 1 | 1 | 39µs | 210µs | Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::defined::_inline_check_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::defined::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::defined::_minimum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::defined::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::defined; | ||||
| 2 | |||||
| 3 | 3 | 107µs | 2 | 114µs | # spent 95µs (76+19) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3 which was called:
# once (76µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 3 # spent 95µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 120µs | 2 | 203µs | # spent 124µs (44+79) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4 which was called:
# once (44µs+79µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 4 # spent 124µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4
# spent 79µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 3 | 231µs | 2 | 382µs | # spent 210µs (39+172) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6 which was called:
# once (39µs+172µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 6 # spent 210µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6
# spent 172µs making 1 call to Exporter::import |
| 7 | |||||
| 8 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 9 | 1 | 77µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 10 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 11 | |||||
| 12 | 3 | 561µs | 2 | 29.5ms | # spent 14.8ms (46µs+14.7) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@12 which was called:
# once (46µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 12 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@12
# spent 14.7ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 13 | |||||
| 14 | 1 | 34µs | 1 | 30.6ms | with 'Moose::Meta::Method::Accessor::Native::Reader' => { # spent 30.6ms 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 "defined ${slot_access}->{ \$_[0] }"; | ||||
| 40 | } | ||||
| 41 | |||||
| 42 | 3 | 114µs | 2 | 1.49ms | # spent 768µs (44+723) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@42 which was called:
# once (44µs+723µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 42 # spent 768µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@42
# spent 723µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 43 | |||||
| 44 | 1 | 46µs | 1; |