Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Data/DPath/Step.pm |
Statements | Executed 10 statements in 150µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 485µs | 1.97ms | BEGIN@14 | Data::DPath::Step::
11 | 5 | 2 | 15µs | 15µs | kind (xsub) | Data::DPath::Step::
2 | 2 | 1 | 12µs | 12µs | new (xsub) | Data::DPath::Step::
6 | 5 | 2 | 7µs | 7µs | part (xsub) | Data::DPath::Step::
1 | 1 | 1 | 7µs | 10µs | BEGIN@11 | Data::DPath::Step::
1 | 1 | 1 | 6µs | 17µs | BEGIN@10 | Data::DPath::Step::
1 | 1 | 1 | 6µs | 6µs | BEGIN@2 | Data::DPath::Step::
2 | 2 | 2 | 3µs | 3µs | filter (xsub) | Data::DPath::Step::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package 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 | ||||
3 | 1 | 5µs | $Data::DPath::Step::AUTHORITY = 'cpan:SCHWIGON'; | ||
4 | 1 | 20µs | 1 | 6µs | } # spent 6µs making 1 call to Data::DPath::Step::BEGIN@2 |
5 | { | ||||
6 | 2 | 600ns | $Data::DPath::Step::VERSION = '0.49'; | ||
7 | } | ||||
8 | # ABSTRACT: Abstraction for a single Step through a Path | ||||
9 | |||||
10 | 2 | 20µs | 2 | 27µ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 # spent 17µs making 1 call to Data::DPath::Step::BEGIN@10
# spent 10µs making 1 call to strict::import |
11 | 2 | 29µs | 2 | 14µ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 # spent 10µs making 1 call to Data::DPath::Step::BEGIN@11
# spent 3µs making 1 call to warnings::import |
12 | |||||
13 | use Class::XSAccessor::Array | ||||
14 | 1 | 6µs | 1 | 130µ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 # 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, | ||||
20 | 1 | 67µs | 1 | 1.97ms | }; # spent 1.97ms making 1 call to Data::DPath::Step::BEGIN@14 |
21 | |||||
22 | 1 | 2µs | 1; | ||
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 | |||||
# 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 | |||||
# 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 | |||||
# 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 |