Skip to content

Commit

Permalink
gem loading benchmark needs to have the in-fork require fixed also
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Aug 7, 2024
1 parent fb70648 commit bbfe1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/library_gem_loading.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def benchmark_gem_loading
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
VALIDATE_BENCHMARK_MODE = #{VALIDATE_BENCHMARK_MODE}
require 'benchmark/ips'
require_relative 'benchmarks_helper'
Benchmark.ips do |x|
# Gem loading is quite slower than the other microbenchmarks
Expand Down

0 comments on commit bbfe1cb

Please sign in to comment.