Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/B/Hooks/EndOfScope.pm |
Statements | Executed 79 statements in 895µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 671µs | 1.11ms | BEGIN@14 | B::Hooks::EndOfScope::
9 | 1 | 1 | 147µs | 301µs | on_scope_end | B::Hooks::EndOfScope::
9 | 9 | 9 | 129µs | 38.1ms | __ANON__[:26] | B::Hooks::EndOfScope::
9 | 1 | 1 | 36µs | 36µs | __ANON__[:25] | B::Hooks::EndOfScope::
1 | 1 | 1 | 24µs | 30µs | BEGIN@1 | namespace::clean::
1 | 1 | 1 | 18µs | 18µs | BEGIN@13 | B::Hooks::EndOfScope::
1 | 1 | 1 | 15µs | 607µs | BEGIN@16 | B::Hooks::EndOfScope::
1 | 1 | 1 | 12µs | 21µs | BEGIN@2.7 | namespace::clean::
1 | 1 | 1 | 5µs | 5µs | BEGIN@5 | B::Hooks::EndOfScope::
1 | 1 | 1 | 5µs | 5µs | BEGIN@8 | B::Hooks::EndOfScope::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 27µs | 2 | 35µs | # spent 30µs (24+6) within namespace::clean::BEGIN@1 which was called:
# once (24µs+6µs) by namespace::clean::BEGIN@17 at line 1 # spent 30µs making 1 call to namespace::clean::BEGIN@1
# spent 6µs making 1 call to strict::import |
2 | 2 | 40µs | 2 | 30µs | # spent 21µs (12+9) within namespace::clean::BEGIN@2.7 which was called:
# once (12µs+9µs) by namespace::clean::BEGIN@17 at line 2 # spent 21µs making 1 call to namespace::clean::BEGIN@2.7
# spent 9µs making 1 call to warnings::import |
3 | |||||
4 | package B::Hooks::EndOfScope; | ||||
5 | # spent 5µs within B::Hooks::EndOfScope::BEGIN@5 which was called:
# once (5µs+0s) by namespace::clean::BEGIN@17 at line 7 | ||||
6 | 1 | 6µs | $B::Hooks::EndOfScope::AUTHORITY = 'cpan:FLORA'; | ||
7 | 1 | 21µs | 1 | 5µs | } # spent 5µs making 1 call to B::Hooks::EndOfScope::BEGIN@5 |
8 | # spent 5µs within B::Hooks::EndOfScope::BEGIN@8 which was called:
# once (5µs+0s) by namespace::clean::BEGIN@17 at line 10 | ||||
9 | 1 | 5µs | $B::Hooks::EndOfScope::VERSION = '0.09'; | ||
10 | 1 | 16µs | 1 | 5µs | } # spent 5µs making 1 call to B::Hooks::EndOfScope::BEGIN@8 |
11 | # ABSTRACT: Execute code after a scope finished compilation | ||||
12 | |||||
13 | 2 | 37µs | 1 | 18µs | # spent 18µs within B::Hooks::EndOfScope::BEGIN@13 which was called:
# once (18µs+0s) by namespace::clean::BEGIN@17 at line 13 # spent 18µs making 1 call to B::Hooks::EndOfScope::BEGIN@13 |
14 | 3 | 157µs | 3 | 1.16ms | # spent 1.11ms (671µs+443µs) within B::Hooks::EndOfScope::BEGIN@14 which was called:
# once (671µs+443µs) by namespace::clean::BEGIN@17 at line 14 # spent 1.11ms making 1 call to B::Hooks::EndOfScope::BEGIN@14
# spent 33µs making 1 call to Exporter::import
# spent 12µs making 1 call to UNIVERSAL::VERSION |
15 | |||||
16 | 1 | 592µs | # spent 607µs (15+592) within B::Hooks::EndOfScope::BEGIN@16 which was called:
# once (15µs+592µs) by namespace::clean::BEGIN@17 at line 19 # spent 592µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:756] | ||
17 | exports => ['on_scope_end'], | ||||
18 | groups => { default => ['on_scope_end'] }, | ||||
19 | 2 | 145µs | 1 | 607µs | }; # spent 607µs making 1 call to B::Hooks::EndOfScope::BEGIN@16 |
20 | |||||
- - | |||||
23 | { | ||||
24 | 1 | 2µs | my $wiz = Variable::Magic::wizard | ||
25 | 9 | 46µs | # spent 36µs within B::Hooks::EndOfScope::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/B/Hooks/EndOfScope.pm:25] which was called 9 times, avg 4µs/call:
# 9 times (36µs+0s) by Variable::Magic::cast at line 37, avg 4µs/call | ||
26 | 19 | 137µs | 10 | 38.0ms | # spent 38.1ms (129µs+38.0) within B::Hooks::EndOfScope::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/B/Hooks/EndOfScope.pm:26] which was called 9 times, avg 4.23ms/call:
# once (16µs+4.60ms) by Mouse::Util::_try_load_one_class at line 632 of lib/Hailo.pm
# once (15µs+4.38ms) by Mouse::Util::_try_load_one_class at line 69 of lib/Hailo/Role/Engine.pm
# once (14µs+4.34ms) by Mouse::Util::_try_load_one_class at line 42 of lib/Hailo/Role/Arguments.pm
# once (13µs+4.33ms) by Mouse::Util::_try_load_one_class at line 129 of lib/Hailo/Role/Storage.pm
# once (13µs+4.29ms) by Mouse::Util::_try_load_one_class at line 92 of lib/Hailo/Role/Tokenizer.pm
# once (14µs+4.29ms) by main::RUNTIME at line 111 of bin/hailo
# once (15µs+4.09ms) by Hailo::_new_class at line 227 of lib/Hailo/Tokenizer/Words.pm
# once (15µs+3.83ms) by hailo::BEGIN@8 at line 435 of lib/Hailo/Command.pm
# once (15µs+3.82ms) by Hailo::_new_class at line 211 of lib/Hailo/Storage/SQLite.pm # spent 38.0ms making 9 calls to namespace::clean::__ANON__[namespace/clean.pm:110], avg 4.22ms/call
# spent 51µs making 1 call to Variable::Magic::wizard |
27 | |||||
28 | # spent 301µs (147+154) within B::Hooks::EndOfScope::on_scope_end which was called 9 times, avg 33µs/call:
# 9 times (147µs+154µs) by namespace::clean::import at line 110 of namespace/clean.pm, avg 33µs/call | ||||
29 | 27 | 131µs | my $cb = shift; | ||
30 | |||||
31 | $^H |= 0x020000; | ||||
32 | |||||
33 | 9 | 75µs | 9 | 21µs | if (my $stack = Variable::Magic::getdata %^H, $wiz) { # spent 21µs making 9 calls to Variable::Magic::getdata, avg 2µs/call |
34 | push @{ $stack }, $cb; | ||||
35 | } | ||||
36 | else { | ||||
37 | 1 | 46µs | 18 | 168µs | Variable::Magic::cast %^H, $wiz, $cb; # spent 132µs making 9 calls to Variable::Magic::cast, avg 15µs/call
# spent 36µs making 9 calls to B::Hooks::EndOfScope::__ANON__[B/Hooks/EndOfScope.pm:25], avg 4µs/call |
38 | } | ||||
39 | } | ||||
40 | } | ||||
41 | |||||
42 | |||||
43 | 1 | 5µs | 1; | ||
44 | |||||
45 | __END__ |