benchmarks/actor.rb in celluloid-io-0.10.0 vs benchmarks/actor.rb in celluloid-io-0.11.0
- old
+ new
@@ -23,10 +23,12 @@
end
Benchmark.ips do |ips|
ips.report("spawn") { ExampleActor.new.terminate }
ips.report("calls") { example_actor.example_method }
- ips.report("async calls") { example_actor.example_method! }
+
+ # FIXME: deadlock?! o_O
+ ips.report("async calls") { example_actor.example_method! } unless RUBY_ENGINE == 'ruby'
ips.report("messages") do |n|
latch_in << n
for i in 0..n; mailbox << :message; end
latch_out.pop