Filename | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/darwin-2level/Package/Stash/XS.pm |
Statements | Executed 10 statements in 1.01ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1716 | 4 | 1 | 3.51ms | 4.05ms | get_symbol (xsub) | Package::Stash::XS::
2336 | 7 | 1 | 840µs | 864µs | namespace (xsub) | Package::Stash::XS::
283 | 1 | 1 | 694µs | 763µs | remove_glob (xsub) | Package::Stash::XS::
301 | 2 | 1 | 547µs | 684µs | has_symbol (xsub) | Package::Stash::XS::
72 | 1 | 1 | 344µs | 344µs | new (xsub) | Package::Stash::XS::
18 | 1 | 1 | 198µs | 316µs | list_all_symbols (xsub) | Package::Stash::XS::
18 | 1 | 1 | 66µs | 70µs | add_symbol (xsub) | Package::Stash::XS::
1 | 1 | 1 | 42µs | 43µs | BEGIN@2 | Package::Stash::XS::
72 | 4 | 1 | 24µs | 24µs | name (xsub) | Package::Stash::XS::
1 | 1 | 1 | 14µs | 14µs | BEGIN@4 | Package::Stash::XS::
1 | 1 | 1 | 9µs | 26µs | BEGIN@3 | Package::Stash::XS::
1 | 1 | 1 | 7µs | 8µs | BEGIN@9 | 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 | 43µs | 2 | 44µs | # spent 43µs (42+1) within Package::Stash::XS::BEGIN@2 which was called:
# once (42µs+1µs) by Module::Runtime::require_module at line 2 # spent 43µs making 1 call to Package::Stash::XS::BEGIN@2
# spent 1µs making 1 call to strict::import |
3 | 2 | 14µs | 2 | 43µs | # spent 26µs (9+17) within Package::Stash::XS::BEGIN@3 which was called:
# once (9µs+17µs) by Module::Runtime::require_module at line 3 # spent 26µs making 1 call to Package::Stash::XS::BEGIN@3
# spent 17µs making 1 call to warnings::import |
4 | 2 | 40µs | 1 | 14µs | # spent 14µs within Package::Stash::XS::BEGIN@4 which was called:
# once (14µs+0s) by Module::Runtime::require_module at line 4 # spent 14µ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 | 51µs | 2 | 9µs | # spent 8µs (7+1000ns) within Package::Stash::XS::BEGIN@9 which was called:
# once (7µs+1000ns) by Module::Runtime::require_module at line 9 # spent 8µs making 1 call to Package::Stash::XS::BEGIN@9
# spent 1µs making 1 call to Package::Stash::XS::__ANON__ |
10 | 1 | 859µs | 1 | 848µs | XSLoader::load(__PACKAGE__, $VERSION); # spent 848µs 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 70µs (66+4) within Package::Stash::XS::add_symbol which was called 18 times, avg 4µs/call:
# 18 times (66µs+4µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 4µs/call | |||||
# spent 4.05ms (3.51+536µs) within Package::Stash::XS::get_symbol which was called 1716 times, avg 2µs/call:
# 1132 times (2.17ms+311µ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 (688µs+150µ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 (622µs+71µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 2µs/call
# 18 times (30µs+4µs) by namespace::clean::get_class_store at line 215 of namespace/clean.pm, avg 2µs/call | |||||
# spent 684µs (547+137) within Package::Stash::XS::has_symbol which was called 301 times, avg 2µs/call:
# 283 times (502µs+92µs) by namespace::clean::import at line 179 of namespace/clean.pm, avg 2µs/call
# 18 times (45µs+45µs) by namespace::clean::get_class_store at line 213 of namespace/clean.pm, avg 5µs/call | |||||
# spent 316µs (198+118) within Package::Stash::XS::list_all_symbols which was called 18 times, avg 18µs/call:
# 18 times (198µs+118µs) by namespace::clean::get_functions at line 223 of namespace/clean.pm, avg 18µs/call | |||||
# spent 24µs within Package::Stash::XS::name which was called 72 times, avg 333ns/call:
# 18 times (9µs+0s) by Package::Stash::XS::namespace at line 76 of namespace/clean.pm, avg 500ns/call
# 18 times (8µs+0s) by Package::Stash::XS::namespace at line 223 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
# 18 times (3µs+0s) by Package::Stash::XS::namespace at line 213 of namespace/clean.pm, avg 167ns/call | |||||
# spent 864µs (840+24) within Package::Stash::XS::namespace which was called 2336 times, avg 370ns/call:
# 1132 times (311µs+0s) by Package::Stash::XS::get_symbol at line 114 of namespace/clean.pm, avg 275ns/call
# 301 times (181µs+8µs) by Package::Stash::XS::get_symbol or Package::Stash::XS::list_all_symbols at line 223 of namespace/clean.pm, avg 628ns/call
# 283 times (141µs+9µs) by Package::Stash::XS::get_symbol at line 76 of namespace/clean.pm, avg 530ns/call
# 283 times (88µs+4µs) by Package::Stash::XS::has_symbol at line 179 of namespace/clean.pm, avg 325ns/call
# 283 times (69µs+0s) by Package::Stash::XS::remove_glob at line 118 of namespace/clean.pm, avg 244ns/call
# 36 times (46µs+3µ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 (4µs+0s) by Package::Stash::XS::get_symbol at line 215 of namespace/clean.pm, avg 222ns/call | |||||
# spent 344µs within Package::Stash::XS::new which was called 72 times, avg 5µs/call:
# 72 times (344µs+0s) by namespace::clean::stash_for at line 3 of (eval 197)[namespace/clean.pm:27], avg 5µs/call | |||||
# spent 763µs (694+69) within Package::Stash::XS::remove_glob which was called 283 times, avg 3µs/call:
# 283 times (694µs+69µ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 |