summaryrefslogtreecommitdiff
path: root/benchmark/bm_time_subsec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_time_subsec.rb')
-rw-r--r--benchmark/bm_time_subsec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/bm_time_subsec.rb b/benchmark/bm_time_subsec.rb
new file mode 100644
index 0000000000..505021c701
--- /dev/null
+++ b/benchmark/bm_time_subsec.rb
@@ -0,0 +1,2 @@
+t = Time.now
+4000000.times { t.subsec }