diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index d072cdcd6..975c0b770 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -665,7 +665,8 @@ jobs: fi rm -rf ~/data.osm.pbf wget http://download.geofabrik.de/europe/poland-latest.osm.pbf -O ~/data.osm.pbf --quiet - gunzip -c ./pr/test/data/berlin_gps_traces.csv.gz > ~/gps_traces.csv + python3 scripts/ci/download_gps_traces.py 20.85,52.10,21.15,52.30 16.85,51.05,17.10,51.20 18.55,54.30,18.70,54.45 19.85,50.00,20.05,50.10 16.85,52.35,17.05,52.45 > ~/gps_traces.csv + #gunzip -c ./pr/test/data/berlin_gps_traces.csv.gz > ~/gps_traces.csv - name: Prepare environment run: | echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV diff --git a/scripts/ci/run_benchmarks.sh b/scripts/ci/run_benchmarks.sh index 0aa04129e..36ecc166c 100755 --- a/scripts/ci/run_benchmarks.sh +++ b/scripts/ci/run_benchmarks.sh @@ -26,10 +26,10 @@ function run_benchmarks_for_folder { $BINARIES_FOLDER/osrm-customize $FOLDER/data.osrm $BINARIES_FOLDER/osrm-contract $FOLDER/data.osrm - # for BENCH in nearest table trip route match; do - # ./$BENCHMARKS_FOLDER/bench "$FOLDER/data.osrm" mld ~/gps_traces.csv ${BENCH} > "$RESULTS_FOLDER/random_${BENCH}_mld.bench" || true - # ./$BENCHMARKS_FOLDER/bench "$FOLDER/data.osrm" ch ~/gps_traces.csv ${BENCH} > "$RESULTS_FOLDER/random_${BENCH}_ch.bench" || true - # done + for BENCH in nearest table trip route match; do + ./$BENCHMARKS_FOLDER/bench "$FOLDER/data.osrm" mld ~/gps_traces.csv ${BENCH} > "$RESULTS_FOLDER/random_${BENCH}_mld.bench" || true + ./$BENCHMARKS_FOLDER/bench "$FOLDER/data.osrm" ch ~/gps_traces.csv ${BENCH} > "$RESULTS_FOLDER/random_${BENCH}_ch.bench" || true + done # if [ -f "$FOLDER/scripts/ci/locustfile.py" ]; then # for ALGORITHM in mld ch; do