diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eab4cbf5..039fee24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,6 +42,7 @@ jobs: - name: Test run_benchmarks.rb --graph run: | + sudo apt-get update sudo apt-get install -y --no-install-recommends libmagickwand-dev ./run_benchmarks.rb --graph fib if: matrix.ruby == 'ruby' diff --git a/benchmarks/shipit/route_generator.rb b/benchmarks/shipit/route_generator.rb index 5cc1d2a4..ac5150a2 100644 --- a/benchmarks/shipit/route_generator.rb +++ b/benchmarks/shipit/route_generator.rb @@ -7,7 +7,6 @@ class RouteGenerator { num: 15, method: :GET, routes: ["/:stack_id"] }, # Stacks#show { num: 10, method: :GET, routes: [ "/:stack_id/tasks?since=33", # Paginated deploys - "/:stack_id/statistics", ]}, { num: 2, method: :GET, routes: [ "/:stack_id/settings" ]}, diff --git a/multi_ractor.rb b/multi_ractor.rb new file mode 100644 index 00000000..67e7ff4a --- /dev/null +++ b/multi_ractor.rb @@ -0,0 +1,3 @@ +# Create a single ractor to force Ruby to use the multi_ractor_p paths. +Warning[:experimental] = false +Ractor.new { :noop } diff --git a/run_benchmarks.rb b/run_benchmarks.rb index a4eafbdc..e2fad399 100755 --- a/run_benchmarks.rb +++ b/run_benchmarks.rb @@ -312,7 +312,7 @@ def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_pat # Default values for command-line arguments args = OpenStruct.new({ executables: {}, - out_path: "./data", + out_path: File.expand_path("./data"), out_override: nil, harness: "harness", yjit_opts: "",