← Index
NYTProf Performance Profile   « line view »
For examples/Atom-timer.pl
  Run on Mon Aug 12 14:45:28 2013
Reported on Mon Aug 12 14:46:15 2013

Filename/Users/dde/perl5/perlbrew/perls/5.18.0t/lib/site_perl/5.18.0/B/Hooks/EndOfScope.pm
StatementsExecuted 17 statements in 247µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11120µs1.84msB::Hooks::EndOfScope::::BEGIN@18B::Hooks::EndOfScope::BEGIN@18
1119µs60µsB::Hooks::EndOfScope::::BEGIN@34B::Hooks::EndOfScope::BEGIN@34
1118µs8µsB::Hooks::EndOfScope::::BEGIN@16B::Hooks::EndOfScope::BEGIN@16
1118µs8µsB::Hooks::EndOfScope::::BEGIN@2B::Hooks::EndOfScope::BEGIN@2
1116µs15µsB::Hooks::EndOfScope::::BEGIN@10B::Hooks::EndOfScope::BEGIN@10
1115µs8µsB::Hooks::EndOfScope::::BEGIN@11B::Hooks::EndOfScope::BEGIN@11
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package B::Hooks::EndOfScope;
2
# spent 8µs within B::Hooks::EndOfScope::BEGIN@2 which was called: # once (8µs+0s) by namespace::autoclean::BEGIN@14 at line 4
BEGIN {
316µs $B::Hooks::EndOfScope::AUTHORITY = 'cpan:FLORA';
4126µs18µs}
# spent 8µs making 1 call to B::Hooks::EndOfScope::BEGIN@2
5{
62700ns $B::Hooks::EndOfScope::VERSION = '0.12';
7}
8# ABSTRACT: Execute code after a scope finished compilation
9
10218µs225µs
# spent 15µs (6+10) within B::Hooks::EndOfScope::BEGIN@10 which was called: # once (6µs+10µs) by namespace::autoclean::BEGIN@14 at line 10
use strict;
# spent 15µs making 1 call to B::Hooks::EndOfScope::BEGIN@10 # spent 10µs making 1 call to strict::import
11220µs211µs
# spent 8µs (5+3) within B::Hooks::EndOfScope::BEGIN@11 which was called: # once (5µs+3µs) by namespace::autoclean::BEGIN@14 at line 11
use warnings;
# spent 8µs making 1 call to B::Hooks::EndOfScope::BEGIN@11 # spent 3µs making 1 call to warnings::import
12
13# note - a %^H tie() fallback will probably work on 5.6 as well,
14# if you need to go that low - sane patches passing *all* tests
15# will be gladly accepted
16297µs18µs
# spent 8µs within B::Hooks::EndOfScope::BEGIN@16 which was called: # once (8µs+0s) by namespace::autoclean::BEGIN@14 at line 16
use 5.008001;
# spent 8µs making 1 call to B::Hooks::EndOfScope::BEGIN@16
17
18
# spent 1.84ms (20µs+1.82) within B::Hooks::EndOfScope::BEGIN@18 which was called: # once (20µs+1.82ms) by namespace::autoclean::BEGIN@14 at line 32
BEGIN {
191300ns require Module::Implementation;
2011µs12µs my $impl = Module::Implementation::implementation_for('B::Hooks::EndOfScope') || do {
# spent 2µs making 1 call to Module::Implementation::implementation_for
2116µs21.82ms Module::Implementation::build_loader_sub(
22 implementations => [ 'XS', 'PP' ],
23 symbols => [ 'on_scope_end' ],
24 )->();
2511µs12µs Module::Implementation::implementation_for('B::Hooks::EndOfScope');
# spent 2µs making 1 call to Module::Implementation::implementation_for
26 };
27
2813µs *on_scope_end = $impl eq 'XS'
29 ? \&B::Hooks::EndOfScope::XS::on_scope_end
30 : \&B::Hooks::EndOfScope::PP::on_scope_end
31 ;
32134µs11.84ms}
# spent 1.84ms making 1 call to B::Hooks::EndOfScope::BEGIN@18
33
341300ns
# spent 60µs (9+51) within B::Hooks::EndOfScope::BEGIN@34 which was called: # once (9µs+51µs) by namespace::autoclean::BEGIN@14 at line 37
use Sub::Exporter::Progressive -setup => {
35 exports => [ 'on_scope_end' ],
36 groups => { default => ['on_scope_end'] },
37129µs2111µs};
# spent 60µs making 1 call to B::Hooks::EndOfScope::BEGIN@34 # spent 51µs making 1 call to Sub::Exporter::Progressive::import
38
39
4012µs1;
41
42__END__