examples/allocations/memory.rb in async-io-1.27.2 vs examples/allocations/memory.rb in async-io-1.27.3

- old
+ new

@@ -1,4 +1,5 @@ +# frozen_string_literal: true def measure_memory(annotation = "Memory allocated") GC.disable start_memory = `ps -p #{Process::pid} -o rss`.split("\n")[1].chomp.to_i