diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-06 18:20:11 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-06 18:20:11 +0000 |
commit | bf41340ebb1115f623813dc933e290f92905a116 (patch) | |
tree | 57429f9f73bf6565436a50f65f0bb09878dd834a /benchmark/hash_literal_small4.rb | |
parent | ea921abdecbffec40cb1ce672ad4d9a965d6d95c (diff) |
Add benchmark for hash small literals
Co-Authored-By: Krzysztof Rybka <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/hash_literal_small4.rb')
-rw-r--r-- | benchmark/hash_literal_small4.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/hash_literal_small4.rb b/benchmark/hash_literal_small4.rb new file mode 100644 index 0000000000..739f71b5b0 --- /dev/null +++ b/benchmark/hash_literal_small4.rb @@ -0,0 +1,3 @@ +# frozen_string_literal: true + +1_000_000.times.map { { "foo" => "bar", "bar" => "baz", "baz" => "lol", "lol" => "lgtm" } } |