summaryrefslogtreecommitdiff
path: root/benchmark/marshal_dump_load_time.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/marshal_dump_load_time.yml')
-rw-r--r--benchmark/marshal_dump_load_time.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark/marshal_dump_load_time.yml b/benchmark/marshal_dump_load_time.yml
new file mode 100644
index 0000000..0c25c2d
--- /dev/null
+++ b/benchmark/marshal_dump_load_time.yml
@@ -0,0 +1,4 @@
+benchmark:
+ marshal_dump_load_time: |
+ 100000.times { Marshal.load(Marshal.dump(Time.now)) }
+loop_count: 1