* add getInputStream to ByteString * scala 2 updates * rename as asInputStream * make methods final * use different asInputStream implementations on different subclasses Co-Authored-By: João Ferreira <943051+jtjeferreira@users.noreply.github.com> * Update ByteBufferBackedInputStream.scala scalafmt * remove default asInputStream impl * add some tests - more needed * Create bytestring-inputstream.excludes * scalafmt * Update bytestring-inputstream.excludes * Update ByteStringInputStreamSpec.scala * Update ByteStringInputStreamSpec.scala * Update ByteStringInputStreamSpec.scala * add benchmark * Update ByteString_asInputStream_Benchmark.scala * change to iterator earlier in chain --------- Co-authored-by: João Ferreira <943051+jtjeferreira@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| README.md | ||
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: