← 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/Point.pm
StatementsExecuted 10 statements in 91µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
55318µs18µsData::DPath::Point::::newData::DPath::Point::new (xsub)
99316µs16µsData::DPath::Point::::refData::DPath::Point::ref (xsub)
1118µs11µsData::DPath::Point::::BEGIN@11Data::DPath::Point::BEGIN@11
1116µs158µsData::DPath::Point::::BEGIN@14Data::DPath::Point::BEGIN@14
1116µs6µsData::DPath::Point::::BEGIN@2Data::DPath::Point::BEGIN@2
4416µs6µsData::DPath::Point::::parentData::DPath::Point::parent (xsub)
1116µs16µsData::DPath::Point::::BEGIN@10Data::DPath::Point::BEGIN@10
2212µs2µsData::DPath::Point::::attrsData::DPath::Point::attrs (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::Point;
2
# spent 6µs within Data::DPath::Point::BEGIN@2 which was called: # once (6µs+0s) by Data::DPath::Path::BEGIN@1.1 at line 4
BEGIN {
314µs $Data::DPath::Point::AUTHORITY = 'cpan:SCHWIGON';
4120µs16µs}
# spent 6µs making 1 call to Data::DPath::Point::BEGIN@2
5{
62800ns $Data::DPath::Point::VERSION = '0.49';
7}
8# ABSTRACT: Abstraction for a single reference (a "point") in the datastructure
9
10217µs226µs
# spent 16µs (6+10) within Data::DPath::Point::BEGIN@10 which was called: # once (6µs+10µs) by Data::DPath::Path::BEGIN@1.1 at line 10
use strict;
# spent 16µs making 1 call to Data::DPath::Point::BEGIN@10 # spent 10µs making 1 call to strict::import
11228µs214µs
# spent 11µs (8+3) within Data::DPath::Point::BEGIN@11 which was called: # once (8µs+3µs) by Data::DPath::Path::BEGIN@1.1 at line 11
use warnings;
# spent 11µs making 1 call to Data::DPath::Point::BEGIN@11 # spent 3µs making 1 call to warnings::import
12
13use Class::XSAccessor # ::Array
1415µs1151µs
# spent 158µs (6+151) within Data::DPath::Point::BEGIN@14 which was called: # once (6µs+151µs) by Data::DPath::Path::BEGIN@1.1 at line 19
chained => 1,
# spent 151µs making 1 call to Class::XSAccessor::import
15 constructor => 'new',
16 accessors => [qw( parent
17 attrs
18 ref
19114µs1158µs )];
# spent 158µs making 1 call to Data::DPath::Point::BEGIN@14
20
2112µs1;
22
23__END__
 
# spent 2µs within Data::DPath::Point::attrs which was called 2 times, avg 1µs/call: # once (2µs+0s) by Data::DPath::Context::_any at line 146 of Data/DPath/Context.pm # once (900ns+0s) by Data::DPath::Context::_select_key at line 293 of Data/DPath/Context.pm
sub Data::DPath::Point::attrs; # xsub
# spent 18µs within Data::DPath::Point::new which was called 5 times, avg 4µs/call: # once (8µs+0s) by Data::DPath::__ANON__[/home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Data/DPath.pm:47] at line 41 of Data/DPath.pm # once (3µs+0s) by Data::DPath::Context::_select_anystep at line 319 of Data/DPath/Context.pm # once (3µs+0s) by Data::DPath::Context::_any at line 145 of Data/DPath/Context.pm # once (2µs+0s) by Data::DPath::Path::match at line 139 of Data/DPath/Path.pm # once (2µs+0s) by Data::DPath::Context::_select_key at line 293 of Data/DPath/Context.pm
sub Data::DPath::Point::new; # xsub
# spent 6µs within Data::DPath::Point::parent which was called 4 times, avg 2µs/call: # once (2µs+0s) by Data::DPath::Context::_any at line 145 of Data/DPath/Context.pm # once (2µs+0s) by Data::DPath::Context::_select_ancestor at line 365 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_select_anystep at line 319 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_select_key at line 293 of Data/DPath/Context.pm
sub Data::DPath::Point::parent; # xsub
# spent 16µs within Data::DPath::Point::ref which was called 9 times, avg 2µs/call: # once (6µs+0s) by Data::DPath::__ANON__[/home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Data/DPath.pm:47] at line 41 of Data/DPath.pm # once (2µs+0s) by Data::DPath::Context::_any at line 116 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_select_key at line 293 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Path::match at line 139 of Data/DPath/Path.pm # once (1µs+0s) by Data::DPath::Context::_any at line 145 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_select_anystep at line 319 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_select_anystep at line 308 of Data/DPath/Context.pm # once (1µs+0s) by Data::DPath::Context::_all at line 162 of Data/DPath/Context.pm # once (900ns+0s) by Data::DPath::Context::_select_key at line 283 of Data/DPath/Context.pm
sub Data::DPath::Point::ref; # xsub