← Index
NYTProf Performance Profile   « block view • line view • sub view »
For script/nytprof.pl
  Run on Thu May 31 16:29:39 2012
Reported on Thu May 31 16:40:00 2012

Filename/Users/edenc/perl5/lib/perl5/darwin-multi-2level/Moose/Meta/Method/Accessor/Native/Hash.pm
StatementsExecuted 30 statements in 253µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
62261µs804µsMoose::Meta::Method::Accessor::Native::Hash::::_inline_check_var_is_valid_keyMoose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key
11111µs11µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@2Moose::Meta::Method::Accessor::Native::Hash::BEGIN@2
1119µs12µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@9Moose::Meta::Method::Accessor::Native::Hash::BEGIN@9
1118µs112µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@28Moose::Meta::Method::Accessor::Native::Hash::BEGIN@28
1118µs2.50msMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::BEGIN@12
1117µs13µsMoose::Meta::Method::Accessor::Native::Hash::::BEGIN@10Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10
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
# spent 11µs within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@2 which was called: # once (11µs+0s) by Module::Runtime::require_module at line 4
BEGIN {
315µs $Moose::Meta::Method::Accessor::Native::Hash::AUTHORITY = 'cpan:STEVAN';
4134µs111µs}
5{
62900ns $Moose::Meta::Method::Accessor::Native::Hash::VERSION = '2.0602';
7}
8
9223µs216µs
# spent 12µs (9+3) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@9 which was called: # once (9µs+3µs) by Module::Runtime::require_module at line 9
use strict;
# spent 12µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@9 # spent 3µs making 1 call to strict::import
10222µs219µs
# spent 13µs (7+6) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 which was called: # once (7µs+6µs) by Module::Runtime::require_module at line 10
use warnings;
# spent 13µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::BEGIN@10 # spent 6µs making 1 call to warnings::import
11
12285µs25.00ms
# spent 2.50ms (8µs+2.50) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@12 which was called: # once (8µs+2.50ms) by Module::Runtime::require_module at line 12
use Moose::Role;
13
14
# spent 804µs (61+744) within Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key which was called 6 times, avg 134µs/call: # 4 times (40µs+501µs) by Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments at line 32 of Moose/Meta/Method/Accessor/Native/Hash/get.pm, avg 135µs/call # 2 times (21µs+243µs) by Moose::Meta::Method::Accessor::Native::Hash::exists::_inline_check_arguments at line 34 of Moose/Meta/Method/Accessor/Native/Hash/exists.pm, avg 132µs/call
sub _inline_check_var_is_valid_key {
1562µs my $self = shift;
1665µs my ($var) = @_;
17
18 return (
19641µs12744µs 'if (!defined(' . $var . ')) {',
# spent 735µs making 6 calls to Moose::Meta::Method::_inline_throw_error, avg 123µs/call # spent 8µs making 6 calls to Moose::Meta::Method::Delegation::delegate_to_method, avg 1µs/call
20 $self->_inline_throw_error(
21 '"The key passed to ' . $self->delegate_to_method
22 . ' must be a defined value"',
23 ) . ';',
24 '}',
25 );
26}
27
28231µs2215µs
# spent 112µs (8+103) within Moose::Meta::Method::Accessor::Native::Hash::BEGIN@28 which was called: # once (8µs+103µs) by Module::Runtime::require_module at line 28
no Moose::Role;
29
3014µs1;