pekko/bench-jmh
PJ Fanning f23107fc43
Remove java8 home and scala steward pins related to java 11 and java 17 (#1968)
* remove use of java8 home

* scala deprecations

* upgrade paradox

* getId is deprecated

* remove targetSystemJdk build option

* Update JdkOptions.scala
2025-07-30 13:34:30 +01:00
..
src/main Remove java8 home and scala steward pins related to java 11 and java 17 (#1968) 2025-07-30 13:34:30 +01:00
README.md add asInputStream to ByteString (#1085) 2024-02-05 16:09:56 +01: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:pekko-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: