Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created March 5, 2017 16:21
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 zoffixznet/cb4b6db279adb40de98b555f2ba01617 to your computer and use it in GitHub Desktop.
Save zoffixznet/cb4b6db279adb40de98b555f2ba01617 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:~/CPANPRC/IOGrant$ perl6 /tmp/z.p6
0
1
0
1
#### Sunk, 1,000,000 iterations, 8 calls per iteration
1000000: old: 2.72349277606 ; new: 1.73728920650 ; diff: 56.767%
10: old: 1.72886459740 ; new: 1.75062219873 ; diff: -1.243%
1000: old: 2.76110522544 ; new: 1.74080056651 ; diff: 58.611%
100000: old: 2.73324751211 ; new: 1.72569667500 ; diff: 58.385%
0: old: 1.75167838683 ; new: 1.82888329123 ; diff: -4.221%
100: old: 2.75378505932 ; new: 1.74156477850 ; diff: 58.121%
15: old: 2.77195908684 ; new: 1.77189944785 ; diff: 56.440%
14: old: 1.73837380427 ; new: 1.73411276362 ; diff: 0.246%
13: old: 1.73617937953 ; new: 1.73392950983 ; diff: 0.130%
1: old: 1.75298507463 ; new: 1.74982674390 ; diff: 0.180%
10000000: old: 2.75282899808 ; new: 1.73121360688 ; diff: 59.012%
#### Non-Sunk, 1,000,000 iterations, 6 calls per iteration
1000000: old: 1.00637908912 ; new: 0.77964492499 ; diff: 29.082%
10: old: 0.80158709076 ; new: 0.78039874552 ; diff: 2.715%
1000: old: 0.98188737786 ; new: 0.75422780540 ; diff: 30.184%
100000: old: 1.00466575459 ; new: 0.76998418041 ; diff: 30.479%
0: old: 0.77970192235 ; new: 0.82539103167 ; diff: -5.535%
100: old: 1.00334070174 ; new: 0.77089375448 ; diff: 30.153%
15: old: 1.03330086131 ; new: 0.76589054268 ; diff: 34.915%
14: old: 0.79192856805 ; new: 0.78156690093 ; diff: 1.326%
13: old: 0.78447091409 ; new: 0.76136162928 ; diff: 3.035%
1: old: 0.79474748765 ; new: 0.80385598113 ; diff: -1.133%
10000000: old: 1.05233648599 ; new: 0.79868416101 ; diff: 31.759%
zoffix@VirtualBox:~/CPANPRC/IOGrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment