← Index
NYTProf Performance Profile   « line view »
For script/ponapi
  Run on Wed Feb 10 15:51:26 2016
Reported on Thu Feb 11 09:43:11 2016

Filename/usr/local/lib/perl/5.18.2/Moose/Meta/Method/Accessor/Native/Array/get.pm
StatementsExecuted 25 statements in 244µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs28µsMoose::Meta::Method::Accessor::Native::Array::get::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@4
2119µs72µsMoose::Meta::Method::Accessor::Native::Array::get::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments
1118µs2.25msMoose::Meta::Method::Accessor::Native::Array::get::::BEGIN@9Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9
1117µs16µsMoose::Meta::Method::Accessor::Native::Array::get::::BEGIN@5Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@5
2116µs6µsMoose::Meta::Method::Accessor::Native::Array::get::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Array::get::_maximum_arguments
2116µs6µsMoose::Meta::Method::Accessor::Native::Array::get::::_return_valueMoose::Meta::Method::Accessor::Native::Array::get::_return_value
1115µs5µsMoose::Meta::Method::Accessor::Native::Array::get::::BEGIN@7Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@7
2114µs4µsMoose::Meta::Method::Accessor::Native::Array::get::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Array::get::_minimum_arguments
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::get;
21400nsour $VERSION = '2.1604';
3
4225µs244µs
# spent 28µs (13+15) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@4 which was called: # once (13µs+15µs) by Module::Runtime::require_module at line 4
use strict;
# spent 28µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@4 # spent 15µs making 1 call to strict::import
5220µs225µs
# spent 16µs (7+9) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@5 which was called: # once (7µs+9µs) by Module::Runtime::require_module at line 5
use warnings;
# spent 16µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@5 # spent 9µs making 1 call to warnings::import
6
7223µs15µs
# spent 5µs within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@7 which was called: # once (5µs+0s) by Module::Runtime::require_module at line 7
use Class::MOP::MiniTrait;
8
92129µs24.50ms
# spent 2.25ms (8µs+2.24) within Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9 which was called: # once (8µs+2.24ms) by Module::Runtime::require_module at line 9
use Moose::Role;
# spent 2.25ms making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9 # spent 2.24ms making 1 call to Moose::Role::import
10
1113µs19.89mswith 'Moose::Meta::Method::Accessor::Native::Reader',
# spent 9.89ms making 1 call to Moose::Role::with
12 'Moose::Meta::Method::Accessor::Native::Array';
13
14210µs
# spent 4µs within Moose::Meta::Method::Accessor::Native::Array::get::_minimum_arguments which was called 2 times, avg 2µs/call: # 2 times (4µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 74 of Moose/Meta/Method/Accessor/Native.pm, avg 2µs/call
sub _minimum_arguments { 1 }
15
1627µs
# spent 6µs within Moose::Meta::Method::Accessor::Native::Array::get::_maximum_arguments which was called 2 times, avg 3µs/call: # 2 times (6µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_check_argument_count at line 85 of Moose/Meta/Method/Accessor/Native.pm, avg 3µs/call
sub _maximum_arguments { 1 }
17
18
# spent 72µs (9+62) within Moose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments which was called 2 times, avg 36µs/call: # 2 times (9µs+62µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 33 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 36µs/call
sub _inline_check_arguments {
192900ns my $self = shift;
20
21213µs262µs return $self->_inline_check_var_is_valid_index('$_[0]');
# spent 62µs making 2 calls to Moose::Meta::Method::Accessor::Native::Array::_inline_check_var_is_valid_index, avg 31µs/call
22}
23
24
# spent 6µs within Moose::Meta::Method::Accessor::Native::Array::get::_return_value which was called 2 times, avg 3µs/call: # 2 times (6µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 3µs/call
sub _return_value {
2521µs my $self = shift;
262700ns my ($slot_access) = @_;
27
2826µs return $slot_access . '->[ $_[0] ]';
29}
30
3115µs1;