Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions benchmarks/railsbench/run_once.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

puts("***RUNNING BENCHMARK***")

# Don't want stats for loading the benchmark.
UJIT.reset_stats! if defined?(UJIT.reset_stats!)

visiting_routes.each do |path|
# The app mutates `env`, so we need to create one every time.
env = Rack::MockRequest::env_for("http://localhost#{path}")
Expand Down