This commit is contained in:
Siarhei Fedartsou 2024-06-08 12:47:44 +02:00
parent 81b4431db6
commit 84e56ba585
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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