| 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/set.pm |
| Statements | Executed 17 statements in 1.20ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 78µs | 96µs | Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3 |
| 1 | 1 | 1 | 46µs | 789µs | Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@33 |
| 1 | 1 | 1 | 44µs | 15.1ms | Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@10 |
| 1 | 1 | 1 | 42µs | 111µs | Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4 |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::set::_inline_optimized_set_new_value |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::set::_maximum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::set::_minimum_arguments |
| 0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Counter::set::_potential_value |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Counter::set; | ||||
| 2 | |||||
| 3 | 3 | 106µs | 2 | 115µs | # spent 96µs (78+18) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3 which was called:
# once (78µs+18µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 3 # spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 278µs | 2 | 180µs | # spent 111µs (42+69) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4 which was called:
# once (42µs+69µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 4 # spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4
# spent 69µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 81µs | $VERSION = eval $VERSION; # spent 11µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 532µs | 2 | 30.2ms | # spent 15.1ms (44µs+15.1) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@10 which was called:
# once (44µs+15.1ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 10 # spent 15.1ms making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@10
# spent 15.1ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 34µs | 1 | 32.3ms | with 'Moose::Meta::Method::Accessor::Native::Writer' => { # spent 32.3ms 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 | sub _minimum_arguments {1} | ||||
| 23 | sub _maximum_arguments {1} | ||||
| 24 | |||||
| 25 | sub _potential_value {'$_[0]'} | ||||
| 26 | |||||
| 27 | sub _inline_optimized_set_new_value { | ||||
| 28 | my ( $self, $inv, $new, $slot_access ) = @_; | ||||
| 29 | |||||
| 30 | return "$slot_access = \$_[0];"; | ||||
| 31 | } | ||||
| 32 | |||||
| 33 | 3 | 115µs | 2 | 1.53ms | # spent 789µs (46+743) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@33 which was called:
# once (46µs+743µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 33 # spent 789µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@33
# spent 743µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 34 | |||||
| 35 | 1 | 44µs | 1; |