From a4b031d306c8b5c7057d491a284dd1387d5e321f Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 22 Jun 2024 19:23:43 +0200 Subject: [PATCH] Use tmpfs for running benchmarks --- .github/workflows/osrm-backend.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index 74061c878..10df684c4 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -723,7 +723,7 @@ jobs: make -j$(nproc) benchmarks cd .. make -C test/data - # we run benchmarks in tmpfs to avoid impact of disk IO + # we run benchmarks in tmpfs to avoid impact of disk IO - name: Create folder for tmpfs run: mkdir -p /opt/benchmarks - name: Run PR Benchmarks @@ -736,7 +736,6 @@ jobs: ./pr/scripts/ci/run_benchmarks.sh -f /opt/benchmarks -r $(pwd)/pr_results -s $(pwd)/pr -b /opt/benchmarks/build -o ~/data.osm.pbf -g ~/gps_traces.csv sudo umount /opt/benchmarks - - run: ls -R /opt/benchmarks - name: Run Base Benchmarks run: | sudo mount -t tmpfs -o size=4g none /opt/benchmarks