← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Thu Dec 15 15:23:56 2022
Reported on Thu Dec 15 15:27:03 2022

Filename/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/darwin-2level/Package/Stash/XS.pm
StatementsExecuted 10 statements in 3.78ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1716412.92ms3.40msPackage::Stash::XS::::get_symbolPackage::Stash::XS::get_symbol (xsub)
233671685µs714µsPackage::Stash::XS::::namespacePackage::Stash::XS::namespace (xsub)
28311498µs565µsPackage::Stash::XS::::remove_globPackage::Stash::XS::remove_glob (xsub)
30121474µs575µsPackage::Stash::XS::::has_symbolPackage::Stash::XS::has_symbol (xsub)
7211312µs312µsPackage::Stash::XS::::newPackage::Stash::XS::new (xsub)
1811188µs254µsPackage::Stash::XS::::list_all_symbolsPackage::Stash::XS::list_all_symbols (xsub)
181158µs61µsPackage::Stash::XS::::add_symbolPackage::Stash::XS::add_symbol (xsub)
724129µs29µsPackage::Stash::XS::::namePackage::Stash::XS::name (xsub)
11115µs17µsPackage::Stash::XS::::BEGIN@2Package::Stash::XS::BEGIN@2
11111µs11µsPackage::Stash::XS::::BEGIN@4Package::Stash::XS::BEGIN@4
1119µs49µsPackage::Stash::XS::::BEGIN@3Package::Stash::XS::BEGIN@3
1118µs9µsPackage::Stash::XS::::BEGIN@9Package::Stash::XS::BEGIN@9
1111µs1µsPackage::Stash::XS::::__ANON__Package::Stash::XS::__ANON__ (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; # git description: v0.29-21-gea0807b
2235µs219µs
# spent 17µs (15+2) within Package::Stash::XS::BEGIN@2 which was called: # once (15µs+2µs) by Module::Runtime::require_module at line 2
use strict;
# spent 17µs making 1 call to Package::Stash::XS::BEGIN@2 # spent 2µs making 1 call to strict::import
3226µs289µs
# spent 49µs (9+40) within Package::Stash::XS::BEGIN@3 which was called: # once (9µs+40µs) by Module::Runtime::require_module at line 3
use warnings;
# spent 49µs making 1 call to Package::Stash::XS::BEGIN@3 # spent 40µs making 1 call to warnings::import
4246µs111µs
# spent 11µs within Package::Stash::XS::BEGIN@4 which was called: # once (11µs+0s) by Module::Runtime::require_module at line 4
use 5.008001;
# spent 11µs making 1 call to Package::Stash::XS::BEGIN@4
5# ABSTRACT: Faster and more correct implementation of the Package::Stash API
6
710sour $VERSION = '0.30';
8
9251µs210µs
# spent 9µs (8+1) within Package::Stash::XS::BEGIN@9 which was called: # once (8µs+1µs) by Module::Runtime::require_module at line 9
use XSLoader;
# spent 9µs making 1 call to Package::Stash::XS::BEGIN@9 # spent 1µs making 1 call to Package::Stash::XS::__ANON__
1013.62ms13.61msXSLoader::load(__PACKAGE__, $VERSION);
# spent 3.61ms making 1 call to XSLoader::load
11
12__END__
 
# spent 1µs within Package::Stash::XS::__ANON__ which was called: # once (1µs+0s) by Package::Stash::XS::BEGIN@9 at line 9
sub Package::Stash::XS::__ANON__; # xsub
# spent 61µs (58+3) within Package::Stash::XS::add_symbol which was called 18 times, avg 3µs/call: # 18 times (58µs+3µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 3µs/call
sub Package::Stash::XS::add_symbol; # xsub
# spent 3.40ms (2.92+477µs) within Package::Stash::XS::get_symbol which was called 1716 times, avg 2µs/call: # 1132 times (1.77ms+280µs) by namespace::clean::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/namespace/clean.pm:130] at line 114 of namespace/clean.pm, avg 2µs/call # 283 times (602µs+128µs) by namespace::clean::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/namespace/clean.pm:130] at line 76 of namespace/clean.pm, avg 3µs/call # 283 times (519µs+67µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 2µs/call # 18 times (33µs+2µs) by namespace::clean::get_class_store at line 215 of namespace/clean.pm, avg 2µs/call
sub Package::Stash::XS::get_symbol; # xsub
# spent 575µs (474+101) within Package::Stash::XS::has_symbol which was called 301 times, avg 2µs/call: # 283 times (443µs+67µs) by namespace::clean::import at line 179 of namespace/clean.pm, avg 2µs/call # 18 times (31µs+34µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 4µs/call
sub Package::Stash::XS::has_symbol; # xsub
# spent 254µs (188+66) within Package::Stash::XS::list_all_symbols which was called 18 times, avg 14µs/call: # 18 times (188µs+66µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 14µs/call
sub Package::Stash::XS::list_all_symbols; # xsub
# spent 29µs within Package::Stash::XS::name which was called 72 times, avg 403ns/call: # 18 times (10µs+0s) by Package::Stash::XS::namespace at line 223 of namespace/clean.pm, avg 556ns/call # 18 times (9µs+0s) by Package::Stash::XS::namespace at line 76 of namespace/clean.pm, avg 500ns/call # 18 times (6µs+0s) by Package::Stash::XS::namespace at line 213 of namespace/clean.pm, avg 333ns/call # 18 times (4µs+0s) by Package::Stash::XS::namespace at line 179 of namespace/clean.pm, avg 222ns/call
sub Package::Stash::XS::name; # xsub
# spent 714µs (685+29) within Package::Stash::XS::namespace which was called 2336 times, avg 306ns/call: # 1132 times (280µs+0s) by Package::Stash::XS::get_symbol at line 114 of namespace/clean.pm, avg 247ns/call # 301 times (123µs+10µs) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 223 of namespace/clean.pm, avg 442ns/call # 283 times (119µs+9µs) by Package::Stash::XS::get_symbol at line 76 of namespace/clean.pm, avg 452ns/call # 283 times (67µs+0s) by Package::Stash::XS::remove_glob at line 118 of namespace/clean.pm, avg 237ns/call # 283 times (63µs+4µs) by Package::Stash::XS::has_symbol at line 179 of namespace/clean.pm, avg 237ns/call # 36 times (31µs+6µs) by Package::Stash::XS::add_symbol or Package::Stash::XS::has_symbol at line 213 of namespace/clean.pm, avg 1µs/call # 18 times (2µs+0s) by Package::Stash::XS::get_symbol at line 215 of namespace/clean.pm, avg 111ns/call
sub Package::Stash::XS::namespace; # xsub
# spent 312µs within Package::Stash::XS::new which was called 72 times, avg 4µs/call: # 72 times (312µs+0s) by namespace::clean::stash_for at line 3 of (eval 197)[namespace/clean.pm:27], avg 4µs/call
sub Package::Stash::XS::new; # xsub
# spent 565µs (498+67) within Package::Stash::XS::remove_glob which was called 283 times, avg 2µs/call: # 283 times (498µs+67µs) by namespace::clean::__ANON__[/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/namespace/clean.pm:130] at line 118 of namespace/clean.pm, avg 2µs/call
sub Package::Stash::XS::remove_glob; # xsub