Filename | /home/mickey/git_tree/PONAPI/Server/lib/PONAPI/DAO/Request/RetrieveAll.pm |
Statements | Executed 301478 statements in 1.31s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
50245 | 1 | 1 | 2.09s | 409s | execute | PONAPI::DAO::Request::RetrieveAll::
1 | 1 | 1 | 19µs | 3.09ms | BEGIN@4 | PONAPI::DAO::Request::RetrieveAll::
1 | 1 | 1 | 9µs | 75µs | BEGIN@27 | PONAPI::DAO::Request::RetrieveAll::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # ABSTRACT: DAO request - retrieve all | ||||
2 | package PONAPI::DAO::Request::RetrieveAll; | ||||
3 | |||||
4 | 2 | 131µs | 2 | 6.15ms | # spent 3.09ms (19µs+3.07) within PONAPI::DAO::Request::RetrieveAll::BEGIN@4 which was called:
# once (19µs+3.07ms) by PONAPI::DAO::BEGIN@7 at line 4 # spent 3.09ms making 1 call to PONAPI::DAO::Request::RetrieveAll::BEGIN@4
# spent 3.07ms making 1 call to Moose::import |
5 | |||||
6 | 1 | 10µs | 1 | 606µs | extends 'PONAPI::DAO::Request'; # spent 606µs making 1 call to Moose::extends |
7 | |||||
8 | 1 | 3µs | 1 | 29.3ms | with 'PONAPI::DAO::Request::Role::HasFields', # spent 29.3ms making 1 call to Moose::with |
9 | 'PONAPI::DAO::Request::Role::HasFilter', | ||||
10 | 'PONAPI::DAO::Request::Role::HasInclude', | ||||
11 | 'PONAPI::DAO::Request::Role::HasPage', | ||||
12 | 'PONAPI::DAO::Request::Role::HasSort'; | ||||
13 | |||||
14 | # spent 409s (2.09+407) within PONAPI::DAO::Request::RetrieveAll::execute which was called 50245 times, avg 8.14ms/call:
# 50245 times (2.09s+407s) by PONAPI::DAO::_action at line 58 of lib/PONAPI/DAO.pm, avg 8.14ms/call | ||||
15 | 50245 | 28.5ms | my $self = shift; | ||
16 | 50245 | 137ms | 50245 | 168ms | my $doc = $self->document; # spent 168ms making 50245 calls to PONAPI::DAO::Request::document, avg 3µs/call |
17 | |||||
18 | 50245 | 221ms | 50245 | 167ms | if ( $self->is_valid ) { # spent 167ms making 50245 calls to PONAPI::DAO::Request::is_valid, avg 3µs/call |
19 | 50245 | 151ms | 50245 | 693ms | $doc->convert_to_collection; # spent 693ms making 50245 calls to PONAPI::Builder::Document::convert_to_collection, avg 14µs/call |
20 | 50245 | 365ms | 100490 | 354s | $self->repository->retrieve_all( %{ $self } ); # spent 354s making 50245 calls to Test::PONAPI::Repository::MockDB::retrieve_all, avg 7.04ms/call
# spent 65.2ms making 50245 calls to PONAPI::DAO::Request::repository, avg 1µs/call |
21 | } | ||||
22 | |||||
23 | 50245 | 403ms | 50245 | 51.6s | return $self->response(); # spent 51.6s making 50245 calls to PONAPI::DAO::Request::response, avg 1.03ms/call |
24 | } | ||||
25 | |||||
26 | 1 | 4µs | 2 | 6.30ms | __PACKAGE__->meta->make_immutable; # spent 6.28ms making 1 call to Class::MOP::Class::make_immutable
# spent 17µs making 1 call to PONAPI::DAO::Request::RetrieveAll::meta |
27 | 3 | 47µs | 2 | 141µs | # spent 75µs (9+66) within PONAPI::DAO::Request::RetrieveAll::BEGIN@27 which was called:
# once (9µs+66µs) by PONAPI::DAO::BEGIN@7 at line 27 # spent 75µs making 1 call to PONAPI::DAO::Request::RetrieveAll::BEGIN@27
# spent 66µs making 1 call to Moose::unimport |
28 | |||||
29 | __END__ |