Filename | /Users/ether/.perlbrew/libs/36.0@std/lib/perl5/darwin-2level/Package/Stash/XS.pm |
Statements | Executed 10 statements in 3.78ms |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1716 | 4 | 1 | 2.92ms | 3.40ms | get_symbol (xsub) | Package::Stash::XS::
2336 | 7 | 1 | 685µs | 714µs | namespace (xsub) | Package::Stash::XS::
283 | 1 | 1 | 498µs | 565µs | remove_glob (xsub) | Package::Stash::XS::
301 | 2 | 1 | 474µs | 575µs | has_symbol (xsub) | Package::Stash::XS::
72 | 1 | 1 | 312µs | 312µs | new (xsub) | Package::Stash::XS::
18 | 1 | 1 | 188µs | 254µs | list_all_symbols (xsub) | Package::Stash::XS::
18 | 1 | 1 | 58µs | 61µs | add_symbol (xsub) | Package::Stash::XS::
72 | 4 | 1 | 29µs | 29µs | name (xsub) | Package::Stash::XS::
1 | 1 | 1 | 15µs | 17µs | BEGIN@2 | Package::Stash::XS::
1 | 1 | 1 | 11µs | 11µs | BEGIN@4 | Package::Stash::XS::
1 | 1 | 1 | 9µs | 49µs | BEGIN@3 | Package::Stash::XS::
1 | 1 | 1 | 8µs | 9µ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 | 35µs | 2 | 19µ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 # spent 17µs making 1 call to Package::Stash::XS::BEGIN@2
# spent 2µs making 1 call to strict::import |
3 | 2 | 26µs | 2 | 89µ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 # spent 49µs making 1 call to Package::Stash::XS::BEGIN@3
# spent 40µs making 1 call to warnings::import |
4 | 2 | 46µs | 1 | 11µ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 # 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 | |||||
7 | 1 | 0s | our $VERSION = '0.30'; | ||
8 | |||||
9 | 2 | 51µs | 2 | 10µ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 # spent 9µs making 1 call to Package::Stash::XS::BEGIN@9
# spent 1µs making 1 call to Package::Stash::XS::__ANON__ |
10 | 1 | 3.62ms | 1 | 3.61ms | XSLoader::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 | |||||
# 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 | |||||
# 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 |