← 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
StatementsExecuted 7 statements in 88µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11115µs29µsData::DPath::Attrs::::BEGIN@4Data::DPath::Attrs::BEGIN@4
11110µs147µsData::DPath::Attrs::::BEGIN@8Data::DPath::Attrs::BEGIN@8
22110µs10µsData::DPath::Attrs::::newData::DPath::Attrs::new (xsub)
11110µs14µsData::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
1package Data::DPath::Attrs;
2# ABSTRACT: Abstraction for internal attributes attached to a point
3
4225µs244µ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
5234µs218µ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
7use Class::XSAccessor # ::Array
817µs1137µ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',
10120µs1147µs accessors => [qw( key )];
# spent 147µs making 1 call to Data::DPath::Attrs::BEGIN@8
11
1212µs1;
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