← 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:15:31 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/String/chop.pm
StatementsExecuted 17 statements in 1.21ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11179µs98µsMoose::Meta::Method::Accessor::Native::String::chop::::BEGIN@3Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@3
11145µs805µsMoose::Meta::Method::Accessor::Native::String::chop::::BEGIN@42Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@42
11143µs14.7msMoose::Meta::Method::Accessor::Native::String::chop::::BEGIN@10Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@10
11140µs109µsMoose::Meta::Method::Accessor::Native::String::chop::::BEGIN@4Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::String::chop::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::String::chop::_inline_optimized_set_new_value
0000s0sMoose::Meta::Method::Accessor::Native::String::chop::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::String::chop::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::chop::::_potential_valueMoose::Meta::Method::Accessor::Native::String::chop::_potential_value
0000s0sMoose::Meta::Method::Accessor::Native::String::chop::::_return_valueMoose::Meta::Method::Accessor::Native::String::chop::_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::String::chop;
2
33105µs2118µs
# spent 98µs (79+19) within Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@3 which was called: # once (79µs+19µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@10 at line 3
use strict;
# spent 98µs making 1 call to Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@3 # spent 19µs making 1 call to strict::import
43235µs2178µs
# spent 109µs (40+69) within Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@4 which was called: # once (40µs+69µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@10 at line 4
use warnings;
# spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7190µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
814µsour $AUTHORITY = 'cpan:STEVAN';
9
103576µs229.3ms
# spent 14.7ms (43µs+14.6) within Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@10 which was called: # once (43µs+14.6ms) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@10 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 _maximum_arguments
16 _inline_optimized_set_new_value
17 _return_value
18 )
19 ]
20};
21
22sub _maximum_arguments { 0 }
23
24sub _potential_value {
25 my ( $self, $slot_access ) = @_;
26
27 return "( do { my \$val = $slot_access; \@return = chop \$val; \$val } )";
28}
29
30sub _inline_optimized_set_new_value {
31 my ( $self, $inv, $new, $slot_access ) = @_;
32
33 return "\@return = chop $slot_access";
34}
35
36sub _return_value {
37 my ( $self, $slot_access ) = @_;
38
39 return '$return[0]';
40}
41
423115µs21.57ms
# spent 805µs (45+760) within Moose::Meta::Method::Accessor::Native::String::chop::BEGIN@42 which was called: # once (45µs+760µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@10 at line 42
no Moose::Role;
43
44146µs1;