← 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:14:55 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/Counter/dec.pm
StatementsExecuted 23 statements in 1.27ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11182µs102µsMoose::Meta::Method::Accessor::Native::Counter::dec::::BEGIN@3Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3
11150µs14.8msMoose::Meta::Method::Accessor::Native::Counter::dec::::BEGIN@10Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@10
11145µs774µsMoose::Meta::Method::Accessor::Native::Counter::dec::::BEGIN@37Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@37
11142µs111µsMoose::Meta::Method::Accessor::Native::Counter::dec::::BEGIN@4Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4
11121µs21µsMoose::Meta::Method::Accessor::Native::Counter::dec::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::Counter::dec::_inline_optimized_set_new_value
11117µs17µsMoose::Meta::Method::Accessor::Native::Counter::dec::::_potential_valueMoose::Meta::Method::Accessor::Native::Counter::dec::_potential_value
1119µs9µsMoose::Meta::Method::Accessor::Native::Counter::dec::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Counter::dec::_minimum_arguments
1118µs8µsMoose::Meta::Method::Accessor::Native::Counter::dec::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Counter::dec::_maximum_arguments
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::Counter::dec;
2
33115µs2121µs
# spent 102µs (82+19) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3 which was called: # once (82µs+19µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 3
use strict;
# spent 102µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@3 # spent 19µs making 1 call to strict::import
43246µs2179µs
# spent 111µs (42+68) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4 which was called: # once (42µs+68µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 4
use warnings;
# spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7180µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
813µsour $AUTHORITY = 'cpan:STEVAN';
9
103542µs229.6ms
# spent 14.8ms (50µs+14.8) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@10 which was called: # once (50µs+14.8ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 10
use Moose::Role;
11
12134µs132.9mswith 'Moose::Meta::Method::Accessor::Native::Writer' => {
# spent 32.9ms making 1 call to Moose::Role::with
13 -excludes => [
14 qw(
15 _minimum_arguments
16 _maximum_arguments
17 _inline_optimized_set_new_value
18 )
19 ]
20};
21
22118µs
# spent 9µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_minimum_arguments which was called: # once (9µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 66 of Moose/Meta/Method/Accessor/Native.pm
sub _minimum_arguments {0}
23116µs
# spent 8µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_maximum_arguments which was called: # once (8µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 80 of Moose/Meta/Method/Accessor/Native.pm
sub _maximum_arguments {1}
24
25
# spent 17µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_potential_value which was called: # once (17µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_writer_core at line 53 of Moose/Meta/Method/Accessor/Native/Writer.pm
sub _potential_value {
2614µs my ( $self, $slot_access ) = @_;
27
28120µs return "$slot_access - ( defined \$_[0] ? \$_[0] : 1 )";
29}
30
31
# spent 21µs within Moose::Meta::Method::Accessor::Native::Counter::dec::_inline_optimized_set_new_value which was called: # once (21µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_set_new_value at line 166 of Moose/Meta/Method/Accessor/Native/Writer.pm
sub _inline_optimized_set_new_value {
3217µs my ( $self, $inv, $new, $slot_access ) = @_;
33
34124µs return "$slot_access -= defined \$_[0] ? \$_[0] : 1";
35}
36
373112µs21.50ms
# spent 774µs (45+729) within Moose::Meta::Method::Accessor::Native::Counter::dec::BEGIN@37 which was called: # once (45µs+729µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@9 at line 37
no Moose::Role;
38
39142µs1;