summaryrefslogtreecommitdiff
path: root/benchmark/array_sort_float.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/array_sort_float.yml')
-rw-r--r--benchmark/array_sort_float.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark/array_sort_float.yml b/benchmark/array_sort_float.yml
new file mode 100644
index 0000000..2aa2bd5
--- /dev/null
+++ b/benchmark/array_sort_float.yml
@@ -0,0 +1,5 @@
+benchmark:
+ array_sort_float: |
+ arr = Array.new(1000) { rand }
+ 10000.times { arr.sort }
+loop_count: 1