← 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:15 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/Array/map.pm
StatementsExecuted 20 statements in 1.34ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11178µs96µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@3Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3
11147µs866µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@43Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@43
11143µs14.7msMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@12Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@12
11141µs108µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4
11120µs20µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@6Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@6
0000s0sMoose::Meta::Method::Accessor::Native::Array::map::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Array::map::_inline_check_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Array::map::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Array::map::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Array::map::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Array::map::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Array::map::::_return_valueMoose::Meta::Method::Accessor::Native::Array::map::_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::Array::map;
2
33106µs2114µs
# spent 96µs (78+18) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3 which was called: # once (78µs+18µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 3
use strict;
# spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3 # spent 18µs making 1 call to strict::import
43100µs2176µs
# spent 108µs (41+67) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4 which was called: # once (41µs+67µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 4
use warnings;
# spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4 # spent 67µs making 1 call to warnings::import
5
63238µs120µs
# spent 20µs within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@6 which was called: # once (20µs+0s) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 6
use Params::Util ();
7
814µsour $VERSION = '1.19';
9195µs$VERSION = eval $VERSION;
# spent 37µs executing statements in string eval
1014µsour $AUTHORITY = 'cpan:STEVAN';
11
123589µs229.4ms
# spent 14.7ms (43µs+14.7) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@12 which was called: # once (43µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 12
use Moose::Role;
13
14135µs117.9mswith 'Moose::Meta::Method::Accessor::Native::Reader' => {
# spent 17.9ms 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
24sub _minimum_arguments { 1 }
25
26sub _maximum_arguments { 1 }
27
28sub _inline_check_arguments {
29 my $self = shift;
30
31 return $self->_inline_throw_error(
32 q{'The argument passed to map must be a code reference'})
33 . q{ unless Params::Util::_CODELIKE( $_[0] );};
34}
35
36sub _return_value {
37 my $self = shift;
38 my $slot_access = shift;
39
40 return "map { \$_[0]->() } \@{ ($slot_access) }";
41}
42
433120µs21.69ms
# spent 866µs (47+820) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@43 which was called: # once (47µs+820µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 43
no Moose::Role;
44
45146µs1;