# Ruby 2.4 Hash Benchmarks

**URL:** <https://community.rubybench.org/t/ruby-2-4-hash-benchmarks/121>\
**Category:** Uncategorized\
**Created:** [November 28, 2016, 7:36pm UTC](https://community.rubybench.org/t/ruby-2-4-hash-benchmarks/121 "2016-11-28T19:36:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![makarovd](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@makarovd](https://community.rubybench.org/u/makarovd)\
**Post date:** [November 28, 2016, 7:36pm UTC](https://community.rubybench.org/t/ruby-2-4-hash-benchmarks/121/1 "2016-11-28T19:36:06Z")

</div>

Hello, I have been following the development of Ruby 2.4’s most exciting feature (for me) [Open Address Hash Tables](https://bugs.ruby-lang.org/issues/12142) In the development process for this new feature, Koichi Sasada went to great lengths to generate benchmarks of the new feature vs ruby trunk ( [here is the report](https://gist.github.com/ko1/dda8243134bc40f7fc05e293abc5f4b2#file-report-md) )

I think there’s some interesting hash benchmarks he’s using that aren’t on rubybench. Definitely some opportunities to expand hash benchmarking. Particularly the large table benchmarks would be a nice addition. The issue on [ruby-lang.org](http://ruby-lang.org) had more discussed benchmarks.

How does rubybench decide what benchmarks to include?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)\
**Post date:** [November 29, 2016, 4:24am UTC](https://community.rubybench.org/t/ruby-2-4-hash-benchmarks/121/2 "2016-11-29T04:24:00Z")

</div>

Hi @makarovd,

It has been awhile since I sync up our benchmarks with those in Ruby trunk. I’ll look into doing that soon 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/rubybench/original/1X/4ae23b7eff9a1b039e126f05dd734ab09c8ab4b5.png) [@system](https://community.rubybench.org/u/system)\
**Post date:** [December 13, 2016, 7:33am UTC](https://community.rubybench.org/t/ruby-2-4-hash-benchmarks/121/3 "2016-12-13T07:33:54Z")

</div>

Hi @makarovd,

I added the new benchmarks in today, changes are looking really good

[https://rubybench.org/ruby/ruby/releases?result\_type=hash\_small8](https://rubybench.org/ruby/ruby/releases?result_type=hash_small8)

Let me know if I am missing any benchmarks. 🙂
