← 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:12 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/elements.pm
StatementsExecuted 20 statements in 1.35ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111149µs168µsMoose::Meta::Method::Accessor::Native::Hash::elements::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3
11161µs1.04msMoose::Meta::Method::Accessor::Native::Hash::elements::::BEGIN@26Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@26
11153µs18.5msMoose::Meta::Method::Accessor::Native::Hash::elements::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@12
11141µs216µsMoose::Meta::Method::Accessor::Native::Hash::elements::::BEGIN@6Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6
11141µs109µsMoose::Meta::Method::Accessor::Native::Hash::elements::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::Hash::elements::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::elements::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::elements::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::elements::_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::Hash::elements;
2
33115µs2188µs
# spent 168µs (149+19) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3 which was called: # once (149µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 3
use strict;
# spent 168µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@3 # spent 19µs making 1 call to strict::import
43117µs2177µs
# spent 109µs (41+68) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4 which was called: # once (41µs+68µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 4
use warnings;
# spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
63280µs2392µs
# spent 216µs (41+175) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6 which was called: # once (41µs+175µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 6
use Scalar::Util qw( looks_like_number );
# spent 216µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@6 # spent 175µs making 1 call to Exporter::import
7
815µsour $VERSION = '1.19';
91103µs$VERSION = eval $VERSION;
# spent 14µs executing statements in string eval
1015µsour $AUTHORITY = 'cpan:STEVAN';
11
123507µs236.9ms
# spent 18.5ms (53µs+18.4) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@12 which was called: # once (53µs+18.4ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 12
use Moose::Role;
13
14138µs122.5mswith 'Moose::Meta::Method::Accessor::Native::Reader' =>
# spent 22.5ms making 1 call to Moose::Role::with
15 { -excludes => ['_maximum_arguments'] };
16
17sub _maximum_arguments { 0 }
18
19sub _return_value {
20 my $self = shift;
21 my $slot_access = shift;
22
23 return "map { \$_, ${slot_access}->{\$_} } keys \%{ ($slot_access) }";
24}
25
263143µs22.02ms
# spent 1.04ms (61µs+980µs) within Moose::Meta::Method::Accessor::Native::Hash::elements::BEGIN@26 which was called: # once (61µs+980µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@14 at line 26
no Moose::Role;
27
28143µs1;