Filename | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/darwin-2level/Package/Stash/XS.pm |
Statements | Executed 10 statements in 1.42ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1704 | 4 | 1 | 3.77ms | 4.39ms | get_symbol (xsub) | Package::Stash::XS::
2320 | 7 | 1 | 991µs | 1.02ms | namespace (xsub) | Package::Stash::XS::
281 | 1 | 1 | 690µs | 786µs | remove_glob (xsub) | Package::Stash::XS::
299 | 2 | 1 | 605µs | 770µs | has_symbol (xsub) | Package::Stash::XS::
72 | 1 | 1 | 530µs | 530µs | new (xsub) | Package::Stash::XS::
18 | 1 | 1 | 288µs | 422µs | list_all_symbols (xsub) | Package::Stash::XS::
18 | 1 | 1 | 65µs | 71µs | add_symbol (xsub) | Package::Stash::XS::
1 | 1 | 1 | 48µs | 56µs | BEGIN@2 | Package::Stash::XS::
72 | 4 | 1 | 31µs | 31µs | name (xsub) | Package::Stash::XS::
1 | 1 | 1 | 15µs | 16µs | BEGIN@9 | Package::Stash::XS::
1 | 1 | 1 | 13µs | 13µs | BEGIN@4 | Package::Stash::XS::
1 | 1 | 1 | 8µs | 48µs | BEGIN@3 | Package::Stash::XS::
1 | 1 | 1 | 1µs | 1µs | __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 | 42µs | 2 | 64µs | # spent 56µs (48+8) within Package::Stash::XS::BEGIN@2 which was called:
# once (48µs+8µs) by Module::Runtime::require_module at line 2 # spent 56µs making 1 call to Package::Stash::XS::BEGIN@2
# spent 8µs making 1 call to strict::import |
3 | 2 | 23µs | 2 | 88µs | # spent 48µs (8+40) within Package::Stash::XS::BEGIN@3 which was called:
# once (8µs+40µs) by Module::Runtime::require_module at line 3 # spent 48µs making 1 call to Package::Stash::XS::BEGIN@3
# spent 40µs making 1 call to warnings::import |
4 | 2 | 83µs | 1 | 13µs | # spent 13µs within Package::Stash::XS::BEGIN@4 which was called:
# once (13µs+0s) by Module::Runtime::require_module at line 4 # spent 13µ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 | 111µs | 2 | 17µs | # spent 16µs (15+1000ns) within Package::Stash::XS::BEGIN@9 which was called:
# once (15µs+1000ns) by Module::Runtime::require_module at line 9 # spent 16µs making 1 call to Package::Stash::XS::BEGIN@9
# spent 1µs making 1 call to Package::Stash::XS::__ANON__ |
10 | 1 | 1.16ms | 1 | 1.13ms | XSLoader::load(__PACKAGE__, $VERSION); # spent 1.13ms 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 | |||||
# spent 71µs (65+6) within Package::Stash::XS::add_symbol which was called 18 times, avg 4µs/call:
# 18 times (65µs+6µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 4µs/call | |||||
# spent 4.39ms (3.77+621µs) within Package::Stash::XS::get_symbol which was called 1704 times, avg 3µs/call:
# 1124 times (2.33ms+334µ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
# 281 times (735µs+162µ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
# 281 times (665µs+121µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 3µs/call
# 18 times (36µs+4µs) by namespace::clean::get_class_store at line 215 of namespace/clean.pm, avg 2µs/call | |||||
# spent 770µs (605+165) within Package::Stash::XS::has_symbol which was called 299 times, avg 3µs/call:
# 281 times (548µs+113µs) by namespace::clean::import at line 179 of namespace/clean.pm, avg 2µs/call
# 18 times (57µs+52µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 6µs/call | |||||
# spent 422µs (288+134) within Package::Stash::XS::list_all_symbols which was called 18 times, avg 23µs/call:
# 18 times (288µs+134µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 23µs/call | |||||
# spent 31µs within Package::Stash::XS::name which was called 72 times, avg 431ns/call:
# 18 times (12µs+0s) by Package::Stash::XS::namespace at line 76 of namespace/clean.pm, avg 667ns/call
# 18 times (8µs+0s) by Package::Stash::XS::namespace at line 223 of namespace/clean.pm, avg 444ns/call
# 18 times (7µs+0s) by Package::Stash::XS::namespace at line 213 of namespace/clean.pm, avg 389ns/call
# 18 times (4µs+0s) by Package::Stash::XS::namespace at line 179 of namespace/clean.pm, avg 222ns/call | |||||
# spent 1.02ms (991µs+31µs) within Package::Stash::XS::namespace which was called 2320 times, avg 441ns/call:
# 1124 times (334µs+0s) by Package::Stash::XS::get_symbol at line 114 of namespace/clean.pm, avg 297ns/call
# 299 times (247µs+8µs) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 223 of namespace/clean.pm, avg 853ns/call
# 281 times (150µs+12µs) by Package::Stash::XS::get_symbol at line 76 of namespace/clean.pm, avg 577ns/call
# 281 times (109µs+4µs) by Package::Stash::XS::has_symbol at line 179 of namespace/clean.pm, avg 402ns/call
# 281 times (96µs+0s) by Package::Stash::XS::remove_glob at line 118 of namespace/clean.pm, avg 342ns/call
# 36 times (51µs+7µ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 530µs within Package::Stash::XS::new which was called 72 times, avg 7µs/call:
# 72 times (530µs+0s) by namespace::clean::stash_for at line 3 of (eval 197)[namespace/clean.pm:27], avg 7µs/call | |||||
# spent 786µs (690+96) within Package::Stash::XS::remove_glob which was called 281 times, avg 3µs/call:
# 281 times (690µs+96µ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 3µs/call |