Filename | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/darwin-2level/Package/Stash/XS.pm |
Statements | Executed 10 statements in 982µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1692 | 4 | 1 | 3.90ms | 4.43ms | get_symbol (xsub) | Package::Stash::XS::
2304 | 7 | 1 | 819µs | 850µs | namespace (xsub) | Package::Stash::XS::
297 | 2 | 1 | 688µs | 859µs | has_symbol (xsub) | Package::Stash::XS::
279 | 1 | 1 | 591µs | 661µs | remove_glob (xsub) | Package::Stash::XS::
72 | 1 | 1 | 380µs | 380µs | new (xsub) | Package::Stash::XS::
18 | 1 | 1 | 166µs | 241µs | list_all_symbols (xsub) | Package::Stash::XS::
18 | 1 | 1 | 128µs | 137µs | add_symbol (xsub) | Package::Stash::XS::
1 | 1 | 1 | 31µs | 34µs | BEGIN@2 | Package::Stash::XS::
72 | 4 | 1 | 31µs | 31µs | name (xsub) | Package::Stash::XS::
1 | 1 | 1 | 8µs | 8µs | BEGIN@4 | Package::Stash::XS::
1 | 1 | 1 | 8µs | 8µs | BEGIN@9 | Package::Stash::XS::
1 | 1 | 1 | 7µs | 38µs | BEGIN@3 | Package::Stash::XS::
1 | 1 | 1 | 0s | 0s | __ANON__ (xsub) | Package::Stash::XS::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package Package::Stash::XS; # git description: v0.29-21-gea0807b | ||||
2 | 2 | 35µs | 2 | 37µs | # spent 34µs (31+3) within Package::Stash::XS::BEGIN@2 which was called:
# once (31µs+3µs) by Module::Runtime::require_module at line 2 # spent 34µs making 1 call to Package::Stash::XS::BEGIN@2
# spent 3µs making 1 call to strict::import |
3 | 2 | 22µs | 2 | 69µs | # spent 38µs (7+31) within Package::Stash::XS::BEGIN@3 which was called:
# once (7µs+31µs) by Module::Runtime::require_module at line 3 # spent 38µs making 1 call to Package::Stash::XS::BEGIN@3
# spent 31µs making 1 call to warnings::import |
4 | 2 | 36µs | 1 | 8µs | # spent 8µs within Package::Stash::XS::BEGIN@4 which was called:
# once (8µs+0s) by Module::Runtime::require_module at line 4 # spent 8µs making 1 call to Package::Stash::XS::BEGIN@4 |
5 | # ABSTRACT: Faster and more correct implementation of the Package::Stash API | ||||
6 | |||||
7 | 1 | 0s | our $VERSION = '0.30'; | ||
8 | |||||
9 | 2 | 65µs | 2 | 8µs | # spent 8µs within Package::Stash::XS::BEGIN@9 which was called:
# once (8µs+0s) by Module::Runtime::require_module at line 9 # spent 8µs making 1 call to Package::Stash::XS::BEGIN@9
# spent 0s making 1 call to Package::Stash::XS::__ANON__ |
10 | 1 | 824µs | 1 | 812µs | XSLoader::load(__PACKAGE__, $VERSION); # spent 812µs making 1 call to XSLoader::load |
11 | |||||
12 | __END__ | ||||
# spent 0s within Package::Stash::XS::__ANON__ which was called:
# once (0s+0s) by Package::Stash::XS::BEGIN@9 at line 9 | |||||
# spent 137µs (128+9) within Package::Stash::XS::add_symbol which was called 18 times, avg 8µs/call:
# 18 times (128µs+9µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 8µs/call | |||||
# spent 4.43ms (3.90+525µs) within Package::Stash::XS::get_symbol which was called 1692 times, avg 3µs/call:
# 1116 times (2.10ms+305µ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
# 279 times (998µs+72µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 4µs/call
# 279 times (761µs+144µ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
# 18 times (39µs+4µs) by namespace::clean::get_class_store at line 215 of namespace/clean.pm, avg 2µs/call | |||||
# spent 859µs (688+171) within Package::Stash::XS::has_symbol which was called 297 times, avg 3µs/call:
# 279 times (638µs+124µs) by namespace::clean::import at line 179 of namespace/clean.pm, avg 3µs/call
# 18 times (50µs+47µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 5µs/call | |||||
# spent 241µs (166+75) within Package::Stash::XS::list_all_symbols which was called 18 times, avg 13µs/call:
# 18 times (166µs+75µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 13µs/call | |||||
# spent 31µs within Package::Stash::XS::name which was called 72 times, avg 431ns/call:
# 18 times (10µs+0s) by Package::Stash::XS::namespace at line 76 of namespace/clean.pm, avg 556ns/call
# 18 times (9µs+0s) by Package::Stash::XS::namespace at line 223 of namespace/clean.pm, avg 500ns/call
# 18 times (8µs+0s) by Package::Stash::XS::namespace at line 213 of namespace/clean.pm, avg 444ns/call
# 18 times (4µs+0s) by Package::Stash::XS::namespace at line 179 of namespace/clean.pm, avg 222ns/call | |||||
# spent 850µs (819+31) within Package::Stash::XS::namespace which was called 2304 times, avg 369ns/call:
# 1116 times (305µs+0s) by Package::Stash::XS::get_symbol at line 114 of namespace/clean.pm, avg 273ns/call
# 297 times (138µs+9µs) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 223 of namespace/clean.pm, avg 495ns/call
# 279 times (134µs+10µs) by Package::Stash::XS::get_symbol at line 76 of namespace/clean.pm, avg 516ns/call
# 279 times (120µs+4µs) by Package::Stash::XS::has_symbol at line 179 of namespace/clean.pm, avg 444ns/call
# 279 times (70µs+0s) by Package::Stash::XS::remove_glob at line 118 of namespace/clean.pm, avg 251ns/call
# 36 times (48µs+8µs) by Package::Stash::XS::add_symbol or Package::Stash::XS::has_symbol at line 213 of namespace/clean.pm, avg 2µs/call
# 18 times (4µs+0s) by Package::Stash::XS::get_symbol at line 215 of namespace/clean.pm, avg 222ns/call | |||||
# spent 380µs within Package::Stash::XS::new which was called 72 times, avg 5µs/call:
# 72 times (380µs+0s) by namespace::clean::stash_for at line 3 of (eval 197)[namespace/clean.pm:27], avg 5µs/call | |||||
# spent 661µs (591+70) within Package::Stash::XS::remove_glob which was called 279 times, avg 2µs/call:
# 279 times (591µs+70µ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 |