From 42127ed919ee30dd37da3f2a6cd474abd56a1770 Mon Sep 17 00:00:00 2001 From: mnovak Date: Wed, 2 Dec 2026 19:57:50 +0100 Subject: [PATCH] [repo] Bench: ss in the CI shell and in bench.sh's tool check; no pid found no longer ends the run silently --- .fabrica/nix/pin.json | 19 ------------------- flake.nix | 2 ++ scripts/bench.sh | 7 ++++--- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 .fabrica/nix/pin.json diff --git a/.fabrica/nix/pin.json b/.fabrica/nix/pin.json deleted file mode 100644 index 04039a3..0000000 --- a/.fabrica/nix/pin.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "commit": "7473b897dcec81db25a43b90f1bfd32c89070a21", - "nixpkgs": "c56a87d8e41ce69bd2af57eb35dcc117a9dfca33", - "outputs": { - "ianitor": { - "narHash": "sha256-hlX5oiJQPTieETbjojaZnPUGcSgPrKqO2vPsr2o2Xok=", - "narSize": 24455232, - "storePath": "/nix/store/mrq37ldbyn0zg04iwwj22pp05hlpx5y8-ianitor-1.0.0" - }, - "ianitor-web": { - "narHash": "sha256-cR8Lq5LNQoQ7xWa40jpjmRybUC8tS9XuXAtojDmCg2c=", - "narSize": 598000, - "storePath": "/nix/store/vsrm3326zm440gwp17nqg3g3bixb3cmm-ianitor-web-1.0.0" - } - }, - "sourceTree": "dd9194c43094dd06b072d3597c1a2f114beda3cf5ed57678a99c979e32d6bb0e", - "system": "x86_64-linux", - "version": "1.0.0" -} diff --git a/flake.nix b/flake.nix index 29f2a12..7b6d8f4 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,8 @@ h2spec testssl oha + # scripts/bench.sh finds each proxy's pid with ss (a NixOS service's PATH has no iproute2) + iproute2 nodejs_22 pnpm_11 # the slow-client probes (tests/support/probes) diff --git a/scripts/bench.sh b/scripts/bench.sh index d30b7fa..d26e48c 100755 --- a/scripts/bench.sh +++ b/scripts/bench.sh @@ -8,7 +8,7 @@ # (tests/diff/src/bin/pair.rs) to the same upstream; oha drives each in turn. Results are # committed as data: bench/results/-