← 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
StatementsExecuted 32 statements in 262µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
31114µs44µsMoose::Meta::Method::Accessor::Native::Hash::exists::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments
11113µs28µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4
31112µs12µsMoose::Meta::Method::Accessor::Native::Hash::exists::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::exists::_return_value
1118µs90µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@29Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@29
1118µs14µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@5
1117µs2.22msMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@7
3115µs5µsMoose::Meta::Method::Accessor::Native::Hash::exists::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments
3114µs4µsMoose::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
1package Moose::Meta::Method::Accessor::Native::Hash::exists;
21400nsour $VERSION = '2.1604';
3
4224µs242µ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
5221µs221µ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
72130µs24.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
913µs17.89mswith 'Moose::Meta::Method::Accessor::Native::Reader',
# spent 7.89ms making 1 call to Moose::Role::with
10 'Moose::Meta::Method::Accessor::Native::Hash';
11
1238µ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
14310µ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 {
1732µs my $self = shift;
18
19313µs330µ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 {
233700ns my $self = shift;
2432µs my ($slot_access) = shift;
25
26310µs return 'exists ' . $slot_access . '->{ $_[0] }';
27}
28
29227µs2173µ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
31111µs1;