Profile of Moose/Meta/Method/Accessor/Native/Hash/keys.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/Hash/keys.pm
Statements | Executed 23 statements in 209µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 22µs | 39µs | Moose::Meta::Method::Accessor::Native::Hash::keys::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@4
3 | 1 | 1 | 12µs | 12µs | Moose::Meta::Method::Accessor::Native::Hash::keys::::_return_valueMoose::Meta::Method::Accessor::Native::Hash::keys::_return_value
1 | 1 | 1 | 9µs | 2.28ms | Moose::Meta::Method::Accessor::Native::Hash::keys::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@7
1 | 1 | 1 | 8µs | 16µs | Moose::Meta::Method::Accessor::Native::Hash::keys::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@5
1 | 1 | 1 | 8µs | 91µs | Moose::Meta::Method::Accessor::Native::Hash::keys::::BEGIN@20Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@20
3 | 1 | 1 | 6µs | 6µs | Moose::Meta::Method::Accessor::Native::Hash::keys::::_maximum_argumentsMoose::Meta::Method::Accessor::Native::Hash::keys::_maximum_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::Hash::keys;
2 | 1 | 400ns |  |  | our $VERSION = '2.1604';
3 |  |  |  |  |
4 | 2 | 26µs | 2 | 56µs | # spent 39µs (22+17) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@4 which was called: # once (22µs+17µs) by Module::Runtime::require_module at line 4 use strict; # spent 39µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@4 # spent 17µs making 1 call to strict::import
5 | 2 | 23µs | 2 | 25µs | # spent 16µs (8+8) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@5 which was called: # once (8µs+8µs) by Module::Runtime::require_module at line 5 use warnings; # spent 16µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@5 # spent 8µs making 1 call to warnings::import
6 |  |  |  |  |
7 | 2 | 98µs | 2 | 4.56ms | # spent 2.28ms (9µs+2.27) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@7 which was called: # once (9µs+2.27ms) by Module::Runtime::require_module at line 7 use Moose::Role; # spent 2.28ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@7 # spent 2.27ms making 1 call to Moose::Role::import
8 |  |  |  |  |
9 | 1 | 2µs | 1 | 1.86ms | with 'Moose::Meta::Method::Accessor::Native::Reader'; # spent 1.86ms making 1 call to Moose::Role::with
10 |  |  |  |  |
11 | 3 | 9µs |  |  | # spent 6µs within Moose::Meta::Method::Accessor::Native::Hash::keys::_maximum_arguments which was called 3 times, avg 2µs/call: # 3 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 2µs/call sub _maximum_arguments { 0 }
12 |  |  |  |  |
13 |  |  |  |  | # spent 12µs within Moose::Meta::Method::Accessor::Native::Hash::keys::_return_value which was called 3 times, avg 4µs/call: # 3 times (12µ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 {
14 | 3 | 2µs |  |  | my $self = shift;
15 | 3 | 2µs |  |  | my ($slot_access) = @_;
16 |  |  |  |  |
17 | 3 | 11µs |  |  | return 'keys %{ (' . $slot_access . ') }';
18 |  |  |  |  | }
19 |  |  |  |  |
20 | 2 | 30µs | 2 | 174µs | # spent 91µs (8+83) within Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@20 which was called: # once (8µs+83µs) by Module::Runtime::require_module at line 20 no Moose::Role; # spent 91µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::keys::BEGIN@20 # spent 83µs making 1 call to Moose::Role::unimport
21 |  |  |  |  |
22 | 1 | 6µs |  |  | 1;