summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maximechevalierb@gmail.com>2021-03-08 11:02:49 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:31 -0400
commitc56243dab4a2e07d3ba4942fdd8ec72a3b56218a (patch)
treef457fe7aa9856c86019ec950361c57ccb2457c41 /doc
parent4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78 (diff)
Update yjit.md
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: