← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:10:12 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Meta/Method/Accessor/Native/Hash/exists.pm
StatementsExecuted 20 statements in 1.35ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11177µs96µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3
11147µs807µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@42Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@42
11144µs14.8msMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@12
11140µs212µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@6Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6
11140µs108µsMoose::Meta::Method::Accessor::Native::Hash::exists::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::Hash::exists::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::exists::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::exists::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Hash::exists::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::exists::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::exists::_return_value
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;
2
33105µs2114µs
# spent 96µs (77+19) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3 which was called: # once (77µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 3
use strict;
# spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@3 # spent 18µs making 1 call to strict::import
43144µs2177µs
# spent 108µs (40+69) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 which was called: # once (40µs+69µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 4
use warnings;
# spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
63257µs2384µs
# spent 212µs (40+172) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6 which was called: # once (40µs+172µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 6
use Scalar::Util qw( looks_like_number );
# spent 212µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@6 # spent 172µs making 1 call to Exporter::import
7
814µsour $VERSION = '1.19';
9182µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
1013µsour $AUTHORITY = 'cpan:STEVAN';
11
123551µs229.6ms
# spent 14.8ms (44µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@12 which was called: # once (44µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 12
use Moose::Role;
13
14136µs131.4mswith 'Moose::Meta::Method::Accessor::Native::Reader' => {
# spent 31.4ms making 1 call to Moose::Role::with
15 -excludes => [
16 qw(
17 _minimum_arguments
18 _maximum_arguments
19 _inline_check_arguments
20 )
21 ],
22 },
23 'Moose::Meta::Method::Accessor::Native::Hash';
24
25sub _minimum_arguments { 1 }
26
27sub _maximum_arguments { 1 }
28
29sub _inline_check_arguments {
30 my $self = shift;
31
32 return $self->_inline_check_var_is_valid_key('$_[0]');
33}
34
35sub _return_value {
36 my $self = shift;
37 my $slot_access = shift;
38
39 return "exists ${slot_access}->{ \$_[0] }";
40}
41
423117µs21.57ms
# spent 807µs (47+760) within Moose::Meta::Method::Accessor::Native::Hash::exists::BEGIN@42 which was called: # once (47µs+760µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@15 at line 42
no Moose::Role;
43
44148µs1;