summaryrefslogtreecommitdiff
path: root/benchmark/marshal_dump_flo.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/marshal_dump_flo.yml')
-rw-r--r--benchmark/marshal_dump_flo.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/marshal_dump_flo.yml b/benchmark/marshal_dump_flo.yml
new file mode 100644
index 0000000000..0e3cc1394a
--- /dev/null
+++ b/benchmark/marshal_dump_flo.yml
@@ -0,0 +1,5 @@
+benchmark:
+ marshal_dump_flo: |
+ bug10761 = 10000.times.map { |x| x.to_f }
+ 100.times { Marshal.dump(bug10761) }
+loop_count: 1