Shopify / yjit-bench

Set of benchmarks for the YJIT CRuby JIT compiler and other Ruby implementations.
MIT License
87 stars 22 forks source link

Add --turbo option to skip disabling turbo #307

Closed k0kubun closed 2 months ago

k0kubun commented 2 months ago

This PR adds --turbo to skip disabling turbo boost.

I often use ./run_benchmarks.rb --chruby "ruby --yjit-stats" --once to check YJIT stats. When I use a benchmark like that, the benchmark performance doesn't really matter. Since disabling turbo slows down the speed a lot, I'd like to rather leave it enabled when I use yjit-bench that way.