From: tgx_world@... Date: 2015-02-10T12:35:15+00:00 Subject: [ruby-core:68078] [Ruby trunk - Bug #10817] [PERF] vm3_gc slower Issue #10817 has been updated by Guo Xiang Tan. More results ran on my local machine ### [bm_vm3.rb](https://github.com/ruby-bench/ruby-bench-suite/blob/master/ruby/benchmarks/bm_vm3_gc.rb) Benchmarks ## Ruby 2.1.5 ``` raw data: [["vm3_gc", [[1.781873639, 1.783857101, 1.785210547, 1.765383432, 1.782443273, 1.772300559, 1.781810876, 1.775731151, 1.790814346, 1.779261756]]]] Elapsed time: 17.801257535 (sec) ----------------------------------------------------------- benchmark results: minimum results in each 10 measurements. Execution time (sec) name ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux] Posting results to Web UI.... vm3_gc 1.765 ``` ## Ruby 2.2 ``` raw data: [["vm3_gc", [[2.3463893930002087, 2.3218893540001773, 2.3346126609999374, 2.325292480999906, 2.3357411790002516, 2.331829299000219, 2.3262738720000016, 2.3313931529996808, 2.3262657880000006, 2.3227735149998807]]]] Elapsed time: 23.304931506 (sec) ----------------------------------------------------------- benchmark results: minimum results in each 10 measurements. Execution time (sec) name ruby 2.2.0p6 (2015-01-03 revision 49125) [x86_64-linux] Posting results to Web UI.... vm3_gc 2.322 ``` ## `USE_RGENGC = 0` ``` raw data: [["vm3_gc", [[1.5703227599997263, 1.5682877579997694, 1.6116582240001662, 1.5651109710001947, 1.552847889000077, 1.550723786999697, 1.5628306730000077, 1.5581518529997993, 1.561870511000052, 1.5770128940002905]]]] Elapsed time: 15.682895972 (sec) ----------------------------------------------------------- benchmark results: minimum results in each 10 measurements. Execution time (sec) name ruby 2.2.0p6 (2015-01-03 revision 49125) [x86_64-linux] Posting results to Web UI.... vm3_gc 1.551 ``` ## `USE_RINCGC = 0` ``` raw data: [["vm3_gc", [[2.095197224000003, 2.0840697899998304, 2.1194490730003963, 2.091287412999918, 2.0882632130001184, 2.0964824409998073, 2.08875445700005, 2.0652376550001463, 2.072298475000025, 2.108764761999737]]]] Elapsed time: 20.911727736 (sec) ----------------------------------------------------------- benchmark results: minimum results in each 10 measurements. Execution time (sec) name ruby 2.2.0p6 (2015-01-03 revision 49125) [x86_64-linux] Posting results to Web UI.... vm3_gc 2.065 ``` ---------------------------------------- Bug #10817: [PERF] vm3_gc slower https://bugs.ruby-lang.org/issues/10817#change-51462 * Author: Guo Xiang Tan * Status: Open * Priority: Normal * Assignee: Koichi Sasada * ruby -v: ruby 2.2.0dev (2014-09-07 trunk 47444) * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- http://rubybench.org/ruby/ruby/commits?result_type=vm3_gc When running locally, ----------------------------------------------------------- benchmark results: Execution time (sec) name ruby 2.2.0dev (2014-09-07 trunk 47443) [x86_64-linux] vm3_gc 1.946 ----------------------------------------------------------- benchmark results: Execution time (sec) name ruby 2.2.0dev (2014-09-07 trunk 47444) [x86_64-linux] vm3_gc 2.426 Tracked down to https://github.com/ruby/ruby/commit/123eeb1c1a904923754ce65148dbef045b56e083. Let me know if there is anymore information I can provide. -- https://bugs.ruby-lang.org/