Profile of lib/PONAPI/DAO/Request/Role/HasData.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 | /home/mickey/git_tree/PONAPI/Server/lib/PONAPI/DAO/Request/Role/HasData.pm
Statements | Executed 6 statements in 120µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 17µs | 2.24ms | PONAPI::DAO::Request::Role::HasData::::BEGIN@4PONAPI::DAO::Request::Role::HasData::BEGIN@4
1 | 1 | 1 | 9µs | 82µs | PONAPI::DAO::Request::Role::HasData::::BEGIN@16PONAPI::DAO::Request::Role::HasData::BEGIN@16
0 | 0 | 0 | 0s | 0s | PONAPI::DAO::Request::Role::HasData::::__ANON__[lib/PONAPI/DAO/Request/Role/HasData.pm:10]PONAPI::DAO::Request::Role::HasData::__ANON__[lib/PONAPI/DAO/Request/Role/HasData.pm:10]

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | # ABSTRACT: DAO request role - `data`
2 |  |  |  |  | package PONAPI::DAO::Request::Role::HasData;
3 |  |  |  |  |
4 | 2 | 82µs | 2 | 4.46ms | # spent 2.24ms (17µs+2.22) within PONAPI::DAO::Request::Role::HasData::BEGIN@4 which was called: # once (17µs+2.22ms) by Module::Runtime::require_module at line 4 use Moose::Role; # spent 2.24ms making 1 call to PONAPI::DAO::Request::Role::HasData::BEGIN@4 # spent 2.22ms making 1 call to Moose::Role::import
5 |  |  |  |  |
6 |  |  |  |  | has data => (
7 |  |  |  |  | traits => [ 'Hash' ],
8 |  |  |  |  | is => 'ro',
9 |  |  |  |  | isa => 'HashRef',
10 |  |  |  |  | default => sub { +{} },
11 | 1 | 4µs | 1 | 112µs | handles => { # spent 112µs making 1 call to Moose::Role::has
12 |  |  |  |  | "has_data" => 'count',
13 |  |  |  |  | },
14 |  |  |  |  | );
15 |  |  |  |  |
16 | 3 | 34µs | 2 | 156µs | # spent 82µs (9+73) within PONAPI::DAO::Request::Role::HasData::BEGIN@16 which was called: # once (9µs+73µs) by Module::Runtime::require_module at line 16 no Moose::Role; 1; # spent 82µs making 1 call to PONAPI::DAO::Request::Role::HasData::BEGIN@16 # spent 73µs making 1 call to Moose::Role::unimport
17 |  |  |  |  |
18 |  |  |  |  | __END__