← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:39:01 2010
Reported on Wed Nov 17 22:04:59 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.31ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11192µs111µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@3Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3
11145µs114µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4
11143µs773µsMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@43Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@43
11143µs14.8msMoose::Meta::Method::Accessor::Native::Array::map::::BEGIN@12Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@12
11121µs21µ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
33135µs2130µs
# spent 111µs (92+19) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3 which was called: # once (92µs+19µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 3
use strict;
# spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@3 # spent 19µs making 1 call to strict::import
43117µs2182µs
# spent 114µs (45+69) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4 which was called: # once (45µs+69µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 4
use warnings;
# spent 114µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
63222µs121µs
# spent 21µs within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@6 which was called: # once (21µs+0s) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 6
use Params::Util ();
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
123560µs229.6ms
# spent 14.8ms (43µs+14.8) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@12 which was called: # once (43µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 12
use Moose::Role;
13
14134µs117.8mswith 'Moose::Meta::Method::Accessor::Native::Reader' => {
# spent 17.8ms 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
433109µs21.50ms
# spent 773µs (43+730) within Moose::Meta::Method::Accessor::Native::Array::map::BEGIN@43 which was called: # once (43µs+730µs) by Moose::Meta::Attribute::Native::Trait::Array::BEGIN@20 at line 43
no Moose::Role;
44
45146µs1;