diff --git a/benchmark/run.bat b/benchmark/run.bat new file mode 100644 index 0000000..beb63a8 --- /dev/null +++ b/benchmark/run.bat @@ -0,0 +1,23 @@ + +@ECHO OFF + +REM go to the parent folder +CD .\.. + +REM compile the parent project +CALL mvn clean install + +REM create a copy with the expected name +XCOPY /Y target\ulid-creator-*-SNAPSHOT.jar target\ulid-creator-0.0.1-BENCHMARK.jar* + +REM go to the benchmark folder +CD benchmark + +REM compile the benchmark project +CALL mvn validate +CALL mvn clean install + +REM run the benchmark +CALL java -jar target/benchmarks.jar + +@ECHO ON