Actions
Bug #10817
closed[PERF] vm3_gc slower
Description
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.
Updated by tgxworld (Guo Xiang Tan) about 9 years ago
More results ran on my local machine
bm_vm3.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]
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]
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]
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]
vm3_gc 2.065
Updated by ko1 (Koichi Sasada) over 8 years ago
- Status changed from Open to Feedback
Sorry for late response.
I try this on my environment, but not so big difference.
Please reopen if you find it is still slow.
Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago
- Status changed from Feedback to Closed
Actions
Like0
Like0Like0Like0