From ab99edd5c2c7d18ffdaf359356f26dae20a149dc Mon Sep 17 00:00:00 2001 From: Tulip Blossom Date: Tue, 24 Dec 2024 03:26:47 -0300 Subject: [PATCH] fix(ujust, benchmark): make benchmark be run on unique path on tmp --- just/bluefin-system.just | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/just/bluefin-system.just b/just/bluefin-system.just index 16b974e741e..6472c7ced46 100644 --- a/just/bluefin-system.just +++ b/just/bluefin-system.just @@ -13,7 +13,10 @@ # Run a one minute system benchmark [group('System')] benchmark: - @echo 'Running a 1 minute benchmark ...' + #!/usr/bin/env bash + echo 'Running a 1 minute benchmark ...' + trap popd EXIT + pushd $(mktemp -d) stress-ng --matrix 0 -t 1m --times # Configure Bluefin-CLI Terminal Experience with Brew