| 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/inc.pm |
| Statements | Executed 23 statements in 1.46ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 82µs | 101µs | Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@3 |
| 1 | 1 | 1 | 63µs | 813µs | Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@37 |
| 1 | 1 | 1 | 45µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@10 |
| 1 | 1 | 1 | 41µs | 110µs | Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@4 |
| 1 | 1 | 1 | 22µs | 22µs | Moose::Meta::Method::Accessor::Native::Counter::inc::_inline_optimized_set_new_value |
| 1 | 1 | 1 | 18µs | 18µs | Moose::Meta::Method::Accessor::Native::Counter::inc::_potential_value |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Method::Accessor::Native::Counter::inc::_minimum_arguments |
| 1 | 1 | 1 | 8µs | 8µs | Moose::Meta::Method::Accessor::Native::Counter::inc::_maximum_arguments |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Counter::inc; | ||||
| 2 | |||||
| 3 | 3 | 106µs | 2 | 120µs | # spent 101µs (82+19) within Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@3 which was called:
# once (82µs+19µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@10 at line 3 # spent 101µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@3
# spent 19µs making 1 call to strict::import |
| 4 | 3 | 279µs | 2 | 180µs | # spent 110µs (41+69) within Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@4 which was called:
# once (41µs+69µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@10 at line 4 # spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@4
# spent 69µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 76µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 631µs | 2 | 29.7ms | # spent 14.8ms (45µs+14.8) within Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@10 which was called:
# once (45µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@10 at line 10 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@10
# spent 14.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 34µs | 1 | 40.7ms | with 'Moose::Meta::Method::Accessor::Native::Writer' => { # spent 40.7ms 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 | 28µs | # spent 9µs within Moose::Meta::Method::Accessor::Native::Counter::inc::_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 | 17µs | # spent 8µs within Moose::Meta::Method::Accessor::Native::Counter::inc::_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 18µs within Moose::Meta::Method::Accessor::Native::Counter::inc::_potential_value which was called:
# once (18µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 53 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||||
| 26 | 2 | 96µs | my ( $self, $slot_access ) = @_; | ||
| 27 | |||||
| 28 | return "$slot_access + ( defined \$_[0] ? \$_[0] : 1 )"; | ||||
| 29 | } | ||||
| 30 | |||||
| 31 | # spent 22µs within Moose::Meta::Method::Accessor::Native::Counter::inc::_inline_optimized_set_new_value which was called:
# once (22µ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 | 29µs | my ( $self, $inv, $new, $slot_access ) = @_; | ||
| 33 | |||||
| 34 | return "$slot_access += defined \$_[0] ? \$_[0] : 1"; | ||||
| 35 | } | ||||
| 36 | |||||
| 37 | 3 | 115µs | 2 | 1.56ms | # spent 813µs (63+750) within Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@37 which was called:
# once (63µs+750µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@10 at line 37 # spent 813µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::inc::BEGIN@37
# spent 751µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 38 | |||||
| 39 | 1 | 44µs | 1; |