← 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/Hash/get.pm
StatementsExecuted 29 statements in 316µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
31121µs70µsMoose::Meta::Method::Accessor::Native::Hash::get::::_inline_check_argumentsMoose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments
11116µs109µsMoose::Meta::Method::Accessor::Native::Hash::get::::BEGIN@33Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33
11113µs28µsMoose::Meta::Method::Accessor::Native::Hash::get::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@4
31111µs11µsMoose::Meta::Method::Accessor::Native::Hash::get::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::get::_return_value
1119µs2.79msMoose::Meta::Method::Accessor::Native::Hash::get::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7
1118µs15µsMoose::Meta::Method::Accessor::Native::Hash::get::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5
3115µs5µsMoose::Meta::Method::Accessor::Native::Hash::get::::_minimum_argumentsMoose::Meta::Method::Accessor::Native::Hash::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::Hash::get;
21400nsour $VERSION = '2.1604';
3
4224µs244µs
# spent 28µs (13+15) within Moose::Meta::Method::Accessor::Native::Hash::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::Hash::get::BEGIN@4 # spent 15µs making 1 call to strict::import
5223µs223µs
# spent 15µs (8+8) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5 which was called: # once (8µs+8µs) by Module::Runtime::require_module at line 5
use warnings;
# spent 15µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@5 # spent 8µs making 1 call to warnings::import
6
72173µs25.58ms
# spent 2.79ms (9µs+2.78) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7 which was called: # once (9µs+2.78ms) by Module::Runtime::require_module at line 7
use Moose::Role;
# spent 2.79ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@7 # spent 2.78ms making 1 call to Moose::Role::import
8
913µs16.34mswith 'Moose::Meta::Method::Accessor::Native::Reader',
# spent 6.34ms making 1 call to Moose::Role::with
10 'Moose::Meta::Method::Accessor::Native::Hash';
11
12311µs
# spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::get::_minimum_arguments which was called 3 times, avg 2µs/call: # 3 times (5µ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 }
13
14
# spent 70µs (21+49) within Moose::Meta::Method::Accessor::Native::Hash::get::_inline_check_arguments which was called 3 times, avg 23µs/call: # 3 times (21µs+49µs) by Moose::Meta::Method::Accessor::Native::Reader::_inline_reader_core at line 33 of Moose/Meta/Method/Accessor/Native/Reader.pm, avg 23µs/call
sub _inline_check_arguments {
1531µs my $self = shift;
16
17 return (
18318µs349µs 'for (@_) {',
# spent 49µs making 3 calls to Moose::Meta::Method::Accessor::Native::Hash::_inline_check_var_is_valid_key, avg 16µs/call
19 $self->_inline_check_var_is_valid_key('$_'),
20 '}',
21 );
22}
23
24
# spent 11µs within Moose::Meta::Method::Accessor::Native::Hash::get::_return_value which was called 3 times, avg 4µs/call: # 3 times (11µs+0s) by Moose::Meta::Method::Accessor::Native::_inline_return_value at line 103 of Moose/Meta/Method/Accessor/Native.pm, avg 4µs/call
sub _return_value {
2531µs my $self = shift;
2632µs my ($slot_access) = @_;
27
28316µs return '@_ > 1 '
29 . '? @{ (' . $slot_access . ') }{@_} '
30 . ': ' . $slot_access . '->{$_[0]}';
31}
32
33232µs2202µs
# spent 109µs (16+93) within Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33 which was called: # once (16µs+93µs) by Module::Runtime::require_module at line 33
no Moose::Role;
# spent 109µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::get::BEGIN@33 # spent 93µs making 1 call to Moose::Role::unimport
34
35112µs1;