Shopify / yjit-bench

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

Simplify realtime method #309

Closed rwstauner closed 2 months ago

rwstauner commented 2 months ago

We probably aren't running these benchmarks on rubies that don't have these methods. If we are, they probably don't have their own alternate implementation of Benchmark.realtime. If we need to support something else we should just add a version that uses Time.now.to_f.