Profile of Moose/Meta/Method/Accessor/Native/Hash/exists.pm

← Index
NYTProf Performance Profile «line view»
For script/ponapi
Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:11 2016

Filename | /usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Hash/exists.pm
Statements | Executed 32 statements in 262µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
3 | 1 | 1 | 14µs | 44µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments
1 | 1 | 1 | 13µs | 28µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4
3 | 1 | 1 | 12µs | 12µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::exists::_return_value
1 | 1 | 1 | 8µs | 90µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@29Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29
1 | 1 | 1 | 8µs | 14µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5
1 | 1 | 1 | 7µs | 2.22ms | Moose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7
3 | 1 | 1 | 5µs | 5µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments
3 | 1 | 1 | 4µs | 4µs | Moose::Meta::Method::Accessor::Native::Hash::exists::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_minimum_arguments

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Moose::Meta::Method::Accessor::Native::Hash::exists;
2 | 1 | 400ns |  |  | our $VERSION = '2.1604';
3 |  |  |  |  |
4 | 2 | 24µs | 2 | 42µs | # spent 28µs (13+15) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 which was called: # once (13µs+15µs) by Module::Runtime::require_module at line 4 use strict; # spent 28µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 # spent 15µs making 1 call to strict::import
5 | 2 | 21µs | 2 | 21µs | # spent 14µs (8+7) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5 which was called: # once (8µs+7µs) by Module::Runtime::require_module at line 5 use warnings; # spent 14µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5 # spent 6µs making 1 call to warnings::import
6 |  |  |  |  |
7 | 2 | 130µs | 2 | 4.43ms | # spent 2.22ms (7µs+2.21) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7 which was called: # once (7µs+2.21ms) by Module::Runtime::require_module at line 7 use Moose::Role; # spent 2.22ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7 # spent 2.21ms making 1 call to Moose::Role::import
8 |  |  |  |  |
9 | 1 | 3µs | 1 | 7.89ms | with 'Moose::Meta::Method::Accessor::Native::Reader', # spent 7.89ms making 1 call to Moose::Role::with
10 |  |  |  |  | 'Moose::Meta::Method::Accessor::Native::Hash';
11 |  |  |  |  |
12 | 3 | 8µs |  |  | # spent 4µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_minimum_arguments which was called 3 times, avg 1µs/call: # 3 times (4µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 74 of Moose/Meta/Method/Accessor/Native.pm, avg 1µs/call sub _minimum_arguments { 1 }
13 |  |  |  |  |
14 | 3 | 10µs |  |  | # spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments which was called 3 times, avg 2µs/call: # 3 times (5µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 85 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call sub _maximum_arguments { 1 }
15 |  |  |  |  |
16 |  |  |  |  | # spent 44µs (14+30) within Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments which was called 3 times, avg 15µs/call: # 3 times (14µs+30µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 33 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 15µs/call sub _inline_check_arguments {
17 | 3 | 2µs |  |  | my $self = shift;
18 |  |  |  |  |
19 | 3 | 13µs | 3 | 30µs | return $self->_inline_check_var_is_valid_key('$_[0]'); # spent 30µs making 3 calls to Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key, avg 10µs/call
20 |  |  |  |  | }
21 |  |  |  |  |
22 |  |  |  |  | # spent 12µs within Moose::Meta::Method::Accessor::Native::Hash::exists::_return_value which was called 3 times, avg 4µs/call: # 3 times (12µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 4µs/call sub _return_value {
23 | 3 | 700ns |  |  | my $self = shift;
24 | 3 | 2µs |  |  | my ($slot_access) = shift;
25 |  |  |  |  |
26 | 3 | 10µs |  |  | return 'exists ' . $slot_access . '->{ $_[0] }';
27 |  |  |  |  | }
28 |  |  |  |  |
29 | 2 | 27µs | 2 | 173µs | # spent 90µs (8+83) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29 which was called: # once (8µs+83µs) by Module::Runtime::require_module at line 29 no Moose::Role; # spent 90µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29 # spent 83µs making 1 call to Moose::Role::unimport
30 |  |  |  |  |
31 | 1 | 11µs |  |  | 1;