← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:42:38 2010
Reported on Wed Nov 17 22:08:49 2010

Filename/home/doy/coding/src/Moose/blib/lib//Moose/Meta/Method/Accessor/Native/Array/push.pm
StatementsExecuted 29 statements in 1.36ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11184µs101µsMoose::Meta::Method::Accessor::Native::Array::push::::BEGIN@3Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@3
11144µs768µsMoose::Meta::Method::Accessor::Native::Array::push::::BEGIN@44Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@44
11142µs13.9msMoose::Meta::Method::Accessor::Native::Array::push::::BEGIN@10Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@10
11141µs110µsMoose::Meta::Method::Accessor::Native::Array::push::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@4
22235µs35µsMoose::Meta::Method::Accessor::Native::Array::push::::_return_valueMoose::Meta::Method::Accessor::Native::Array::push::_return_value
11124µs24µsMoose::Meta::Method::Accessor::Native::Array::push::::_inline_optimized_set_new_valueMoose::Meta::Method::Accessor::Native::Array::push::_inline_optimized_set_new_value
11120µs20µsMoose::Meta::Method::Accessor::Native::Array::push::::_potential_valueMoose::Meta::Method::Accessor::Native::Array::push::_potential_value
0000s0sMoose::Meta::Method::Accessor::Native::Array::push::::_adds_membersMoose::Meta::Method::Accessor::Native::Array::push::_adds_members
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::Array::push;
2
33104µs2119µs
# spent 101µs (84+17) within Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@3 which was called: # once (84µs+17µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 3
use strict;
# spent 101µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@3 # spent 17µs making 1 call to strict::import
43225µs2178µs
# spent 110µs (41+69) within Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@4 which was called: # once (41µs+69µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4
use warnings;
# spent 110µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@4 # spent 69µs making 1 call to warnings::import
5
614µsour $VERSION = '1.19';
7174µs$VERSION = eval $VERSION;
# spent 11µs executing statements in string eval
814µsour $AUTHORITY = 'cpan:STEVAN';
9
103637µs227.7ms
# spent 13.9ms (42µs+13.8) within Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@10 which was called: # once (42µs+13.8ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 10
use Moose::Role;
11
12133µs1193mswith 'Moose::Meta::Method::Accessor::Native::Array::Writer' => {
# spent 193ms making 1 call to Moose::Role::with
13 -excludes => [
14 qw(
15 _inline_optimized_set_new_value
16 _return_value
17 )
18 ]
19};
20
21sub _adds_members { 1 }
22
23
# spent 20µs within Moose::Meta::Method::Accessor::Native::Array::push::_potential_value which was called: # once (20µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_writer_core at line 37 of Moose/Meta/Method/Accessor/Native/Writer.pm
sub _potential_value {
2413µs my $self = shift;
2514µs my ($slot_access) = @_;
26
27123µs return '[ @{ (' . $slot_access . ') }, @_ ]';
28}
29
30
# spent 24µs within Moose::Meta::Method::Accessor::Native::Array::push::_inline_optimized_set_new_value which was called: # once (24µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_set_new_value at line 155 of Moose/Meta/Method/Accessor/Native/Writer.pm
sub _inline_optimized_set_new_value {
3113µs my $self = shift;
3216µs my ($inv, $new, $slot_access) = @_;
33
34132µs return 'push @{ (' . $slot_access . ') }, @_;';
35}
36
37
# spent 35µs within Moose::Meta::Method::Accessor::Native::Array::push::_return_value which was called 2 times, avg 18µs/call: # once (20µs+0s) by Moose::Meta::Method::Accessor::Native::Writer::_inline_writer_core at line 48 of Moose/Meta/Method/Accessor/Native/Writer.pm # once (16µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 101 of Moose/Meta/Method/Accessor/Native.pm
sub _return_value {
3826µs my $self = shift;
3926µs my ($slot_access) = @_;
40
41239µs return 'scalar @{ (' . $slot_access . ') }';
42}
43
443110µs21.49ms
# spent 768µs (44+724) within Moose::Meta::Method::Accessor::Native::Array::push::BEGIN@44 which was called: # once (44µs+724µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 44
no Moose::Role;
45
46143µs1;