| Filename | /home/doy/coding/src/Moose/blib/lib//Moose/Meta/Method/Accessor/Native/Bool/set.pm |
| Statements | Executed 22 statements in 1.16ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 78µs | 97µs | Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@3 |
| 1 | 1 | 1 | 47µs | 13.8ms | Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@10 |
| 1 | 1 | 1 | 45µs | 766µs | Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@32 |
| 1 | 1 | 1 | 40µs | 108µs | Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@4 |
| 1 | 1 | 1 | 21µs | 21µs | Moose::Meta::Method::Accessor::Native::Bool::set::_inline_optimized_set_new_value |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Method::Accessor::Native::Bool::set::_potential_value |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Method::Accessor::Native::Bool::set::_maximum_arguments |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Bool::set; | ||||
| 2 | |||||
| 3 | 3 | 103µs | 2 | 115µs | # spent 97µs (78+19) within Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@3 which was called:
# once (78µs+19µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 3 # spent 97µs making 1 call to Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 266µs | 2 | 176µs | # spent 108µs (40+68) within Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@4 which was called:
# once (40µs+68µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4 # spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@4
# spent 68µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 76µs | $VERSION = eval $VERSION; # spent 12µs executing statements in string eval | ||
| 8 | 1 | 5µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 450µs | 2 | 27.7ms | # spent 13.8ms (47µs+13.8) within Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@10 which was called:
# once (47µs+13.8ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 10 # spent 13.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@10
# spent 13.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 39µs | 1 | 22.4ms | with 'Moose::Meta::Method::Accessor::Native::Writer' => { # spent 22.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 | 1 | 16µs | # spent 9µs within Moose::Meta::Method::Accessor::Native::Bool::set::_maximum_arguments which was called:
# once (9µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 79 of Moose/Meta/Method/Accessor/Native.pm | ||
| 22 | |||||
| 23 | 1 | 19µs | # spent 9µs within Moose::Meta::Method::Accessor::Native::Bool::set::_potential_value which was called:
# once (9µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_writer_core at line 37 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||
| 24 | |||||
| 25 | # spent 21µs within Moose::Meta::Method::Accessor::Native::Bool::set::_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 155 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||||
| 26 | 3 | 31µs | my $self = shift; | ||
| 27 | my ($inv, $new, $slot_access) = @_; | ||||
| 28 | |||||
| 29 | return $slot_access . ' = 1;'; | ||||
| 30 | } | ||||
| 31 | |||||
| 32 | 3 | 108µs | 2 | 1.49ms | # spent 766µs (45+721) within Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@32 which was called:
# once (45µs+721µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 32 # spent 766µs making 1 call to Moose::Meta::Method::Accessor::Native::Bool::set::BEGIN@32
# spent 721µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 33 | |||||
| 34 | 1 | 44µs | 1; |