← 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/Counter/set.pm
StatementsExecuted 17 statements in 1.20ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11178µs96µsMoose::Meta::Method::Accessor::Native::Counter::set::::BEGIN@3Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3
11146µs789µsMoose::Meta::Method::Accessor::Native::Counter::set::::BEGIN@33Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@33
11144µs15.1msMoose::Meta::Method::Accessor::Native::Counter::set::::BEGIN@10Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@10
11142µs111µsMoose::Meta::Method::Accessor::Native::Counter::set::::BEGIN@4Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::Counter::set::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::Counter::set::_inline_optimized_set_new_value
0000s0sMoose::Meta::Method::Accessor::Native::Counter::set::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Counter::set::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Counter::set::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Counter::set::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Counter::set::::_potential_valueMoose::Meta::Method::Accessor::Native::Counter::set::_potential_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::Counter::set;
2
33106µs2115µs
# spent 96µs (78+18) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3 which was called: # once (78µs+18µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 3
use strict;
# spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@3 # spent 18µs making 1 call to strict::import
43278µs2180µs
# spent 111µs (42+69) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4 which was called: # once (42µs+69µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 4
use warnings;
# spent 111µs making 1 call to Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7181µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
813µsour $AUTHORITY = 'cpan:STEVAN';
9
103532µs230.2ms
# spent 15.1ms (44µs+15.1) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@10 which was called: # once (44µs+15.1ms) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 10
use Moose::Role;
11
12134µs132.3mswith 'Moose::Meta::Method::Accessor::Native::Writer' => {
# spent 32.3ms 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
22sub _minimum_arguments {1}
23sub _maximum_arguments {1}
24
25sub _potential_value {'$_[0]'}
26
27sub _inline_optimized_set_new_value {
28 my ( $self, $inv, $new, $slot_access ) = @_;
29
30 return "$slot_access = \$_[0];";
31}
32
333115µs21.53ms
# spent 789µs (46+743) within Moose::Meta::Method::Accessor::Native::Counter::set::BEGIN@33 which was called: # once (46µs+743µs) by Moose::Meta::Attribute::Native::Trait::Counter::BEGIN@12 at line 33
no Moose::Role;
34
35144µs1;