Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm |
Statements | Executed 13 statements in 233µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 11µs | 25µs | BEGIN@4 | Moose::Meta::Method::Accessor::Native::Hash::Writer::
1 | 1 | 1 | 8µs | 93µs | BEGIN@29 | Moose::Meta::Method::Accessor::Native::Hash::Writer::
1 | 1 | 1 | 8µs | 14µs | BEGIN@5 | Moose::Meta::Method::Accessor::Native::Hash::Writer::
1 | 1 | 1 | 8µs | 2.16ms | BEGIN@9 | Moose::Meta::Method::Accessor::Native::Hash::Writer::
1 | 1 | 1 | 5µs | 5µs | BEGIN@7 | Moose::Meta::Method::Accessor::Native::Hash::Writer::
0 | 0 | 0 | 0s | 0s | _copy_old_value | Moose::Meta::Method::Accessor::Native::Hash::Writer::
0 | 0 | 0 | 0s | 0s | _inline_coerce_new_values | Moose::Meta::Method::Accessor::Native::Hash::Writer::
0 | 0 | 0 | 0s | 0s | _new_values | Moose::Meta::Method::Accessor::Native::Hash::Writer::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Hash::Writer; | ||||
2 | 1 | 400ns | our $VERSION = '2.1604'; | ||
3 | |||||
4 | 2 | 23µs | 2 | 40µs | # spent 25µs (11+15) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@4 which was called:
# once (11µs+15µs) by Module::Runtime::require_module at line 4 # spent 25µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@4
# spent 15µs making 1 call to strict::import |
5 | 2 | 24µs | 2 | 19µs | # spent 14µs (8+6) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@5 which was called:
# once (8µs+6µs) by Module::Runtime::require_module at line 5 # spent 14µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@5
# spent 6µs making 1 call to warnings::import |
6 | |||||
7 | 2 | 19µs | 1 | 5µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@7 which was called:
# once (5µs+0s) by Module::Runtime::require_module at line 7 # spent 5µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@7 |
8 | |||||
9 | 2 | 126µs | 2 | 4.32ms | # spent 2.16ms (8µs+2.16) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@9 which was called:
# once (8µs+2.16ms) by Module::Runtime::require_module at line 9 # spent 2.16ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@9
# spent 2.16ms making 1 call to Moose::Role::import |
10 | |||||
11 | 1 | 3µs | 1 | 18.7ms | with 'Moose::Meta::Method::Accessor::Native::Writer', # spent 18.7ms making 1 call to Moose::Role::with |
12 | 'Moose::Meta::Method::Accessor::Native::Hash', | ||||
13 | 'Moose::Meta::Method::Accessor::Native::Collection'; | ||||
14 | |||||
15 | sub _inline_coerce_new_values { | ||||
16 | my $self = shift; | ||||
17 | $self->Moose::Meta::Method::Accessor::Native::Collection::_inline_coerce_new_values(@_); | ||||
18 | } | ||||
19 | |||||
20 | sub _new_values { '@values' } | ||||
21 | |||||
22 | sub _copy_old_value { | ||||
23 | my $self = shift; | ||||
24 | my ($slot_access) = @_; | ||||
25 | |||||
26 | return '{ %{ (' . $slot_access . ') } }'; | ||||
27 | } | ||||
28 | |||||
29 | 2 | 25µs | 2 | 178µs | # spent 93µs (8+85) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@29 which was called:
# once (8µs+85µs) by Module::Runtime::require_module at line 29 # spent 93µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@29
# spent 85µs making 1 call to Moose::Role::unimport |
30 | |||||
31 | 1 | 12µs | 1; |