pekko/bench-jmh
João Costa cce5f9b0d9
Avoid boxing in Framing (#1247)
* Fix FramingBenchmark

* Add specialized indexOfByte

* Rename indexOfByte to indexOf

* Add missing @since(1.1.0) and reformat scaladoc

* Fix Scala 2.12 ambiguity problem

* Inline nextString

* Change default ByteString#indexOf to call indexWhere

This is always overriden, but I guess it won't hurt to have a default

* Remove default indexOf override

Calling indexWhere is already the default

* Fix MiMa issues
2024-05-06 20:19:40 +01:00
..
src/main Avoid boxing in Framing (#1247) 2024-05-06 20:19:40 +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: