benchmarks/messaging.rb in dcell-0.13.0.pre vs benchmarks/messaging.rb in dcell-0.13.0
- old
+ new
@@ -41,10 +41,10 @@
@n = n
@receiver = progenator.spawn_async_receiver(n, current_actor)
end
def run
- @n.times { @receiver.increment! }
+ @n.times { @receiver.async.increment }
wait :complete
end
def complete
signal :complete