| 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/clear.pm |
| Statements | Executed 17 statements in 1.21ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 80µs | 99µs | Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@3 |
| 1 | 1 | 1 | 46µs | 789µs | Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@36 |
| 1 | 1 | 1 | 45µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@10 |
| 1 | 1 | 1 | 41µs | 110µs | Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::clear::_adds_members |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::clear::_inline_optimized_set_new_value |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::clear::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::clear::_potential_value |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::clear::_return_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash::clear; | ||||
| 2 | |||||
| 3 | 3 | 104µs | 2 | 118µs | # spent 99µs (80+19) within Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@3 which was called:
# once (80µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@10 at line 3 # spent 99µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 235µs | 2 | 179µs | # spent 110µs (41+69) within Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@4 which was called:
# once (41µs+69µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@10 at line 4 # spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@4
# spent 69µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 92µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 572µs | 2 | 29.6ms | # spent 14.8ms (45µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@10 which was called:
# once (45µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@10 at line 10 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@10
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 36µs | 1 | 42.2ms | with 'Moose::Meta::Method::Accessor::Native::Hash::Writer' => { # spent 42.2ms making 1 call to Moose::Role::with |
| 13 | -excludes => [ | ||||
| 14 | qw( | ||||
| 15 | _maximum_arguments | ||||
| 16 | _inline_optimized_set_new_value | ||||
| 17 | _return_value | ||||
| 18 | ) | ||||
| 19 | ] | ||||
| 20 | }; | ||||
| 21 | |||||
| 22 | sub _maximum_arguments { 0 } | ||||
| 23 | |||||
| 24 | sub _adds_members { 0 } | ||||
| 25 | |||||
| 26 | sub _potential_value { return '{}' } | ||||
| 27 | |||||
| 28 | sub _inline_optimized_set_new_value { | ||||
| 29 | my ( $self, $inv, $new, $slot_access ) = @_; | ||||
| 30 | |||||
| 31 | return "$slot_access = {}"; | ||||
| 32 | } | ||||
| 33 | |||||
| 34 | sub _return_value { return q{} } | ||||
| 35 | |||||
| 36 | 3 | 116µs | 2 | 1.53ms | # spent 789µs (46+743) within Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@36 which was called:
# once (46µs+743µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@10 at line 36 # spent 789µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::clear::BEGIN@36
# spent 743µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 37 | |||||
| 38 | 1 | 45µs | 1; |