aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bm_marshal_dump_load_time.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_marshal_dump_load_time.rb')
-rw-r--r--benchmark/bm_marshal_dump_load_time.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/benchmark/bm_marshal_dump_load_time.rb b/benchmark/bm_marshal_dump_load_time.rb
new file mode 100644
index 0000000000..e29743b791
--- /dev/null
+++ b/benchmark/bm_marshal_dump_load_time.rb
@@ -0,0 +1 @@
+100000.times { Marshal.load(Marshal.dump(Time.now)) }