summaryrefslogtreecommitdiff
path: root/benchmark/hash_literal_small2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/hash_literal_small2.rb')
-rw-r--r--benchmark/hash_literal_small2.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/hash_literal_small2.rb b/benchmark/hash_literal_small2.rb
new file mode 100644
index 0000000000..c188529260
--- /dev/null
+++ b/benchmark/hash_literal_small2.rb
@@ -0,0 +1,3 @@
+# frozen_string_literal: true
+
+1_000_000.times.map { { "foo" => "bar", "bar" => "baz" } }