← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/dpath
  Run on Tue Jun 5 15:31:33 2012
Reported on Tue Jun 5 15:31:37 2012

Filename/home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Data/DPath/Point.pm
StatementsExecuted 10 statements in 678µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11147µs1.05msData::DPath::Point::::BEGIN@14Data::DPath::Point::BEGIN@14
11136µs52µsData::DPath::Point::::BEGIN@10Data::DPath::Point::BEGIN@10
11134µs34µsData::DPath::Point::::BEGIN@2Data::DPath::Point::BEGIN@2
11127µs54µsData::DPath::Point::::BEGIN@11Data::DPath::Point::BEGIN@11
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 34µs within Data::DPath::Point::BEGIN@2 which was called: # once (34µs+0s) by Data::DPath::Path::BEGIN@1.1 at line 4
BEGIN {
3120µs $Data::DPath::Point::AUTHORITY = 'cpan:SCHWIGON';
41122µs134µs}
# spent 34µs making 1 call to Data::DPath::Point::BEGIN@2
5{
624µs $Data::DPath::Point::VERSION = '0.48';
7}
8# ABSTRACT: Abstraction for a single reference (a "point") in the datastructure
9
10292µs268µs
# spent 52µs (36+16) within Data::DPath::Point::BEGIN@10 which was called: # once (36µs+16µs) by Data::DPath::Path::BEGIN@1.1 at line 10
use strict;
# spent 52µs making 1 call to Data::DPath::Point::BEGIN@10 # spent 16µs making 1 call to strict::import
112163µs280µs
# spent 54µs (27+27) within Data::DPath::Point::BEGIN@11 which was called: # once (27µs+27µs) by Data::DPath::Path::BEGIN@1.1 at line 11
use warnings;
# spent 54µs making 1 call to Data::DPath::Point::BEGIN@11 # spent 27µs making 1 call to warnings::import
12
13use Class::XSAccessor # ::Array
1411000µs
# spent 1.05ms (47µs+1000µs) within Data::DPath::Point::BEGIN@14 which was called: # once (47µs+1000µs) by Data::DPath::Path::BEGIN@1.1 at line 19
chained => 1,
# spent 1000µs making 1 call to Class::XSAccessor::import
15 constructor => 'new',
16 accessors => [qw( parent
17 attrs
18 ref
192265µs11.05ms )];
# spent 1.05ms making 1 call to Data::DPath::Point::BEGIN@14
20
21112µs1;
22
- -
25=pod
26
27=encoding utf-8
28
29=head1 NAME
30
31Data::DPath::Point - Abstraction for a single reference (a "point") in the datastructure
32
33=head1 ABOUT
34
35Intermediate steps during execution are lists of currently covered
36references in the data structure, i.e., lists of such B<Point>s. The
37remaining B<Point>s at the end just need to be dereferenced and form
38the result.
39
40=head1 INTERNAL METHODS
41
42=head2 new
43
44Constructor.
45
46=head2 parent
47
48Attribute / accessor.
49
50=head2 ref
51
52Attribute / accessor.
53
54=head2 attrs
55
56Attribute / accessor.
57
58=head1 AUTHOR
59
60Steffen Schwigon <ss5@renormalist.net>
61
62=head1 COPYRIGHT AND LICENSE
63
64This software is copyright (c) 2012 by Steffen Schwigon.
65
66This is free software; you can redistribute it and/or modify it under
67the same terms as the Perl 5 programming language system itself.
68
69=cut
70
71
72__END__