← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 22:00:36 2010
Reported on Wed Nov 17 22:11:54 2010

Filename/home/doy/coding/src/Moose/blib/lib//Moose/Meta/Method/Accessor/Native/Hash.pm
StatementsExecuted 22 statements in 1.02ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
211119µs165µsMoose::Meta::Method::Accessor::Native::Hash::::_inline_check_var_is_valid_keyMoose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key
11180µs97µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3
11145µs771µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@26Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26
11145µs13.8msMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@10Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10
11141µs109µ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
33110µs2115µs
# spent 97µs (80+18) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@3 which was called: # once (80µs+18µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//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
43233µs2176µs
# spent 109µs (41+67) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 which was called: # once (41µs+67µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4
use warnings;
# spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@4 # spent 67µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7182µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
813µsour $AUTHORITY = 'cpan:STEVAN';
9
103367µs227.6ms
# spent 13.8ms (45µs+13.8) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 which was called: # once (45µs+13.8ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 10
use Moose::Role;
11
12
# spent 165µs (119+46) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 2 times, avg 83µs/call: # 2 times (119µs+46µ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 83µs/call
sub _inline_check_var_is_valid_key {
13696µs my $self = shift;
14 my ($var) = @_;
15
16 return (
17446µs 'if (!defined(' . $var . ')) {',
# spent 27µs making 2 calls to Moose::Meta::Method::_inline_throw_error, avg 14µs/call # spent 18µs making 2 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 9µs/call
18 $self->_inline_throw_error(
19 '"The key passed to ' . $self->delegate_to_method
20 . ' must be a defined value"',
21 ) . ';',
22 '}',
23 );
24}
25
263112µs21.50ms
# spent 771µs (45+726) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@26 which was called: # once (45µs+726µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 26
no Moose::Role;
27
28112µs1;