← 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:12:02 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/count.pm
StatementsExecuted 20 statements in 1.18ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11176µs95µsMoose::Meta::Method::Accessor::Native::Hash::count::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3
11146µs14.9msMoose::Meta::Method::Accessor::Native::Hash::count::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12
11144µs768µsMoose::Meta::Method::Accessor::Native::Hash::count::::BEGIN@26Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26
11142µs112µsMoose::Meta::Method::Accessor::Native::Hash::count::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4
11140µs211µsMoose::Meta::Method::Accessor::Native::Hash::count::::BEGIN@6Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6
0000s0sMoose::Meta::Method::Accessor::Native::Hash::count::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::count::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::count::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::count::_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::count;
2
33136µs2114µs
# spent 95µs (76+19) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 which was called: # once (76µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 3
use strict;
# spent 95µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@3 # spent 19µs making 1 call to strict::import
43115µs2182µs
# spent 112µs (42+70) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 which was called: # once (42µs+70µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 4
use warnings;
# spent 112µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@4 # spent 70µs making 1 call to warnings::import
5
63231µs2382µs
# spent 211µs (40+171) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 which was called: # once (40µs+171µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 6
use Scalar::Util qw( looks_like_number );
# spent 211µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@6 # spent 171µs making 1 call to Exporter::import
7
814µsour $VERSION = '1.19';
9180µs$VERSION = eval $VERSION;
# spent 10µs executing statements in string eval
1013µsour $AUTHORITY = 'cpan:STEVAN';
11
123393µs229.7ms
# spent 14.9ms (46µs+14.8) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@12 which was called: # once (46µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 12
use Moose::Role;
13
14130µs119.5mswith 'Moose::Meta::Method::Accessor::Native::Reader' =>
# spent 19.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 "scalar keys \%{ ($slot_access) }";
24}
25
263114µs21.49ms
# spent 768µs (44+724) within Moose::Meta::Method::Accessor::Native::Hash::count::BEGIN@26 which was called: # once (44µs+724µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@11 at line 26
no Moose::Role;
27
28177µs1;