2023-02-17 10:49:40 +01:00
|
|
|
# Apache Pekko Microbenchmarks
|
2017-07-03 07:05:50 -07:00
|
|
|
|
2023-06-07 14:51:57 +01:00
|
|
|
This subproject contains some microbenchmarks excercising key parts of Apache Pekko. (Excluding typed which has its
|
2019-02-21 15:47:09 +01:00
|
|
|
own jmh module)
|
|
|
|
|
|
2017-07-03 07:05:50 -07:00
|
|
|
|
|
|
|
|
You can run them like:
|
|
|
|
|
|
2023-01-05 11:10:50 +01:00
|
|
|
project bench-jmh
|
2017-07-03 07:05:50 -07:00
|
|
|
jmh:run -i 3 -wi 3 -f 1 .*ActorCreationBenchmark
|
|
|
|
|
|
2018-12-05 13:01:24 +00:00
|
|
|
Use 'jmh:run -h' to get an overview of the available options.
|
2019-10-02 11:24:51 +01:00
|
|
|
|
|
|
|
|
Some potentially out of date resources for writing JMH benchmarks:
|
|
|
|
|
|
|
|
|
|
* [Studying what's wrong with JMH benchmarks](https://www.researchgate.net/publication/333825812_What's_Wrong_With_My_Benchmark_Results_Studying_Bad_Practices_in_JMH_Benchmarks)
|
|
|
|
|
* [Writing good benchmarks](http://tutorials.jenkov.com/java-performance/jmh.html#writing-good-benchmarks)
|