| 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/dec.pm |
| Statements | Executed 23 statements in 1.27ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 82µs | 102µs | Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3 |
| 1 | 1 | 1 | 50µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@10 |
| 1 | 1 | 1 | 45µs | 774µs | Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@37 |
| 1 | 1 | 1 | 42µs | 111µs | Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4 |
| 1 | 1 | 1 | 21µs | 21µs | Moose::Meta::Method::Accessor::Native::Counter::dec::_inline_optimized_set_new_value |
| 1 | 1 | 1 | 17µs | 17µs | Moose::Meta::Method::Accessor::Native::Counter::dec::_potential_value |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Method::Accessor::Native::Counter::dec::_minimum_arguments |
| 1 | 1 | 1 | 8µs | 8µs | Moose::Meta::Method::Accessor::Native::Counter::dec::_maximum_arguments |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Counter::dec; | ||||
| 2 | |||||
| 3 | 3 | 115µs | 2 | 121µs | # spent 102µs (82+19) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3 which was called:
# once (82µs+19µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 3 # spent 102µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 246µs | 2 | 179µs | # spent 111µs (42+68) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4 which was called:
# once (42µs+68µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 4 # spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4
# spent 68µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 80µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 542µs | 2 | 29.6ms | # spent 14.8ms (50µs+14.8) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@10 which was called:
# once (50µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 10 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@10
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 34µs | 1 | 32.9ms | with 'Moose::Meta::Method::Accessor::Native::Writer' => { # spent 32.9ms making 1 call to Moose::Role::with |
| 13 | -excludes => [ | ||||
| 14 | qw( | ||||
| 15 | _minimum_arguments | ||||
| 16 | _maximum_arguments | ||||
| 17 | _inline_optimized_set_new_value | ||||
| 18 | ) | ||||
| 19 | ] | ||||
| 20 | }; | ||||
| 21 | |||||
| 22 | 1 | 18µs | # spent 9µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_minimum_arguments which was called:
# once (9µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 66 of Moose/Meta/Method/Accessor/Native.pm | ||
| 23 | 1 | 16µs | # spent 8µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_maximum_arguments which was called:
# once (8µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 80 of Moose/Meta/Method/Accessor/Native.pm | ||
| 24 | |||||
| 25 | # spent 17µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_potential_value which was called:
# once (17µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 53 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||||
| 26 | 2 | 25µs | my ( $self, $slot_access ) = @_; | ||
| 27 | |||||
| 28 | return "$slot_access - ( defined \$_[0] ? \$_[0] : 1 )"; | ||||
| 29 | } | ||||
| 30 | |||||
| 31 | # spent 21µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_inline_optimized_set_new_value which was called:
# once (21µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_set_new_value at line 166 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||||
| 32 | 2 | 31µs | my ( $self, $inv, $new, $slot_access ) = @_; | ||
| 33 | |||||
| 34 | return "$slot_access -= defined \$_[0] ? \$_[0] : 1"; | ||||
| 35 | } | ||||
| 36 | |||||
| 37 | 3 | 112µs | 2 | 1.50ms | # spent 774µs (45+729) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@37 which was called:
# once (45µs+729µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 37 # spent 774µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@37
# spent 729µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 38 | |||||
| 39 | 1 | 42µs | 1; |