Skip to content

Commit e416238

Browse files
committed
Fix count
1 parent 160222b commit e416238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/zstd_decompress_memory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
i = 0
1616
while true do
1717
Zstd.decompress IO.read("./results/#{sample_file_name}.zstd")
18-
if ((i % 100) == 0 )
18+
if ((i % 1000) == 0 )
1919
puts "count:#{i}\truby_memory:#{ObjectSpace.memsize_of_all/1000}\tobject_count:#{ObjectSpace.count_objects}\trss:#{`ps -o rss= -p #{Process.pid}`.to_i}"
2020
end
2121
i += 1

0 commit comments

Comments
 (0)