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

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 11µs | 25µs | Moose::Meta::Method::Accessor::Native::Hash::Writer::::BEGIN@4Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@4
1 | 1 | 1 | 8µs | 93µs | Moose::Meta::Method::Accessor::Native::Hash::Writer::::BEGIN@29Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@29
1 | 1 | 1 | 8µs | 14µs | Moose::Meta::Method::Accessor::Native::Hash::Writer::::BEGIN@5Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@5
1 | 1 | 1 | 8µs | 2.16ms | Moose::Meta::Method::Accessor::Native::Hash::Writer::::BEGIN@9Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@9
1 | 1 | 1 | 5µs | 5µs | Moose::Meta::Method::Accessor::Native::Hash::Writer::::BEGIN@7Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@7
0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::Writer::::_copy_old_valueMoose::Meta::Method::Accessor::Native::Hash::Writer::_copy_old_value
0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::Writer::::_inline_coerce_new_valuesMoose::Meta::Method::Accessor::Native::Hash::Writer::_inline_coerce_new_values
0 | 0 | 0 | 0s | 0s | Moose::Meta::Method::Accessor::Native::Hash::Writer::::_new_valuesMoose::Meta::Method::Accessor::Native::Hash::Writer::_new_values

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::Writer;
2 | 1 | 400ns |  |  | our $VERSION = '2.1604';
3 |  |  |  |  |
4 | 2 | 23µs | 2 | 40µs | # spent 25µs (11+15) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@4 which was called: # once (11µs+15µs) by Module::Runtime::require_module at line 4 use strict; # spent 25µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@4 # spent 15µs making 1 call to strict::import
5 | 2 | 24µs | 2 | 19µs | # spent 14µs (8+6) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@5 which was called: # once (8µs+6µs) by Module::Runtime::require_module at line 5 use warnings; # spent 14µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@5 # spent 6µs making 1 call to warnings::import
6 |  |  |  |  |
7 | 2 | 19µs | 1 | 5µs | # spent 5µs within Moose::Meta::Method::Accessor::Native::Hash::Writer::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::Hash::Writer::BEGIN@7
8 |  |  |  |  |
9 | 2 | 126µs | 2 | 4.32ms | # spent 2.16ms (8µs+2.16) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@9 which was called: # once (8µs+2.16ms) by Module::Runtime::require_module at line 9 use Moose::Role; # spent 2.16ms making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@9 # spent 2.16ms making 1 call to Moose::Role::import
10 |  |  |  |  |
11 | 1 | 3µs | 1 | 18.7ms | with 'Moose::Meta::Method::Accessor::Native::Writer', # spent 18.7ms making 1 call to Moose::Role::with
12 |  |  |  |  | 'Moose::Meta::Method::Accessor::Native::Hash',
13 |  |  |  |  | 'Moose::Meta::Method::Accessor::Native::Collection';
14 |  |  |  |  |
15 |  |  |  |  | sub _inline_coerce_new_values {
16 |  |  |  |  | my $self = shift;
17 |  |  |  |  | $self->Moose::Meta::Method::Accessor::Native::Collection::_inline_coerce_new_values(@_);
18 |  |  |  |  | }
19 |  |  |  |  |
20 |  |  |  |  | sub _new_values { '@values' }
21 |  |  |  |  |
22 |  |  |  |  | sub _copy_old_value {
23 |  |  |  |  | my $self = shift;
24 |  |  |  |  | my ($slot_access) = @_;
25 |  |  |  |  |
26 |  |  |  |  | return '{ %{ (' . $slot_access . ') } }';
27 |  |  |  |  | }
28 |  |  |  |  |
29 | 2 | 25µs | 2 | 178µs | # spent 93µs (8+85) within Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@29 which was called: # once (8µs+85µs) by Module::Runtime::require_module at line 29 no Moose::Role; # spent 93µs making 1 call to Moose::Meta::Method::Accessor::Native::Hash::Writer::BEGIN@29 # spent 85µs making 1 call to Moose::Role::unimport
30 |  |  |  |  |
31 | 1 | 12µs |  |  | 1;