summaryrefslogtreecommitdiff
path: root/benchmark/vm_thread_create_join.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_thread_create_join.yml')
-rw-r--r--benchmark/vm_thread_create_join.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmark/vm_thread_create_join.yml b/benchmark/vm_thread_create_join.yml
new file mode 100644
index 0000000..7fe82b3
--- /dev/null
+++ b/benchmark/vm_thread_create_join.yml
@@ -0,0 +1,9 @@
+benchmark:
+ vm_thread_create_join: |
+ i = 0
+ while i<100_000 # benchmark loop 3
+ i += 1
+ Thread.new{
+ }.join
+ end
+loop_count: 1