Issue #10931 has been updated by Guo Xiang Tan.


Hi Nobu, 

I ran the benchmarks on my local machine and I'm seeing the same results as those on RubyBench's dedicated server. How are you running your benchmarks? I'll like to try running them too.

total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name  ruby 2.3.0dev (2015-02-25 trunk 49753) [x86_64-linux]
app_mandelbrot  0.957

total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name  ruby 2.3.0dev (2015-02-25 trunk 49754) [x86_64-linux]
app_mandelbrot  1.037

total: 2 trial(s) (2 trial(s) for 1 benchmark(s))
..
-----------------------------------------------------------
benchmark results:
Execution time (sec)
name  ruby 2.3.0dev (2015-02-26 trunk 49757) [x86_64-linux]
app_mandelbrot  1.159


----------------------------------------
Bug #10931: [PERF]bm_app_mandelbrot.rb 20% slower.
https://bugs.ruby-lang.org/issues/10931#change-51757

* Author: Guo Xiang Tan
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.3.0dev
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
http://rubybench.org/ruby/ruby/commits?result_type=app_mandelbrot

Relevant Commits: 
https://github.com/ruby/ruby/commit/909c4c0
https://github.com/ruby/ruby/commit/41b2f1a

Before:               0.786s
After Commit 909c4c0: 0.856s
After Commit 41b2f1a: 0.923s

Just want to raise awareness on this. Feel free to close this issue if the performance trade-offs were intended. Let me know if more information is required. Thank you!




-- 
https://bugs.ruby-lang.org/