benchmarks/actor.rb in celluloid-io-0.14.1 vs benchmarks/actor.rb in celluloid-io-0.15.0.pre
- old
+ new
@@ -35,10 +35,10 @@
end
end
Benchmark.ips do |ips|
ips.report("spawn") { ExampleActor.new.terminate }
-
+
ips.report("calls") { example_actor.example_method }
ips.report("async calls") do |n|
waiter = example_actor.future.wait_until_finished