| Filename | /home/doy/coding/src/Moose/blib/lib//Moose/Meta/Method/Accessor/Native/Hash.pm |
| Statements | Executed 22 statements in 1.02ms |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 2 | 1 | 1 | 119µs | 165µs | Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key |
| 1 | 1 | 1 | 80µs | 97µs | Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3 |
| 1 | 1 | 1 | 45µs | 771µs | Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26 |
| 1 | 1 | 1 | 45µs | 13.8ms | Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 |
| 1 | 1 | 1 | 41µs | 109µs | Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package Moose::Meta::Method::Accessor::Native::Hash; | ||||
| 2 | |||||
| 3 | 3 | 110µs | 2 | 115µs | # spent 97µs (80+18) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3 which was called:
# once (80µs+18µ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::Hash::BEGIN@3
# spent 18µs making 1 call to strict::import |
| 4 | 3 | 233µs | 2 | 176µs | # spent 109µs (41+67) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 which was called:
# once (41µs+67µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4 # spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4
# spent 67µs making 1 call to warnings::import |
| 5 | |||||
| 6 | 1 | 4µs | our $VERSION = '1.19'; | ||
| 7 | 1 | 82µs | $VERSION = eval $VERSION; # spent 10µs executing statements in string eval | ||
| 8 | 1 | 3µs | our $AUTHORITY = 'cpan:STEVAN'; | ||
| 9 | |||||
| 10 | 3 | 367µs | 2 | 27.6ms | # spent 13.8ms (45µs+13.8) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 which was called:
# once (45µ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::Hash::BEGIN@10
# spent 13.8ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456] |
| 11 | |||||
| 12 | # spent 165µs (119+46) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 2 times, avg 83µs/call:
# 2 times (119µs+46µs) by Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments at line 30 of Moose/Meta/Method/Accessor/Native/Hash/get.pm, avg 83µs/call | ||||
| 13 | 6 | 96µs | my $self = shift; | ||
| 14 | my ($var) = @_; | ||||
| 15 | |||||
| 16 | return ( | ||||
| 17 | 4 | 46µs | 'if (!defined(' . $var . ')) {', # spent 27µs making 2 calls to Moose::Meta::Method::_inline_throw_error, avg 14µs/call
# spent 18µs making 2 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 9µs/call | ||
| 18 | $self->_inline_throw_error( | ||||
| 19 | '"The key passed to ' . $self->delegate_to_method | ||||
| 20 | . ' must be a defined value"', | ||||
| 21 | ) . ';', | ||||
| 22 | '}', | ||||
| 23 | ); | ||||
| 24 | } | ||||
| 25 | |||||
| 26 | 3 | 112µs | 2 | 1.50ms | # spent 771µs (45+726) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26 which was called:
# once (45µs+726µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 26 # spent 771µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26
# spent 726µs making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:557] |
| 27 | |||||
| 28 | 1 | 12µs | 1; |