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