pekko/bench-jmh
AndyChen 27b86bef11
chore: clarify the JMH Readme (#1025)
* chore: clarify the JMH Readme

* chore: typo fix

* follow the real-world execution

* add jmh links

* change the command prefix

* migrate to new syntax
2024-01-23 21:00:54 +08:00
..
src/main perf: Micro optimization for collect* operator. (#983) 2024-01-20 19:31:16 +08:00
README.md chore: clarify the JMH Readme (#1025) 2024-01-23 21:00:54 +08:00

Apache Pekko Microbenchmarks

This subproject contains some microbenchmarks excercising key parts of Apache Pekko. (Excluding typed which has its own jmh module)

Pekko uses sbt-jmh to integrate Java Microbenchmark Harness. You can run them like:

sbt shell
pekko > project bench-jmh
sbt:bench-jmh> Jmh/run -i 3 -wi 3 -f 1 .*ActorCreationBenchmark

or execute in one-line command

sbt bench-jmh/Jmh/run -i 3 -wi 3 -f 1 .*ActorCreationBenchmark

Use 'Jmh/run -h' to get an overview of the available options.

Some potentially out of date resources for writing JMH benchmarks: