← 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:46 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.pm
StatementsExecuted 20 statements in 1.03ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
211102µs146µsMoose::Meta::Method::Accessor::Native::Hash::::_inline_check_var_is_valid_keyMoose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key
11178µs97µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3
11176µs806µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@21Moose::Meta::Method::Accessor::Native::Hash::BEGIN@21
11145µs14.7msMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@10Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10
11140µs108µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4
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;
2
33107µs2115µs
# spent 97µs (78+18) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3 which was called: # once (78µs+18µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 3
use strict;
# spent 97µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3 # spent 18µs making 1 call to strict::import
43235µs2175µs
# spent 108µs (40+68) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 which was called: # once (40µs+68µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 4
use warnings;
# spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7186µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
813µsour $AUTHORITY = 'cpan:STEVAN';
9
103378µs229.4ms
# spent 14.7ms (45µs+14.7) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 which was called: # once (45µs+14.7ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 10
use Moose::Role;
11
12
# spent 146µs (102+45) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 2 times, avg 73µs/call: # 2 times (102µs+45µs) by Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments at line 30 of Moose/Meta/Method/Accessor/Native/Hash/get.pm, avg 73µs/call
sub _inline_check_var_is_valid_key {
1329µs my ( $self, $var ) = @_;
14
15276µs444µs return $self->_inline_throw_error( q{'The key passed to }
# spent 27µs making 2 calls to Moose::Meta::Method::_inline_throw_error, avg 14µs/call # spent 17µs making 2 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 9µs/call
16 . $self->delegate_to_method
17 . q{ must be a defined value'} )
18 . qq{ unless defined $var;};
19}
20
213116µs21.54ms
# spent 806µs (76+730) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@21 which was called: # once (76µs+730µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 21
no Moose::Role;
22
23112µs1;