| Filename | /usr/share/perl5/B/Hooks/EndOfScope.pm |
| Statements | Executed 14 statements in 204µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 9µs | 14µs | B::Hooks::EndOfScope::BEGIN@13 |
| 1 | 1 | 1 | 9µs | 60µs | B::Hooks::EndOfScope::BEGIN@28 |
| 1 | 1 | 1 | 9µs | 9µs | B::Hooks::EndOfScope::BEGIN@18 |
| 1 | 1 | 1 | 9µs | 4.95ms | B::Hooks::EndOfScope::BEGIN@20 |
| 1 | 1 | 1 | 8µs | 8µs | B::Hooks::EndOfScope::BEGIN@7 |
| 1 | 1 | 1 | 6µs | 16µs | B::Hooks::EndOfScope::BEGIN@12 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package B::Hooks::EndOfScope; | ||||
| 2 | { | ||||
| 3 | 2 | 700ns | $B::Hooks::EndOfScope::VERSION = '0.13'; | ||
| 4 | } | ||||
| 5 | # git description: 0.12-15-g7013f3a | ||||
| 6 | |||||
| 7 | # spent 8µs within B::Hooks::EndOfScope::BEGIN@7 which was called:
# once (8µs+0s) by namespace::clean::BEGIN@11 at line 9 | ||||
| 8 | 1 | 5µs | $B::Hooks::EndOfScope::AUTHORITY = 'cpan:FLORA'; | ||
| 9 | 1 | 20µs | 1 | 8µs | } # spent 8µs making 1 call to B::Hooks::EndOfScope::BEGIN@7 |
| 10 | # ABSTRACT: Execute code after a scope finished compilation | ||||
| 11 | |||||
| 12 | 2 | 21µs | 2 | 27µs | # spent 16µs (6+11) within B::Hooks::EndOfScope::BEGIN@12 which was called:
# once (6µs+11µs) by namespace::clean::BEGIN@11 at line 12 # spent 16µs making 1 call to B::Hooks::EndOfScope::BEGIN@12
# spent 10µs making 1 call to strict::import |
| 13 | 2 | 22µs | 2 | 18µs | # spent 14µs (9+4) within B::Hooks::EndOfScope::BEGIN@13 which was called:
# once (9µs+4µs) by namespace::clean::BEGIN@11 at line 13 # spent 14µs making 1 call to B::Hooks::EndOfScope::BEGIN@13
# spent 4µs making 1 call to warnings::import |
| 14 | |||||
| 15 | # note - a %^H tie() fallback will probably work on 5.6 as well, | ||||
| 16 | # if you need to go that low - sane patches passing *all* tests | ||||
| 17 | # will be gladly accepted | ||||
| 18 | 2 | 61µs | 1 | 9µs | # spent 9µs within B::Hooks::EndOfScope::BEGIN@18 which was called:
# once (9µs+0s) by namespace::clean::BEGIN@11 at line 18 # spent 9µs making 1 call to B::Hooks::EndOfScope::BEGIN@18 |
| 19 | |||||
| 20 | # spent 4.95ms (9µs+4.94) within B::Hooks::EndOfScope::BEGIN@20 which was called:
# once (9µs+4.94ms) by namespace::clean::BEGIN@11 at line 26 | ||||
| 21 | 1 | 300ns | require Module::Implementation; | ||
| 22 | 1 | 5µs | 2 | 4.94ms | Module::Implementation::build_loader_sub( # spent 4.93ms making 1 call to Module::Implementation::__ANON__[Module/Implementation.pm:52]
# spent 17µs making 1 call to Module::Implementation::build_loader_sub |
| 23 | implementations => [ 'XS', 'PP' ], | ||||
| 24 | symbols => [ 'on_scope_end' ], | ||||
| 25 | )->(); | ||||
| 26 | 1 | 39µs | 1 | 4.95ms | } # spent 4.95ms making 1 call to B::Hooks::EndOfScope::BEGIN@20 |
| 27 | |||||
| 28 | 1 | 6µs | 1 | 51µs | # spent 60µs (9+51) within B::Hooks::EndOfScope::BEGIN@28 which was called:
# once (9µs+51µs) by namespace::clean::BEGIN@11 at line 31 # spent 51µs making 1 call to Sub::Exporter::Progressive::import |
| 29 | exports => [ 'on_scope_end' ], | ||||
| 30 | groups => { default => ['on_scope_end'] }, | ||||
| 31 | 1 | 22µs | 1 | 60µs | }; # spent 60µs making 1 call to B::Hooks::EndOfScope::BEGIN@28 |
| 32 | |||||
| 33 | |||||
| 34 | 1 | 2µs | 1; | ||
| 35 | |||||
| 36 | __END__ |