← 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:15 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/prepend.pm
StatementsExecuted 17 statements in 1.24ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11179µs97µsMoose::Meta::Method::Accessor::Native::String::prepend::::BEGIN@3Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@3
11149µs844µsMoose::Meta::Method::Accessor::Native::String::prepend::::BEGIN@38Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@38
11144µs14.9msMoose::Meta::Method::Accessor::Native::String::prepend::::BEGIN@10Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@10
11140µs108µsMoose::Meta::Method::Accessor::Native::String::prepend::::BEGIN@4Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@4
0000s0sMoose::Meta::Method::Accessor::Native::String::prepend::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::String::prepend::_inline_optimized_set_new_value
0000s0sMoose::Meta::Method::Accessor::Native::String::prepend::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::String::prepend::_maximum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::prepend::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::String::prepend::_minimum_arguments
0000s0sMoose::Meta::Method::Accessor::Native::String::prepend::::_potential_valueMoose::Meta::Method::Accessor::Native::String::prepend::_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::String::prepend;
2
33105µs2115µs
# spent 97µs (79+18) within Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@3 which was called: # once (79µs+18µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@15 at line 3
use strict;
# spent 97µs making 1 call to Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@3 # spent 18µs making 1 call to strict::import
43241µs2175µs
# spent 108µs (40+68) within Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@4 which was called: # once (40µs+68µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@15 at line 4
use warnings;
# spent 108µs making 1 call to Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@4 # spent 68µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7182µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
814µsour $AUTHORITY = 'cpan:STEVAN';
9
103603µs229.8ms
# spent 14.9ms (44µs+14.9) within Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@10 which was called: # once (44µs+14.9ms) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@15 at line 10
use Moose::Role;
11
12134µs132.5mswith 'Moose::Meta::Method::Accessor::Native::Writer' => {
# spent 32.5ms 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 }
23
24sub _maximum_arguments { 1 }
25
26sub _potential_value {
27 my ( $self, $slot_access ) = @_;
28
29 return "( \$_[0] . $slot_access )";
30}
31
32sub _inline_optimized_set_new_value {
33 my ( $self, $inv, $new, $slot_access ) = @_;
34
35 return "$slot_access = \$_[0] . $slot_access";
36}
37
383119µs21.64ms
# spent 844µs (49+795) within Moose::Meta::Method::Accessor::Native::String::prepend::BEGIN@38 which was called: # once (49µs+795µs) by Moose::Meta::Attribute::Native::Trait::String::BEGIN@15 at line 38
no Moose::Role;
39
40148µs1;