Skip to content

Commit 254e8e3

Browse files
authored
Merge pull request #366 from Shopify/fix-shipit-bench
Shipit: skip statistics page
2 parents 997782a + d5b818c commit 254e8e3

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242

4343
- name: Test run_benchmarks.rb --graph
4444
run: |
45+
sudo apt-get update
4546
sudo apt-get install -y --no-install-recommends libmagickwand-dev
4647
./run_benchmarks.rb --graph fib
4748
if: matrix.ruby == 'ruby'

benchmarks/shipit/route_generator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class RouteGenerator
77
{ num: 15, method: :GET, routes: ["/:stack_id"] }, # Stacks#show
88
{ num: 10, method: :GET, routes: [
99
"/:stack_id/tasks?since=33", # Paginated deploys
10-
"/:stack_id/statistics",
1110
]},
1211
{ num: 2, method: :GET, routes: [ "/:stack_id/settings" ]},
1312

multi_ractor.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Create a single ractor to force Ruby to use the multi_ractor_p paths.
2+
Warning[:experimental] = false
3+
Ractor.new { :noop }

run_benchmarks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_pat
312312
# Default values for command-line arguments
313313
args = OpenStruct.new({
314314
executables: {},
315-
out_path: "./data",
315+
out_path: File.expand_path("./data"),
316316
out_override: nil,
317317
harness: "harness",
318318
yjit_opts: "",

0 commit comments

Comments
 (0)