| Filename | /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Array/clear.pm |
| Statements | Executed 24 statements in 1.31ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 77µs | 95µs | Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@3 |
| 1 | 1 | 1 | 47µs | 804µs | Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@36 |
| 1 | 1 | 1 | 45µs | 14.8ms | Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@10 |
| 1 | 1 | 1 | 41µs | 110µs | Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@4 |
| 1 | 1 | 1 | 23µs | 23µs | Moose::Meta::Method::Accessor::Native::Array::clear::_inline_optimized_set_new_value |
| 2 | 2 | 1 | 19µs | 19µs | Moose::Meta::Method::Accessor::Native::Array::clear::_return_value |
| 1 | 1 | 1 | 10µs | 10µs | Moose::Meta::Method::Accessor::Native::Array::clear::_potential_value |
| 1 | 1 | 1 | 10µs | 10µs | Moose::Meta::Method::Accessor::Native::Array::clear::_maximum_arguments |
| 1 | 1 | 1 | 9µs | 9µs | Moose::Meta::Method::Accessor::Native::Array::clear::_adds_members |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Array::clear; | ||||
| 2 | |||||
| 3 | 3 | 104µs | 2 | 113µs | # spent 95µs (77+18) within Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@3 which was called:
# once (77µs+18µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@10 at line 3 # spent 95µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 236µs | 2 | 178µs | # spent 110µs (41+69) within Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@4 which was called:
# once (41µs+69µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@10 at line 4 # spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@4
# spent 69µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 84µs | $VERSION = eval $VERSION; # spent 12µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 546µs | 2 | 29.5ms | # spent 14.8ms (45µs+14.7) within Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@10 which was called:
# once (45µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@10 at line 10 # spent 14.8ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@10
# spent 14.7ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | 1 | 34µs | 1 | 46.1ms | with 'Moose::Meta::Method::Accessor::Native::Array::Writer' => { # spent 46.1ms making 1 call to Moose::Role::with |
| 13 | -excludes => [ | ||||
| 14 | qw( | ||||
| 15 | _maximum_arguments | ||||
| 16 | _inline_optimized_set_new_value | ||||
| 17 | _return_value | ||||
| 18 | ) | ||||
| 19 | ] | ||||
| 20 | }; | ||||
| 21 | |||||
| 22 | 1 | 18µs | # spent 10µs within Moose::Meta::Method::Accessor::Native::Array::clear::_maximum_arguments which was called:
# once (10µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 80 of Moose/Meta/Method/Accessor/Native.pm | ||
| 23 | |||||
| 24 | 1 | 18µs | # spent 9µs within Moose::Meta::Method::Accessor::Native::Array::clear::_adds_members which was called:
# once (9µs+0s) by Class::MOP::Class:::around at line 68 of Moose/Meta/Method/Accessor/Native/Collection.pm | ||
| 25 | |||||
| 26 | 1 | 36µs | # spent 10µs within Moose::Meta::Method::Accessor::Native::Array::clear::_potential_value which was called:
# once (10µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 53 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||
| 27 | |||||
| 28 | # spent 23µs within Moose::Meta::Method::Accessor::Native::Array::clear::_inline_optimized_set_new_value which was called:
# once (23µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_set_new_value at line 166 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||||
| 29 | 1 | 8µs | my ( $self, $inv, $new, $slot_access ) = @_; | ||
| 30 | |||||
| 31 | 1 | 23µs | return "$slot_access = []"; | ||
| 32 | } | ||||
| 33 | |||||
| 34 | 2 | 34µs | # spent 19µs within Moose::Meta::Method::Accessor::Native::Array::clear::_return_value which was called 2 times, avg 10µs/call:
# once (10µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 55 of Moose/Meta/Method/Accessor/Native/Writer.pm
# once (9µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 78 of Moose/Meta/Method/Accessor/Native/Writer.pm | ||
| 35 | |||||
| 36 | 3 | 118µs | 2 | 1.56ms | # spent 804µs (47+757) within Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@36 which was called:
# once (47µs+757µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@10 at line 36 # spent 804µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::clear::BEGIN@36
# spent 757µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 37 | |||||
| 38 | 1 | 46µs | 1; |