Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.58 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.58 KB

Speed test

This folder contains configuration and expectations to run the OTP speed test. The test runs automatically after each merged PR and the results are visualised on a Grafana instance.

Each run is listed under the GitHub Actions.

If you need to run the test locally you need to download the fixed datasets (OSM, transit) listed below and build a graph from them first.

After the graph is built, copy it into ./test/performance/${location} and execute the following command to run the speed test:

mvn exec:java -Dexec.mainClass="org.opentripplanner.transit.raptor.speed_test.SpeedTest" -Dexec.classpathScope=test -Dexec.args="--dir=test/performance/${location} -p md -n 4 -i 3 -0"

The results will be displayed on the console.

Configure the test

  • Pick a valid "testDate" for your data set and set it in the speed-test-config.json.
  • Make sure build-config "transitServiceStart" and "transitServiceEnd" include the "testDate".

Data files

Norway

If the link above do not work you should be able to find it on the ENTUR web:

Baden-Württemberg, Germany