Profile of lib/Data/DPath/Attrs.pm

← Index
NYTProf Performance Profile «line view»
For t/optimization.t
Run on Thu Jan 8 22:47:42 2015
Reported on Thu Jan 8 22:48:05 2015

Filename | /home/ss5/local/projects/data-dpath/lib/Data/DPath/Attrs.pm
Statements | Executed 7 statements in 88µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 15µs | 29µs | Data::DPath::Attrs::::BEGIN@4Data::DPath::Attrs::BEGIN@4
1 | 1 | 1 | 10µs | 147µs | Data::DPath::Attrs::::BEGIN@8Data::DPath::Attrs::BEGIN@8
2 | 2 | 1 | 10µs | 10µs | Data::DPath::Attrs::::newData::DPath::Attrs::new (xsub)
1 | 1 | 1 | 10µs | 14µs | Data::DPath::Attrs::::BEGIN@5Data::DPath::Attrs::BEGIN@5

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Data::DPath::Attrs;
2 |  |  |  |  | # ABSTRACT: Abstraction for internal attributes attached to a point
3 |  |  |  |  |
4 | 2 | 25µs | 2 | 44µs | # spent 29µs (15+14) within Data::DPath::Attrs::BEGIN@4 which was called: # once (15µs+14µs) by Data::DPath::Context::BEGIN@1.7 at line 4 use strict; # spent 29µs making 1 call to Data::DPath::Attrs::BEGIN@4 # spent 14µs making 1 call to strict::import
5 | 2 | 34µs | 2 | 18µs | # spent 14µs (10+4) within Data::DPath::Attrs::BEGIN@5 which was called: # once (10µs+4µs) by Data::DPath::Context::BEGIN@1.7 at line 5 use warnings; # spent 14µs making 1 call to Data::DPath::Attrs::BEGIN@5 # spent 4µs making 1 call to warnings::import
6 |  |  |  |  |
7 |  |  |  |  | use Class::XSAccessor # ::Array
8 | 1 | 7µs | 1 | 137µs | # spent 147µs (10+137) within Data::DPath::Attrs::BEGIN@8 which was called: # once (10µs+137µs) by Data::DPath::Context::BEGIN@1.7 at line 10 chained => 1, # spent 137µs making 1 call to Class::XSAccessor::import
9 |  |  |  |  | constructor => 'new',
10 | 1 | 20µs | 1 | 147µs | accessors => [qw( key )]; # spent 147µs making 1 call to Data::DPath::Attrs::BEGIN@8
11 |  |  |  |  |
12 | 1 | 2µs |  |  | 1;
13 |  |  |  |  |
14 |  |  |  |  | __END__
|  |  |  |  | # spent 10µs within Data::DPath::Attrs::new which was called 2 times, avg 5µs/call: # once (8µs+0s) by Data::DPath::Context::_select_key at line 281 of lib/Data/DPath/Context.pm # once (2µs+0s) by Data::DPath::Context::_any at line 136 of lib/Data/DPath/Context.pm sub Data::DPath::Attrs::new; # xsub