Use tmpfs for running benchmarks
This commit is contained in:
parent
a8e04aa9cb
commit
3d6d671556
5
.github/workflows/osrm-backend.yml
vendored
5
.github/workflows/osrm-backend.yml
vendored
@ -743,6 +743,11 @@ jobs:
|
|||||||
mkdir -p /opt/benchmarks/test
|
mkdir -p /opt/benchmarks/test
|
||||||
cp -rf base/test/data /opt/benchmarks/test/data
|
cp -rf base/test/data /opt/benchmarks/test/data
|
||||||
cp -rf base/profiles /opt/benchmarks/profiles
|
cp -rf base/profiles /opt/benchmarks/profiles
|
||||||
|
|
||||||
|
# TODO: remove it when base branch will have this file at needed location
|
||||||
|
if [ ! -f /opt/benchmarks/test/data/portugal_to_korea.json ]; then
|
||||||
|
cp base/src/benchmarks/portugal_to_korea.json /opt/benchmarks/test/data/portugal_to_korea.json
|
||||||
|
fi
|
||||||
ls -R /opt/benchmarks
|
ls -R /opt/benchmarks
|
||||||
# we intentionally use scripts from PR branch to be able to update them and see results in the same PR
|
# we intentionally use scripts from PR branch to be able to update them and see results in the same PR
|
||||||
./pr/scripts/ci/run_benchmarks.sh -f /opt/benchmarks -r $(pwd)/base_results -s $(pwd)/pr -b /opt/benchmarks/build -o ~/data.osm.pbf -g ~/gps_traces.csv
|
./pr/scripts/ci/run_benchmarks.sh -f /opt/benchmarks -r $(pwd)/base_results -s $(pwd)/pr -b /opt/benchmarks/build -o ~/data.osm.pbf -g ~/gps_traces.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user