| Filename | /home/ss5/perl5/perlbrew/perls/tapper-perl/lib/site_perl/5.16.3/Data/DPath/Point.pm |
| Statements | Executed 10 statements in 91µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 5 | 5 | 3 | 18µs | 18µs | Data::DPath::Point::new (xsub) |
| 9 | 9 | 3 | 16µs | 16µs | Data::DPath::Point::ref (xsub) |
| 1 | 1 | 1 | 8µs | 11µs | Data::DPath::Point::BEGIN@11 |
| 1 | 1 | 1 | 6µs | 158µs | Data::DPath::Point::BEGIN@14 |
| 1 | 1 | 1 | 6µs | 6µs | Data::DPath::Point::BEGIN@2 |
| 4 | 4 | 1 | 6µs | 6µs | Data::DPath::Point::parent (xsub) |
| 1 | 1 | 1 | 6µs | 16µs | Data::DPath::Point::BEGIN@10 |
| 2 | 2 | 1 | 2µs | 2µs | Data::DPath::Point::attrs (xsub) |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package 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 | ||||
| 3 | 1 | 4µs | $Data::DPath::Point::AUTHORITY = 'cpan:SCHWIGON'; | ||
| 4 | 1 | 20µs | 1 | 6µs | } # spent 6µs making 1 call to Data::DPath::Point::BEGIN@2 |
| 5 | { | ||||
| 6 | 2 | 800ns | $Data::DPath::Point::VERSION = '0.49'; | ||
| 7 | } | ||||
| 8 | # ABSTRACT: Abstraction for a single reference (a "point") in the datastructure | ||||
| 9 | |||||
| 10 | 2 | 17µs | 2 | 26µ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 # spent 16µs making 1 call to Data::DPath::Point::BEGIN@10
# spent 10µs making 1 call to strict::import |
| 11 | 2 | 28µs | 2 | 14µ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 # spent 11µs making 1 call to Data::DPath::Point::BEGIN@11
# spent 3µs making 1 call to warnings::import |
| 12 | |||||
| 13 | use Class::XSAccessor # ::Array | ||||
| 14 | 1 | 5µs | 1 | 151µ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 # spent 151µs making 1 call to Class::XSAccessor::import |
| 15 | constructor => 'new', | ||||
| 16 | accessors => [qw( parent | ||||
| 17 | attrs | ||||
| 18 | ref | ||||
| 19 | 1 | 14µs | 1 | 158µs | )]; # spent 158µs making 1 call to Data::DPath::Point::BEGIN@14 |
| 20 | |||||
| 21 | 1 | 2µs | 1; | ||
| 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 |