From f2d63385744da413cba482384d3bdbce288816a5 Mon Sep 17 00:00:00 2001 From: eregon Date: Mon, 21 Jan 2019 12:31:29 +0000 Subject: benchmark/app_aobench.rb: complete commented code to write the image to a file git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/app_aobench.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'benchmark') diff --git a/benchmark/app_aobench.rb b/benchmark/app_aobench.rb index 877e808dee..16296af12b 100644 --- a/benchmark/app_aobench.rb +++ b/benchmark/app_aobench.rb @@ -282,9 +282,11 @@ end alias printf_orig printf def printf *args + # $fp.printf(*args) end # File.open("ao.ppm", "w") do |fp| + # $fp = fp printf("P6\n") printf("%d %d\n", IMAGE_WIDTH, IMAGE_HEIGHT) printf("255\n") -- cgit v1.2.3