Filename | /home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/B/Hooks/EndOfScope.pm |
Statements | Executed 65 statements in 894µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 2.33ms | 8.80ms | BEGIN@16 | B::Hooks::EndOfScope::
1 | 1 | 1 | 660µs | 1.11ms | BEGIN@14 | B::Hooks::EndOfScope::
7 | 1 | 1 | 115µs | 229µs | on_scope_end | B::Hooks::EndOfScope::
7 | 7 | 7 | 99µs | 30.7ms | __ANON__[:26] | B::Hooks::EndOfScope::
7 | 1 | 1 | 28µs | 28µs | __ANON__[:25] | B::Hooks::EndOfScope::
1 | 1 | 1 | 25µs | 30µs | BEGIN@1 | namespace::clean::
1 | 1 | 1 | 19µs | 19µs | BEGIN@13 | B::Hooks::EndOfScope::
1 | 1 | 1 | 11µs | 20µs | BEGIN@2.4 | namespace::clean::
1 | 1 | 1 | 5µs | 5µs | BEGIN@8 | B::Hooks::EndOfScope::
1 | 1 | 1 | 5µs | 5µs | BEGIN@5 | B::Hooks::EndOfScope::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 26µs | 2 | 35µs | # spent 30µs (25+5) within namespace::clean::BEGIN@1 which was called:
# once (25µs+5µs) by namespace::clean::BEGIN@17 at line 1 # spent 30µs making 1 call to namespace::clean::BEGIN@1
# spent 5µs making 1 call to strict::import |
2 | 2 | 43µs | 2 | 29µs | # spent 20µs (11+9) within namespace::clean::BEGIN@2.4 which was called:
# once (11µs+9µs) by namespace::clean::BEGIN@17 at line 2 # spent 20µs making 1 call to namespace::clean::BEGIN@2.4
# 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 | 24µ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 | 20µ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 | 38µs | 1 | 19µs | # spent 19µs within B::Hooks::EndOfScope::BEGIN@13 which was called:
# once (19µs+0s) by namespace::clean::BEGIN@17 at line 13 # spent 19µs making 1 call to B::Hooks::EndOfScope::BEGIN@13 |
14 | 3 | 150µs | 3 | 1.16ms | # spent 1.11ms (660µs+451µs) within B::Hooks::EndOfScope::BEGIN@14 which was called:
# once (660µs+451µ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 15µs making 1 call to UNIVERSAL::VERSION |
15 | |||||
16 | 1 | 12µs | 1 | 525µs | # spent 8.80ms (2.33+6.47) within B::Hooks::EndOfScope::BEGIN@16 which was called:
# once (2.33ms+6.47ms) by namespace::clean::BEGIN@17 at line 19 # spent 525µs making 1 call to Sub::Exporter::__ANON__[Sub/Exporter.pm:756] |
17 | exports => ['on_scope_end'], | ||||
18 | groups => { default => ['on_scope_end'] }, | ||||
19 | 1 | 229µs | 1 | 8.80ms | }; # spent 8.80ms making 1 call to B::Hooks::EndOfScope::BEGIN@16 |
20 | |||||
- - | |||||
23 | { | ||||
24 | 1 | 2µs | my $wiz = Variable::Magic::wizard | ||
25 | 7 | 35µs | # spent 28µ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 7 times, avg 4µs/call:
# 7 times (28µs+0s) by Variable::Magic::cast at line 37, avg 4µs/call | ||
26 | 15 | 108µs | 8 | 30.7ms | # spent 30.7ms (99µs+30.6) 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 7 times, avg 4.39ms/call:
# once (13µs+4.75ms) by Mouse::Util::_try_load_one_class at line 48 of Hailo/Role/Arguments.pm
# once (14µs+4.65ms) by main::BEGIN@6 at line 638 of Hailo.pm
# once (15µs+4.55ms) by Mouse::Util::_try_load_one_class at line 98 of Hailo/Role/Tokenizer.pm
# once (14µs+4.42ms) by Mouse::Util::_try_load_one_class at line 135 of Hailo/Role/Storage.pm
# once (14µs+4.34ms) by Mouse::Util::_try_load_one_class at line 75 of Hailo/Role/Engine.pm
# once (15µs+4.09ms) by Hailo::_new_class at line 233 of Hailo/Tokenizer/Words.pm
# once (14µs+3.83ms) by Hailo::_new_class at line 217 of Hailo/Storage/SQLite.pm # spent 30.6ms making 7 calls to namespace::clean::__ANON__[namespace/clean.pm:110], avg 4.38ms/call
# spent 48µs making 1 call to Variable::Magic::wizard |
27 | |||||
28 | # spent 229µs (115+114) within B::Hooks::EndOfScope::on_scope_end which was called 7 times, avg 33µs/call:
# 7 times (115µs+114µs) by namespace::clean::import at line 110 of namespace/clean.pm, avg 33µs/call | ||||
29 | 7 | 10µs | my $cb = shift; | ||
30 | |||||
31 | 7 | 14µs | $^H |= 0x020000; | ||
32 | |||||
33 | 7 | 78µs | 7 | 16µs | if (my $stack = Variable::Magic::getdata %^H, $wiz) { # spent 16µs making 7 calls to Variable::Magic::getdata, avg 2µs/call |
34 | push @{ $stack }, $cb; | ||||
35 | } | ||||
36 | else { | ||||
37 | 7 | 90µs | 14 | 126µs | Variable::Magic::cast %^H, $wiz, $cb; # spent 98µs making 7 calls to Variable::Magic::cast, avg 14µs/call
# spent 28µs making 7 calls to B::Hooks::EndOfScope::__ANON__[B/Hooks/EndOfScope.pm:25], avg 4µs/call |
38 | } | ||||
39 | } | ||||
40 | } | ||||
41 | |||||
42 | |||||
43 | 1 | 4µs | 1; | ||
44 | |||||
45 | __END__ |