← 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:49 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/chomp.pm
StatementsExecuted 17 statements in 1.23ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11187µs106µsMoose::Meta::Method::Accessor::Native::String::chomp::::BEGIN@3Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@3
11147µs814µsMoose::Meta::Method::Accessor::Native::String::chomp::::BEGIN@42Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@42
11143µs14.8msMoose::Meta::Method::Accessor::Native::String::chomp::::BEGIN@10Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@10
11141µs110µsMoose::Meta::Method::Accessor::Native::String::chomp::::BEGIN@4Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::String::chomp::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::String::chomp::_inline_optimized_set_new_value
0000s0sMoose::Meta::Method::Accessor::Native::String::chomp::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::String::chomp::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::chomp::::_potential_valueMoose::Meta::Method::Accessor::Native::String::chomp::_potential_value
0000s0sMoose::Meta::Method::Accessor::Native::String::chomp::::_return_valueMoose::Meta::Method::Accessor::Native::String::chomp::_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::chomp;
2
33103µs2124µs
# spent 106µs (87+19) within Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@3 which was called: # once (87µs+19µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@9 at line 3
use strict;
# spent 106µs making 1 call to Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@3 # spent 19µs making 1 call to strict::import
43234µs2179µs
# spent 110µs (41+69) within Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@4 which was called: # once (41µs+69µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@9 at line 4
use warnings;
# spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7180µs$VERSION = eval $VERSION;
# spent 12µs executing statements in string eval
814µsour $AUTHORITY = 'cpan:STEVAN';
9
103603µs229.5ms
# spent 14.8ms (43µs+14.7) within Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@10 which was called: # once (43µs+14.7ms) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@9 at line 10
use Moose::Role;
11
12134µs132.8mswith 'Moose::Meta::Method::Accessor::Native::Writer' => {
# spent 32.8ms 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 = chomp \$val; \$val } )";
28}
29
30sub _inline_optimized_set_new_value {
31 my ( $self, $inv, $new, $slot_access ) = @_;
32
33 return "\@return = chomp $slot_access";
34}
35
36sub _return_value {
37 my ( $self, $slot_access ) = @_;
38
39 return '$return[0]';
40}
41
423118µs21.58ms
# spent 814µs (47+767) within Moose::Meta::Method::Accessor::Native::String::chomp::BEGIN@42 which was called: # once (47µs+767µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@9 at line 42
no Moose::Role;
43
44144µs1;