These samples use scala-cli for execution and can also write JSON files to be used on https://jmh.morethan.io/.
To generate JSON, run the with the flag -- -rf json
. Eg. scli --jmh ZStreamBench.scala -- -rf json
.
Multiple files can be dropped into https://jmh.morethan.io/ to compare benchmarks between ZIO versions for example, just replace the ZIO version in the import, run the benchmark and rename the output JSON file. Repeat with all needed versions.