← Index
NYTProf Performance Profile   « line view »
For bin/benchmark-perlformance
  Run on Fri Apr 17 15:31:48 2015
Reported on Fri Apr 17 15:32:02 2015

Filename/home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Data/DPath/Step.pm
StatementsExecuted 10 statements in 150µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
111485µs1.97msData::DPath::Step::::BEGIN@14Data::DPath::Step::BEGIN@14
115215µs15µsData::DPath::Step::::kindData::DPath::Step::kind (xsub)
22112µs12µsData::DPath::Step::::newData::DPath::Step::new (xsub)
6527µs7µsData::DPath::Step::::partData::DPath::Step::part (xsub)
1117µs10µsData::DPath::Step::::BEGIN@11Data::DPath::Step::BEGIN@11
1116µs17µsData::DPath::Step::::BEGIN@10Data::DPath::Step::BEGIN@10
1116µs6µsData::DPath::Step::::BEGIN@2Data::DPath::Step::BEGIN@2
2223µs3µsData::DPath::Step::::filterData::DPath::Step::filter (xsub)
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::Step;
2
# spent 6µs within Data::DPath::Step::BEGIN@2 which was called: # once (6µs+0s) by Data::DPath::Path::BEGIN@1 at line 4
BEGIN {
315µs $Data::DPath::Step::AUTHORITY = 'cpan:SCHWIGON';
4120µs16µs}
# spent 6µs making 1 call to Data::DPath::Step::BEGIN@2
5{
62600ns $Data::DPath::Step::VERSION = '0.49';
7}
8# ABSTRACT: Abstraction for a single Step through a Path
9
10220µs227µs
# spent 17µs (6+10) within Data::DPath::Step::BEGIN@10 which was called: # once (6µs+10µs) by Data::DPath::Path::BEGIN@1 at line 10
use strict;
# spent 17µs making 1 call to Data::DPath::Step::BEGIN@10 # spent 10µs making 1 call to strict::import
11229µs214µs
# spent 10µs (7+3) within Data::DPath::Step::BEGIN@11 which was called: # once (7µs+3µs) by Data::DPath::Path::BEGIN@1 at line 11
use warnings;
# spent 10µs making 1 call to Data::DPath::Step::BEGIN@11 # spent 3µs making 1 call to warnings::import
12
13use Class::XSAccessor::Array
1416µs1130µs
# spent 1.97ms (485µs+1.48) within Data::DPath::Step::BEGIN@14 which was called: # once (485µs+1.48ms) by Data::DPath::Path::BEGIN@1 at line 20
chained => 1,
# spent 130µs making 1 call to Class::XSAccessor::Array::import
15 constructor => 'new',
16 accessors => {
17 kind => 0,
18 part => 1,
19 filter => 2,
20167µs11.97ms };
# spent 1.97ms making 1 call to Data::DPath::Step::BEGIN@14
21
2212µs1;
23
24__END__
 
# spent 3µs within Data::DPath::Step::filter which was called 2 times, avg 2µs/call: # once (2µs+0s) by Data::DPath::Context::_filter_points at line 227 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Path::_build__steps at line 130 of Data/DPath/Path.pm
sub Data::DPath::Step::filter; # xsub
# spent 15µs within Data::DPath::Step::kind which was called 11 times, avg 1µs/call: # 7 times (7µs+0s) by Data::DPath::Context::_search at line 434 of Data/DPath/Context.pm, avg 1µs/call # once (2µs+0s) by Data::DPath::Path::_build__steps at line 77 of Data/DPath/Path.pm # once (2µs+0s) by Data::DPath::Path::_build__steps at line 130 of Data/DPath/Path.pm # once (2µs+0s) by Data::DPath::Path::_build__steps at line 132 of Data/DPath/Path.pm # once (2µs+0s) by Data::DPath::Context::_select_anywhere at line 263 of Data/DPath/Context.pm
sub Data::DPath::Step::kind; # xsub
# spent 12µs within Data::DPath::Step::new which was called 2 times, avg 6µs/call: # once (9µs+0s) by Data::DPath::Path::_build__steps at line 77 of Data/DPath/Path.pm # once (3µs+0s) by Data::DPath::Path::_build__steps at line 130 of Data/DPath/Path.pm
sub Data::DPath::Step::new; # xsub
# spent 7µs within Data::DPath::Step::part which was called 6 times, avg 1µs/call: # 2 times (3µs+0s) by Data::DPath::Context::_select_key at line 293 of Data/DPath/Context.pm, avg 1µs/call # once (1µs+0s) by Data::DPath::Path::_build__steps at line 130 of Data/DPath/Path.pm # once (1µs+0s) by Data::DPath::Path::_build__steps at line 77 of Data/DPath/Path.pm # once (800ns+0s) by Data::DPath::Context::_select_anywhere at line 263 of Data/DPath/Context.pm # once (700ns+0s) by Data::DPath::Context::_select_key at line 291 of Data/DPath/Context.pm
sub Data::DPath::Step::part; # xsub