summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/yjit.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/yjit.md b/doc/yjit.md
index 46356c9583..0e0a79dcb9 100644
--- a/doc/yjit.md
+++ b/doc/yjit.md
@@ -60,6 +60,10 @@ You can dump statistics about compilation and execution by running YJIT with the
The machine code generated for a given method can be printed by adding `puts YJIT.disasm(method(:method_name))` to a Ruby script. Note that no code will be generated if the method is not compiled.
+## Benchmarking
+
+We have collected a set of benchmarks and implemented a simple benchmarking harness in the [yjit-bench](https://github.com/Shopify/yjit-bench) repository. This benchmarking harness is designed to disable CPU frequency scaling, set process affinity and disable address space randomization so that the variance between benchmarking runs will be as small as possible.
+
## Source Code Organization
The YJIT source code is divided between: