← 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/is_empty.pm
StatementsExecuted 20 statements in 1.22ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11180µs99µsMoose::Meta::Method::Accessor::Native::Hash::is_empty::::BEGIN@3Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3
11146µs15.7msMoose::Meta::Method::Accessor::Native::Hash::is_empty::::BEGIN@12Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@12
11145µs763µsMoose::Meta::Method::Accessor::Native::Hash::is_empty::::BEGIN@26Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@26
11140µs211µsMoose::Meta::Method::Accessor::Native::Hash::is_empty::::BEGIN@6Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6
11139µs109µsMoose::Meta::Method::Accessor::Native::Hash::is_empty::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::Hash::is_empty::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::is_empty::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Hash::is_empty::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::is_empty::_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::is_empty;
2
33104µs2118µs
# spent 99µs (80+19) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3 which was called: # once (80µs+19µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 3
use strict;
# spent 99µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@3 # spent 19µs making 1 call to strict::import
43126µs2178µs
# spent 109µs (39+70) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4 which was called: # once (39µs+70µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 4
use warnings;
# spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@4 # spent 70µs making 1 call to warnings::import
5
63301µs2382µs
# spent 211µs (40+171) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6 which was called: # once (40µs+171µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 6
use Scalar::Util qw( looks_like_number );
# spent 211µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@6 # spent 171µs making 1 call to Exporter::import
7
814µsour $VERSION = '1.19';
9185µs$VERSION = eval $VERSION;
# spent 12µs executing statements in string eval
1013µsour $AUTHORITY = 'cpan:STEVAN';
11
123406µs231.3ms
# spent 15.7ms (46µs+15.6) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@12 which was called: # once (46µs+15.6ms) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 12
use Moose::Role;
13
14131µs119.3mswith 'Moose::Meta::Method::Accessor::Native::Reader' =>
# spent 19.3ms 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) } ? 0 : 1";
24}
25
263111µs21.48ms
# spent 763µs (45+718) within Moose::Meta::Method::Accessor::Native::Hash::is_empty::BEGIN@26 which was called: # once (45µs+718µs) by Moose::Meta::Attribute::Native::Trait::Hash::BEGIN@17 at line 26
no Moose::Role;
27
28144µs1;