Thanks to Paul Keeble for getting this benchmark project started a few years back.
Benchmark for testing Actor implementations on Scala and Erlang.
The Actor has 2 responsibilities:
- Add a count X to the Actors current tally
- Output the current count and reset the agent count to zero
We know that these benchmarks are not representative for 99% of actor use cases, the simple idea is to get number of msgs/sec put thru the actor without having it do too much.
Compile the 3 files then run client:runTest(3000000).
Compile server2 as well as the 3 files for OTP and then run client:runTest2(3000000).
Simply run ./sbt run
and select one of the benchmarks.
I wrote Scala, Akka and Erlang Actor Benchmarks when i was really starting out with Scala.