| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Counter/reset.pm |
| Statements | Executed 17 statements in 1.19ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 77µs | 96µs | Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@3 |
| 1 | 1 | 1 | 47µs | 824µs | Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@35 |
| 1 | 1 | 1 | 44µs | 18.0ms | Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@10 |
| 1 | 1 | 1 | 42µs | 111µs | Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::reset::_inline_optimized_set_new_value |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::reset::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::reset::_potential_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Counter::reset; | ||||
| 2 | |||||
| 3 | 3 | 119µs | 2 | 114µs | # spent 96µs (77+18) within Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@3 which was called:
# once (77µs+18µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@11 at line 3 # spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 251µs | 2 | 181µs | # spent 111µs (42+70) within Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@4 which was called:
# once (42µs+70µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@11 at line 4 # spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@4
# spent 70µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 5µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 91µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 8 | 1 | 4µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 524µs | 2 | 35.9ms | # spent 18.0ms (44µs+17.9) within Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@10 which was called:
# once (44µs+17.9ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@11 at line 10 # spent 18.0ms making 1 call to Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@10
# spent 17.9ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 31µs | 1 | 34.4ms | with 'Moose::Meta::Method::Accessor::Native::Writer' => { # spent 34.4ms making 1 call to Moose::Role::with |
| 13 | -excludes => [ | ||||
| 14 | qw( | ||||
| 15 | _maximum_arguments | ||||
| 16 | _inline_optimized_set_new_value | ||||
| 17 | ) | ||||
| 18 | ] | ||||
| 19 | }; | ||||
| 20 | |||||
| 21 | sub _maximum_arguments { 0 } | ||||
| 22 | |||||
| 23 | sub _potential_value { | ||||
| 24 | my ( $self, $slot_access ) = @_; | ||||
| 25 | |||||
| 26 | return "\$attr->default(\$self)" | ||||
| 27 | } | ||||
| 28 | |||||
| 29 | sub _inline_optimized_set_new_value { | ||||
| 30 | my ( $self, $inv, $new, $slot_access ) = @_; | ||||
| 31 | |||||
| 32 | return "$slot_access = \$attr->default(\$self)"; | ||||
| 33 | } | ||||
| 34 | |||||
| 35 | 3 | 122µs | 2 | 1.60ms | # spent 824µs (47+777) within Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@35 which was called:
# once (47µs+777µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@11 at line 35 # spent 824µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::reset::BEGIN@35
# spent 778µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 36 | |||||
| 37 | 1 | 44µs | 1; |