Issue #10931 has been updated by Nobuyoshi Nakada.


My results.

-----------------------------------------------------------
benchmark results:

Execution time (sec)

name		|r49722	|r49723	|r49724	|r49732	|r49743	|r49754	|r49757
----------------|-------|-------|-------|-------|-------|-------|-------
app_mandelbrot	|0.969	|0.980	|0.957	|0.971	|0.996	|0.976	|1.004
so_mandelbrot	|1.787	|1.743	|1.740	|1.741	|1.744	|1.752	|1.755

Speedup ratio: compare with the result of `r49722' (greater is better)

name		|r49723	|r49724	|r49732	|r49743	|r49754	|r49757
----------------|-------|-------|-------|-------|-------|-------
app_mandelbrot	|0.989	|1.013	|0.998	|0.973	|0.993	|0.966
so_mandelbrot	|1.026	|1.027	|1.027	|1.025	|1.020	|1.018

Log file: bmlog-20150304-170709.40624


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

* 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/