Profile of Data/DPath/Step.pm

← 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:47 2012

Filename | /home/ss5/perl5/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/Data/DPath/Step.pm
Statements | Executed 10 statements in 1.00ms

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 2.92ms | 11.8ms | Data::DPath::Step::::BEGIN@14Data::DPath::Step::BEGIN@14
1 | 1 | 1 | 51µs | 66µs | Data::DPath::Step::::BEGIN@10Data::DPath::Step::BEGIN@10
1 | 1 | 1 | 34µs | 34µs | Data::DPath::Step::::BEGIN@2Data::DPath::Step::BEGIN@2
1 | 1 | 1 | 31µs | 59µs | Data::DPath::Step::::BEGIN@11Data::DPath::Step::BEGIN@11

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::Step;
2 |  |  |  |  | # spent 34µs within Data::DPath::Step::BEGIN@2 which was called: # once (34µs+0s) by Data::DPath::Path::BEGIN@1 at line 4 BEGIN {
3 | 1 | 24µs |  |  | $Data::DPath::Step::AUTHORITY = 'cpan:SCHWIGON';
4 | 1 | 128µs | 1 | 34µs | } # spent 34µs making 1 call to Data::DPath::Step::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 4µs |  |  | $Data::DPath::Step::VERSION = '0.48';
7 |  |  |  |  | }
8 |  |  |  |  | # ABSTRACT: Abstraction for a single Step through a Path
9 |  |  |  |  |
10 | 2 | 96µs | 2 | 81µs | # spent 66µs (51+15) within Data::DPath::Step::BEGIN@10 which was called: # once (51µs+15µs) by Data::DPath::Path::BEGIN@1 at line 10 use strict; # spent 66µs making 1 call to Data::DPath::Step::BEGIN@10 # spent 15µs making 1 call to strict::import
11 | 2 | 220µs | 2 | 87µs | # spent 59µs (31+28) within Data::DPath::Step::BEGIN@11 which was called: # once (31µs+28µs) by Data::DPath::Path::BEGIN@1 at line 11 use warnings; # spent 59µs making 1 call to Data::DPath::Step::BEGIN@11 # spent 28µs making 1 call to warnings::import
12 |  |  |  |  |
13 |  |  |  |  | use Class::XSAccessor::Array
14 | 1 | 41µs | 1 | 753µs | # spent 11.8ms (2.92+8.85) within Data::DPath::Step::BEGIN@14 which was called: # once (2.92ms+8.85ms) by Data::DPath::Path::BEGIN@1 at line 20 chained => 1, # spent 753µs making 1 call to Class::XSAccessor::Array::import
15 |  |  |  |  | constructor => 'new',
16 |  |  |  |  | accessors => {
17 |  |  |  |  | kind => 0,
18 |  |  |  |  | part => 1,
19 |  |  |  |  | filter => 2,
20 | 1 | 479µs | 1 | 11.8ms | }; # spent 11.8ms making 1 call to Data::DPath::Step::BEGIN@14
21 |  |  |  |  |
22 | 1 | 10µs |  |  | 1;
23 |  |  |  |  |
- - |  |  |  |  |
26 |  |  |  |  | =pod
27 |  |  |  |  |
28 |  |  |  |  | =encoding utf-8
29 |  |  |  |  |
30 |  |  |  |  | =head1 NAME
31 |  |  |  |  |
32 |  |  |  |  | Data::DPath::Step - Abstraction for a single Step through a Path
33 |  |  |  |  |
34 |  |  |  |  | =head1 ABOUT
35 |  |  |  |  |
36 |  |  |  |  | When a DPath is evaluated it executes these B<Step>s of a B<Path>.
37 |  |  |  |  |
38 |  |  |  |  | =head1 INTERNAL METHODS
39 |  |  |  |  |
40 |  |  |  |  | =head2 new
41 |  |  |  |  |
42 |  |  |  |  | Constructor.
43 |  |  |  |  |
44 |  |  |  |  | =head2 kind
45 |  |  |  |  |
46 |  |  |  |  | Attribute / accessor.
47 |  |  |  |  |
48 |  |  |  |  | =head2 part
49 |  |  |  |  |
50 |  |  |  |  | Attribute / accessor.
51 |  |  |  |  |
52 |  |  |  |  | =head2 filter
53 |  |  |  |  |
54 |  |  |  |  | Attribute / accessor.
55 |  |  |  |  |
56 |  |  |  |  | =head1 AUTHOR
57 |  |  |  |  |
58 |  |  |  |  | Steffen Schwigon <ss5@renormalist.net>
59 |  |  |  |  |
60 |  |  |  |  | =head1 COPYRIGHT AND LICENSE
61 |  |  |  |  |
62 |  |  |  |  | This software is copyright (c) 2012 by Steffen Schwigon.
63 |  |  |  |  |
64 |  |  |  |  | This is free software; you can redistribute it and/or modify it under
65 |  |  |  |  | the same terms as the Perl 5 programming language system itself.
66 |  |  |  |  |
67 |  |  |  |  | =cut
68 |  |  |  |  |
69 |  |  |  |  |
70 |  |  |  |  | __END__