aboutsummaryrefslogtreecommitdiff
path: root/docs/implementation
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-12-30 20:57:20 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-12-30 20:57:20 -0500
commit8ddad454b30cdafc9bbdc0cbd51c653bee8a87e5 (patch)
tree9c267498157b26caf82ff5e0baf9b190a5e84837 /docs/implementation
parent2f4f1d38f0aec449c39a15cdaaa5e160b4a78a4e (diff)
Rebuild with CBQN's new number formatting (ryu)
Diffstat (limited to 'docs/implementation')
-rw-r--r--docs/implementation/kclaims.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/implementation/kclaims.html b/docs/implementation/kclaims.html
index d11de34a..83876814 100644
--- a/docs/implementation/kclaims.html
+++ b/docs/implementation/kclaims.html
@@ -86,12 +86,12 @@
<p>Dividing the stall number by total cycles gives us percentage of program time that can be attributed to L1 instruction misses.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=bCDihpAgIkoi4oC/IkJRTiLigL8iQlFOIuKAvyJQeXRob24iCmwg4omNy5ggMTAwIMOXIDU24oC/NC414oC/NDk04oC/MjUgw7cgMV80NTfigL8yMzLigL81XzYzM+KAvzQ5OQ==">↗️</a><pre> <span class='Value'>l</span> <span class='Gets'>←</span> <span class='String'>&quot;J&quot;</span><span class='Ligature'>‿</span><span class='String'>&quot;BQN&quot;</span><span class='Ligature'>‿</span><span class='String'>&quot;BQN&quot;</span><span class='Ligature'>‿</span><span class='String'>&quot;Python&quot;</span>
<span class='Value'>l</span> <span class='Function'>≍</span><span class='Modifier'>˘</span> <span class='Number'>100</span> <span class='Function'>×</span> <span class='Number'>56</span><span class='Ligature'>‿</span><span class='Number'>4.5</span><span class='Ligature'>‿</span><span class='Number'>494</span><span class='Ligature'>‿</span><span class='Number'>25</span> <span class='Function'>÷</span> <span class='Number'>1_457</span><span class='Ligature'>‿</span><span class='Number'>232</span><span class='Ligature'>‿</span><span class='Number'>5_633</span><span class='Ligature'>‿</span><span class='Number'>499</span>
-┌─
-╵ "J" 3.843514070006863
- "BQN" 1.939655172413793
- "BQN" 8.76974968933073
- "Python" 5.01002004008016
- ┘
+┌─
+╵ "J" 3.8435140700068633
+ "BQN" 1.9396551724137931
+ "BQN" 8.76974968933073
+ "Python" 5.01002004008016
+ ┘
</pre>
<p>So, roughly 4%, 2 to 9%, and 5%. The cache miss counts are also broadly in line with these numbers. Note that full cache misses are pretty rare, so that most misses just hit L2 or L3 and don't suffer a large penalty. Also note that instruction cache misses are mostly lower than data misses, as expected.</p>
<p>Don't get me wrong, I'd love to improve performance even by 2%. But it's not exactly world domination, is it? The perf results are an upper bound for how much these programs could be sped up with better treatment of the instruction cache. If K is faster by more than that, it's because of other optimizations.</p>