Module: Benchmark::Rails
- Included in:
- Benchmark
- Defined in:
- lib/rubybench_runner/rails/benchmarks/support/benchmark_rails.rb
Instance Method Summary collapse
Instance Method Details
#rails(label = nil, version: ::Rails.version.to_s, time:, disable_gc: true, warmup: 3, &block) ⇒ Object
8 9 10 |
# File 'lib/rubybench_runner/rails/benchmarks/support/benchmark_rails.rb', line 8 def rails(label = nil, version: ::Rails.version.to_s, time:, disable_gc: true, warmup: 3, &block) Benchmark::Runner.run(label, version: version, time: time, disable_gc: disable_gc, warmup: warmup, &block) end |