Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created March 5, 2017 16:15
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/e60c0296cac08a55b9fae1b99ef0ec90 to your computer and use it in GitHub Desktop.
Save zoffixznet/e60c0296cac08a55b9fae1b99ef0ec90 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
0: old: 1.80599481741 ; new: 1.89091735441 ; diff: -4.491%
1: old: 1.77684533949 ; new: 1.78022386506 ; diff: -0.190%
10: old: 1.79525588746 ; new: 1.74894678040 ; diff: 2.648%
13: old: 1.78094437898 ; new: 1.77813852814 ; diff: 0.158%
14: old: 1.77861095532 ; new: 1.78521651561 ; diff: -0.370%
15: old: 2.77923789358 ; new: 1.76065216284 ; diff: 57.853%
100: old: 2.83868779128 ; new: 1.75067642690 ; diff: 62.148%
1000: old: 2.79207908835 ; new: 1.77480648757 ; diff: 57.317%
100000: old: 2.81366351764 ; new: 1.75162016202 ; diff: 60.632%
1000000: old: 2.86260525925 ; new: 1.75876392464 ; diff: 62.762%
10000000: old: 2.93532595188 ; new: 1.78303214879 ; diff: 64.626%
#### Non-Sunk, 1,000,000 iterations, 6 calls per iteration
0: old: 0.77704931191 ; new: 0.88073560194 ; diff: -11.773%
1: old: 0.78455396447 ; new: 0.78061823834 ; diff: 0.504%
10: old: 0.77995387805 ; new: 0.79152085253 ; diff: -1.461%
13: old: 0.82141476777 ; new: 0.78456209012 ; diff: 4.697%
14: old: 0.78892445934 ; new: 0.77327460439 ; diff: 2.024%
15: old: 1.02630087622 ; new: 0.79116306802 ; diff: 29.721%
100: old: 1.00207655174 ; new: 0.78304784589 ; diff: 27.971%
1000: old: 1.00345955543 ; new: 0.79399426311 ; diff: 26.381%
100000: old: 1.02667645989 ; new: 0.78327898615 ; diff: 31.074%
1000000: old: 1.02322863290 ; new: 0.82487233060 ; diff: 24.047%
10000000: old: 1.02006358070 ; new: 0.77860184801 ; diff: 31.012%
zoffix@VirtualBox:~/CPANPRC/IOGrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment