← 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:14:48 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/defined.pm
StatementsExecuted 20 statements in 1.30ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11176µs95µsMoose::Meta::Method::Accessor::Native::Hash::defined::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3
11146µs14.8msMoose::Meta::Method::Accessor::Native::Hash::defined::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@12
11144µs124µsMoose::Meta::Method::Accessor::Native::Hash::defined::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4
11144µs768µsMoose::Meta::Method::Accessor::Native::Hash::defined::::BEGIN@42Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@42
11139µs210µsMoose::Meta::Method::Accessor::Native::Hash::defined::::BEGIN@6Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6
0000s0sMoose::Meta::Method::Accessor::Native::Hash::defined::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Hash::defined::_inline_check_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::defined::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::defined::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::defined::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Hash::defined::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::defined::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::defined::_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::defined;
2
33107µs2114µs
# spent 95µs (76+19) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3 which was called: # once (76µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 3
use strict;
# spent 95µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@3 # spent 19µs making 1 call to strict::import
43120µs2203µs
# spent 124µs (44+79) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4 which was called: # once (44µs+79µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 4
use warnings;
# spent 124µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@4 # spent 79µs making 1 call to warnings::import
5
63231µs2382µs
# spent 210µs (39+172) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6 which was called: # once (39µs+172µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 6
use Scalar::Util qw( looks_like_number );
# spent 210µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@6 # spent 172µs making 1 call to Exporter::import
7
814µsour $VERSION = '1.19';
9177µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
1013µsour $AUTHORITY = 'cpan:STEVAN';
11
123561µs229.5ms
# spent 14.8ms (46µs+14.7) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@12 which was called: # once (46µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 12
use Moose::Role;
13
14134µs130.6mswith 'Moose::Meta::Method::Accessor::Native::Reader' => {
# spent 30.6ms 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 "defined ${slot_access}->{ \$_[0] }";
40}
41
423114µs21.49ms
# spent 768µs (44+723) within Moose::Meta::Method::Accessor::Native::Hash::defined::BEGIN@42 which was called: # once (44µs+723µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@12 at line 42
no Moose::Role;
43
44146µs1;