zio / zio-actors

A high-performance, purely-functional library for building, composing, and supervising typed actors based on ZIO
https://zio.dev/zio-actors
Apache License 2.0
269 stars 56 forks source link

Performance Benchmarks #110

Open pierangeloc opened 4 years ago

pierangeloc commented 4 years ago

Evaluate the performance of zio actors. Ideally this should cover a range of cases similar to the ones covered by akka performance benchmarks https://github.com/akka/akka/tree/master/akka-bench-jmh/src/main/scala/akka/actor

At minimum provide experiments for

  1. Ping pong example (as in https://github.com/akka/akka/blob/master/akka-bench-jmh/src/main/scala/akka/actor/typed/TypedBenchmarkActors.scala)
  2. See how tuning ZIO runtime environment impacts this simple experiment performance (https://github.com/akka/akka/blob/master/akka-bench-jmh/src/main/scala/akka/actor/typed/TypedForkJoinActorBenchmark.scala)
He-Pin commented 4 years ago

This is the way

pierangeloc commented 4 years ago

Implementation note: put the benchmarks in a separate project

softinio commented 4 years ago

@pierangeloc Wonder if you can reuse this or at least base it on:

https://github.com/zio/zio/tree/master/benchmarks

https://github.com/zio/zio/blob/master/build.sbt#L252

softinio commented 4 years ago

@pierangeloc another idea for this is to use and contribute the benchmarks to:

https://renaissance.dev/docs#contribution-guide