summaryrefslogtreecommitdiff
path: root/benchmark/time_subsec.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/time_subsec.yml')
-rw-r--r--benchmark/time_subsec.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/time_subsec.yml b/benchmark/time_subsec.yml
new file mode 100644
index 0000000..ee78763
--- /dev/null
+++ b/benchmark/time_subsec.yml
@@ -0,0 +1,5 @@
+benchmark:
+ time_subsec: |
+ t = Time.now
+ 4000000.times { t.subsec }
+loop_count: 1