Skip to content

Instantly share code, notes, and snippets.

@timo
Created March 6, 2018 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/3ef8b2c702fe4df6075b6b83ad274834 to your computer and use it in GitHub Desktop.
Save timo/3ef8b2c702fe4df6075b6b83ad274834 to your computer and use it in GitHub Desktop.
top frames by count in (^Inf).hyper.grep(*.is-prime)[20_000] at the end.
Name Count
================================================ ======
protect (Lock.pm6:23) 15,806
<anon> (ThreadPoolScheduler.pm6:232) 8,075
run-one (ThreadPoolScheduler.pm6:230) 8,074
<anon> (ThreadPoolScheduler.pm6:56) 8,072
do-await (ThreadPoolScheduler.pm6:46) 8,072
<anon> (ThreadPoolScheduler.pm6:53) 8,072
await (ThreadPoolScheduler.pm6:40) 8,072
<anon> (ThreadPoolScheduler.pm6:57) 8,070
<anon> (Channel.pm6:194) 8,070
poll-now (Channel.pm6:192) 8,070
<anon> (Channel.pm6:193) 8,070
<anon> (ThreadPoolScheduler.pm6:60) 8,068
<anon> (Supply.pm6:1556) 7,982
send (Channel.pm6:42) 7,982
emit (Supply.pm6:1554) 7,981
tap (Supply.pm6:91) 7,731
subscribe-awaiter (Channel.pm6:176) 7,731
tap (Supply.pm6:1532) 7,731
<anon> (Channel.pm6:184) 7,730
<anon> (HyperPipeline.pm6:69) 2,996
<anon> (HyperPipeline.pm6:50) 2,975
pull-one (HyperToIterator.pm6:51) 2,020
<anon> (HyperToIterator.pm6:52) 2,020
moarop_mapper (QAST.nqp:1863) 598
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment