← 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.pm
StatementsExecuted 28 statements in 228µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
62263µs79µsMoose::Meta::Method::Accessor::Native::Hash::::_inline_check_var_is_valid_keyMoose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key
11112µs29µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4
11111µs18µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::BEGIN@5
1118µs88µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@26Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26
1117µs2.33msMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::BEGIN@7
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;
21300nsour $VERSION = '2.1604';
3
4224µs245µs
# spent 29µs (12+16) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 which was called: # once (12µs+16µs) by Module::Runtime::require_module at line 4
use strict;
# spent 29µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 # spent 16µs making 1 call to strict::import
5221µs225µs
# spent 18µs (11+7) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@5 which was called: # once (11µs+7µs) by Module::Runtime::require_module at line 5
use warnings;
# spent 18µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@5 # spent 7µs making 1 call to warnings::import
6
72102µs24.65ms
# spent 2.33ms (7µs+2.32) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@7 which was called: # once (7µs+2.32ms) by Module::Runtime::require_module at line 7
use Moose::Role;
# spent 2.33ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@7 # spent 2.32ms making 1 call to Moose::Role::import
8
9
# spent 79µs (63+16) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 6 times, avg 13µs/call: # 3 times (40µs+9µs) by Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments at line 18 of Moose/Meta/Method/Accessor/Native/Hash/get.pm, avg 16µs/call # 3 times (23µs+7µs) by Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments at line 19 of Moose/Meta/Method/Accessor/Native/Hash/exists.pm, avg 10µs/call
sub _inline_check_var_is_valid_key {
1062µs my $self = shift;
1163µs my ($var) = @_;
12
13 return (
14647µs1216µs 'if (!defined(' . $var . ')) {',
# spent 11µs making 6 calls to Class::MOP::Method::Accessor::_inline_throw_exception, avg 2µs/call # spent 6µs making 6 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 917ns/call
15 $self->_inline_throw_exception( InvalidArgumentToMethod =>
16 'argument => '.$var.','.
17 'method_name => "'.$self->delegate_to_method.'",'.
18 'type_of_argument => "defined value",'.
19 'type => "Defined",'.
20 'argument_noun => "key"',
21 ) . ';',
22 '}',
23 );
24}
25
26224µs2169µs
# spent 88µs (8+80) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26 which was called: # once (8µs+80µs) by Module::Runtime::require_module at line 26
no Moose::Role;
# spent 88µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26 # spent 80µs making 1 call to Moose::Role::unimport
27
2813µs1;