Profile of Moose/Meta/Method/Accessor/Native/Array/get.pm

← 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
Statements | Executed 25 statements in 244µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 13µs | 28µs | Moose::Meta::Method::Accessor::Native::Array::get::::BEGIN@4Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@4
2 | 1 | 1 | 9µs | 72µs | Moose::Meta::Method::Accessor::Native::Array::get::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Array::get::_inline_check_arguments
1 | 1 | 1 | 8µs | 2.25ms | Moose::Meta::Method::Accessor::Native::Array::get::::BEGIN@9Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@9
1 | 1 | 1 | 7µs | 16µs | Moose::Meta::Method::Accessor::Native::Array::get::::BEGIN@5Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@5
2 | 1 | 1 | 6µs | 6µs | Moose::Meta::Method::Accessor::Native::Array::get::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Array::get::_maximum_arguments
2 | 1 | 1 | 6µs | 6µs | Moose::Meta::Method::Accessor::Native::Array::get::::_return_valueMoose::Meta::Method::Accessor::Native::Array::get::_return_value
1 | 1 | 1 | 5µs | 5µs | Moose::Meta::Method::Accessor::Native::Array::get::::BEGIN@7Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@7
2 | 1 | 1 | 4µs | 4µs | Moose::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
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Moose::Meta::Method::Accessor::Native::Array::get;
2 | 1 | 400ns |  |  | our $VERSION = '2.1604';
3 |  |  |  |  |
4 | 2 | 25µs | 2 | 44µ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
5 | 2 | 20µs | 2 | 25µ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 |  |  |  |  |
7 | 2 | 23µs | 1 | 5µ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; # spent 5µs making 1 call to Moose::Meta::Method::Accessor::Native::Array::get::BEGIN@7
8 |  |  |  |  |
9 | 2 | 129µs | 2 | 4.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 |  |  |  |  |
11 | 1 | 3µs | 1 | 9.89ms | with 'Moose::Meta::Method::Accessor::Native::Reader', # spent 9.89ms making 1 call to Moose::Role::with
12 |  |  |  |  | 'Moose::Meta::Method::Accessor::Native::Array';
13 |  |  |  |  |
14 | 2 | 10µ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 |  |  |  |  |
16 | 2 | 7µ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 {
19 | 2 | 900ns |  |  | my $self = shift;
20 |  |  |  |  |
21 | 2 | 13µs | 2 | 62µ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 {
25 | 2 | 1µs |  |  | my $self = shift;
26 | 2 | 700ns |  |  | my ($slot_access) = @_;
27 |  |  |  |  |
28 | 2 | 6µs |  |  | return $slot_access . '->[ $_[0] ]';
29 |  |  |  |  | }
30 |  |  |  |  |
31 | 1 | 5µs |  |  | 1;