daml/libs-scala/postgresql-testing
Raphael Speyer 1f351b418e
JSON API: fix benchmarks and avoid excessive iterations (#16963)
* reduce fork count, measurement and warmup iterations, and extra parameters which had a multiplicative effect on total work done
* fix db connection setup - the combination of annotations and inheritance meant it was trying to setup the trial twice, causing Postgres benchmarks to fail
* log when an error occurs during test setup
* add logback resources to the benchmarks, to enable configuration of logging, and avoid dumping all the debug logs by default

With these changes, on my 20 core 64G linux laptop, the benchmarks now all run in under 6 mins.
Without this change, it took over 9 hours in total and none of the Postgres benchmarks were successful.
2023-06-07 08:09:24 +10:00
..
src/main/scala/com/digitalasset/testing/postgresql JSON API: fix benchmarks and avoid excessive iterations (#16963) 2023-06-07 08:09:24 +10:00
BUILD.bazel bump copyright (#16002) 2023-01-04 18:21:15 +01:00