Skip to content

Instantly share code, notes, and snippets.

@JustinMeimar
Last active March 23, 2026 18:14
Show Gist options
  • Select an option

  • Save JustinMeimar/48e0a1fe439890eb315fc7012cb8b8e3 to your computer and use it in GitHub Desktop.

Select an option

Save JustinMeimar/48e0a1fe439890eb315fc7012cb8b8e3 to your computer and use it in GitHub Desktop.
benchmarking: AOT w/ semi-optimized indirection on Octane

Running octane with and without AOT mode:

Benchmarking setup:

  • Ryzen5 7640U
  • Dynamic freq. scaling off
  • Disable hyperthreading
  • Running 5 times each for AOT/non-AOT
  • Pin process to one core

Context: AOT mode is in phase two of the (4 loads -> 2 loads -> 1 load) road-map for indirection.

Results:

----------------------------------------------------------------
Run                              AOT             JIT       delta
----------------------------------------------------------------
run 1                     9793 ±   0      9590 ±   0      +2.1%
run 2                     9831 ±   0      9621 ±   0      +2.2%
run 3                     9690 ±   0      9878 ±   0      -1.9%
run 4                     9500 ±   0     10000 ±   0      -5.0%
run 5                     9435 ±   0      9900 ±   0      -4.7%
mean                      9650 ± 157      9798 ± 163      -1.5%
----------------------------------------------------------------

----------------------------------------------------------------
Benchmark                        AOT             JIT       delta
----------------------------------------------------------------
Richards                  3395 ± 111      3335 ±  73      +1.8%
DeltaBlue                 3374 ±  87      3329 ±  66      +1.4%
Crypto                    2877 ±  82      2875 ±  66      +0.0%
RayTrace                  5488 ± 147      5686 ± 175      -3.5%
EarleyBoyer              10216 ± 379     10286 ± 215      -0.7%
RegExp                    3701 ± 130      3783 ± 139      -2.2%
Splay                    10178 ± 448     10305 ± 233      -1.2%
SplayLatency             21118 ± 380     22034 ± 572      -4.2%
NavierStokes              4046 ± 177      4455 ± 107      -9.2%
PdfJS                    18261 ± 513     18201 ± 178      +0.3%
Mandreel                  2383 ±  78      2432 ±  42      -2.0%
MandreelLatency          10813 ± 489     11356 ±  49      -4.8%
Gameboy                  19973 ± 484     19906 ± 339      +0.3%
CodeLoad                 34995 ± 545     34914 ±1597      +0.2%
Box2D                    11517 ± 231     11423 ± 294      +0.8%
zlib                     77632 ±3330     77555 ±2187      +0.1%
Typescript               31405 ±1194     32071 ±1168      -2.1%
Score                     9650 ± 157      9798 ± 163      -1.5%
----------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment