← Index
NYTProf Performance Profile   « line view »
For index.cgi
  Run on Sat May 9 17:18:47 2020
Reported on Sat May 9 17:19:07 2020

Filename/usr/local/lib/perl/5.18.2/Package/Stash/XS.pm
StatementsExecuted 13 statements in 474µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
6941264µs312µsPackage::Stash::XS::::get_symbolPackage::Stash::XS::get_symbol (xsub)
857180µs84µsPackage::Stash::XS::::namespacePackage::Stash::XS::namespace (xsub)
61165µs65µsPackage::Stash::XS::::newPackage::Stash::XS::new (xsub)
101138µs43µsPackage::Stash::XS::::remove_globPackage::Stash::XS::remove_glob (xsub)
21120µs38µsPackage::Stash::XS::::list_all_symbolsPackage::Stash::XS::list_all_symbols (xsub)
11116µs16µsPackage::Stash::XS::::BEGIN@2Package::Stash::XS::BEGIN@2
32116µs28µsPackage::Stash::XS::::has_symbolPackage::Stash::XS::has_symbol (xsub)
11112µs12µsPackage::Stash::XS::::BEGIN@10Package::Stash::XS::BEGIN@10
11110µs28µsPackage::Stash::XS::::BEGIN@8Package::Stash::XS::BEGIN@8
1119µs16µsPackage::Stash::XS::::BEGIN@9Package::Stash::XS::BEGIN@9
1119µs10µsPackage::Stash::XS::::add_symbolPackage::Stash::XS::add_symbol (xsub)
1115µs5µsPackage::Stash::XS::::BEGIN@13Package::Stash::XS::BEGIN@13
6415µs5µsPackage::Stash::XS::::namePackage::Stash::XS::name (xsub)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Package::Stash::XS;
2
# spent 16µs within Package::Stash::XS::BEGIN@2 which was called: # once (16µs+0s) by Module::Runtime::require_module at line 4
BEGIN {
319µs $Package::Stash::XS::AUTHORITY = 'cpan:DOY';
4159µs116µs}
# spent 16µs making 1 call to Package::Stash::XS::BEGIN@2
5{
621µs $Package::Stash::XS::VERSION = '0.28';
7}
8231µs246µs
# spent 28µs (10+18) within Package::Stash::XS::BEGIN@8 which was called: # once (10µs+18µs) by Module::Runtime::require_module at line 8
use strict;
# spent 28µs making 1 call to Package::Stash::XS::BEGIN@8 # spent 18µs making 1 call to strict::import
9235µs222µs
# spent 16µs (9+6) within Package::Stash::XS::BEGIN@9 which was called: # once (9µs+6µs) by Module::Runtime::require_module at line 9
use warnings;
# spent 16µs making 1 call to Package::Stash::XS::BEGIN@9 # spent 6µs making 1 call to warnings::import
10254µs112µs
# spent 12µs within Package::Stash::XS::BEGIN@10 which was called: # once (12µs+0s) by Module::Runtime::require_module at line 10
use 5.008001;
# spent 12µs making 1 call to Package::Stash::XS::BEGIN@10
11# ABSTRACT: faster and more correct implementation of the Package::Stash API
12
13264µs15µs
# spent 5µs within Package::Stash::XS::BEGIN@13 which was called: # once (5µs+0s) by Module::Runtime::require_module at line 13
use XSLoader;
# spent 5µs making 1 call to Package::Stash::XS::BEGIN@13
14XSLoader::load(
15 __PACKAGE__,
16 # we need to be careful not to touch $VERSION at compile time, otherwise
17 # DynaLoader will assume it's set and check against it, which will cause
18 # fail when being run in the checkout without dzil having set the actual
19 # $VERSION
20 exists $Package::Stash::XS::{VERSION}
211213µs1203µs ? ${ $Package::Stash::XS::{VERSION} } : (),
# spent 203µs making 1 call to XSLoader::load
22);
23
24
2517µs1;
26
27__END__
 
# spent 10µs (9+600ns) within Package::Stash::XS::add_symbol which was called: # once (9µs+600ns) by namespace::clean::get_class_store at line 208 of namespace/clean.pm
sub Package::Stash::XS::add_symbol; # xsub
# spent 312µs (264+48) within Package::Stash::XS::get_symbol which was called 69 times, avg 5µs/call: # 40 times (135µs+20µs) by namespace::clean::__ANON__[/usr/local/share/perl/5.18.2/namespace/clean.pm:121] at line 105 of namespace/clean.pm, avg 4µs/call # 18 times (78µs+11µs) by namespace::clean::get_functions at line 218 of namespace/clean.pm, avg 5µs/call # 10 times (46µs+17µs) by namespace::clean::__ANON__[/usr/local/share/perl/5.18.2/namespace/clean.pm:121] at line 69 of namespace/clean.pm, avg 6µs/call # once (5µs+500ns) by namespace::clean::get_class_store at line 210 of namespace/clean.pm
sub Package::Stash::XS::get_symbol; # xsub
# spent 28µs (16+12) within Package::Stash::XS::has_symbol which was called 3 times, avg 9µs/call: # 2 times (9µs+6µs) by namespace::clean::import at line 170 of namespace/clean.pm, avg 8µs/call # once (6µs+6µs) by namespace::clean::get_class_store at line 208 of namespace/clean.pm
sub Package::Stash::XS::has_symbol; # xsub
# spent 38µs (20+18) within Package::Stash::XS::list_all_symbols which was called 2 times, avg 19µs/call: # 2 times (20µs+18µs) by namespace::clean::get_functions at line 218 of namespace/clean.pm, avg 19µs/call
sub Package::Stash::XS::list_all_symbols; # xsub
# spent 5µs within Package::Stash::XS::name which was called 6 times, avg 783ns/call: # 2 times (2µs+0s) by Package::Stash::XS::namespace at line 69 of namespace/clean.pm, avg 850ns/call # 2 times (2µs+0s) by Package::Stash::XS::namespace at line 218 of namespace/clean.pm, avg 850ns/call # once (700ns+0s) by Package::Stash::XS::namespace at line 208 of namespace/clean.pm # once (600ns+0s) by Package::Stash::XS::namespace at line 170 of namespace/clean.pm
sub Package::Stash::XS::name; # xsub
# spent 84µs (80+5) within Package::Stash::XS::namespace which was called 85 times, avg 992ns/call: # 40 times (20µs+0s) by Package::Stash::XS::get_symbol at line 105 of namespace/clean.pm, avg 503ns/call # 20 times (27µs+2µs) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 218 of namespace/clean.pm, avg 1µs/call # 10 times (16µs+2µs) by Package::Stash::XS::get_symbol at line 69 of namespace/clean.pm, avg 2µs/call # 10 times (5µs+0s) by Package::Stash::XS::remove_glob at line 109 of namespace/clean.pm, avg 500ns/call # 2 times (6µs+700ns) by Package::Stash::XS::add_symbol or Package::Stash::XS::has_symbol at line 208 of namespace/clean.pm, avg 3µs/call # 2 times (6µs+600ns) by Package::Stash::XS::has_symbol at line 170 of namespace/clean.pm, avg 3µs/call # once (500ns+0s) by Package::Stash::XS::get_symbol at line 210 of namespace/clean.pm
sub Package::Stash::XS::namespace; # xsub
# spent 65µs within Package::Stash::XS::new which was called 6 times, avg 11µs/call: # 6 times (65µs+0s) by namespace::clean::stash_for at line 3 of (eval 9)[namespace/clean.pm:27], avg 11µs/call
sub Package::Stash::XS::new; # xsub
# spent 43µs (38+5) within Package::Stash::XS::remove_glob which was called 10 times, avg 4µs/call: # 10 times (38µs+5µs) by namespace::clean::__ANON__[/usr/local/share/perl/5.18.2/namespace/clean.pm:121] at line 109 of namespace/clean.pm, avg 4µs/call
sub Package::Stash::XS::remove_glob; # xsub