mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
benchmark_driver: Stop using Ractor#take
This commit is contained in:
parent
24ac9f11de
commit
95235fd528
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ __bmdv_ractors << Ractor.new(__bmdv_loop_after - __bmdv_loop_before) { |__bmdv_l
|
|||
<% end %>
|
||||
|
||||
# Wait for all Ractors before executing code to write results
|
||||
__bmdv_ractors.map!(&:take)
|
||||
__bmdv_ractors.map!(&:value)
|
||||
|
||||
<% results.each do |result| %>
|
||||
File.write(<%= result.dump %>, __bmdv_ractors.shift)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue