mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update yjit.md
This commit is contained in:
parent
4e2eb7695e
commit
c56243dab4
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue