benchmarks/src/jmh/kotlin/benchmarks/akka/StatefulActorAkkaBenchmark.kt [46:59]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun setup() { // TODO extract it to common AkkaBase if new benchmark will appear system = ActorSystem.create("StatefulActors", ConfigFactory.parseString(""" akka.actor.single-thread-dispatcher { type = Dispatcher executor = "thread-pool-executor" thread-pool-executor { fixed-pool-size = 1 } throughput = 1 } """.trimIndent() )) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - benchmarks/src/jmh/kotlin/benchmarks/akka/PingPongAkkaBenchmark.kt [38:50]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun setup() { system = ActorSystem.create("PingPong", ConfigFactory.parseString(""" akka.actor.single-thread-dispatcher { type = Dispatcher executor = "thread-pool-executor" thread-pool-executor { fixed-pool-size = 1 } throughput = 1 } """.trimIndent() )) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -