← 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: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/Bool/toggle.pm
StatementsExecuted 17 statements in 1.13ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11177µs96µsMoose::Meta::Method::Accessor::Native::Bool::toggle::::BEGIN@3Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@3
11146µs776µsMoose::Meta::Method::Accessor::Native::Bool::toggle::::BEGIN@35Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@35
11143µs14.9msMoose::Meta::Method::Accessor::Native::Bool::toggle::::BEGIN@10Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@10
11142µs110µsMoose::Meta::Method::Accessor::Native::Bool::toggle::::BEGIN@4Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::Bool::toggle::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::Bool::toggle::_inline_optimized_set_new_value
0000s0sMoose::Meta::Method::Accessor::Native::Bool::toggle::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Bool::toggle::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::Bool::toggle::::_potential_valueMoose::Meta::Method::Accessor::Native::Bool::toggle::_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::Bool::toggle;
2
33106µs2114µs
# spent 96µs (77+18) within Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@3 which was called: # once (77µs+18µs) by Moose::Meta::Attribute::Native::Trait::Bool::BEGIN@10 at line 3
use strict;
# spent 96µs making 1 call to Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@3 # spent 18µs making 1 call to strict::import
43245µs2179µs
# spent 110µs (42+68) within Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@4 which was called: # once (42µs+68µs) by Moose::Meta::Attribute::Native::Trait::Bool::BEGIN@10 at line 4
use warnings;
# spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7179µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
813µsour $AUTHORITY = 'cpan:STEVAN';
9
103506µs229.8ms
# spent 14.9ms (43µs+14.9) within Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@10 which was called: # once (43µs+14.9ms) by Moose::Meta::Attribute::Native::Trait::Bool::BEGIN@10 at line 10
use Moose::Role;
11
12131µs134.2mswith 'Moose::Meta::Method::Accessor::Native::Writer' => {
# spent 34.2ms making 1 call to Moose::Role::with
13 -excludes => [
14 qw(
15 _maximum_arguments
16 _inline_optimized_set_new_value
17 )
18 ]
19};
20
21sub _maximum_arguments { 0 }
22
23sub _potential_value {
24 my ( $self, $slot_access ) = @_;
25
26 return "$slot_access ? 0 : 1";
27}
28
29sub _inline_optimized_set_new_value {
30 my ( $self, $inv, $new, $slot_access ) = @_;
31
32 return "$slot_access = $slot_access ? 0 : 1";
33}
34
353113µs21.51ms
# spent 776µs (46+729) within Moose::Meta::Method::Accessor::Native::Bool::toggle::BEGIN@35 which was called: # once (46µs+729µs) by Moose::Meta::Attribute::Native::Trait::Bool::BEGIN@10 at line 35
no Moose::Role;
36
37146µs1;