diff options
Diffstat (limited to 'benchmark/vm_thread_alive_check1.yml')
-rw-r--r-- | benchmark/vm_thread_alive_check1.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmark/vm_thread_alive_check1.yml b/benchmark/vm_thread_alive_check1.yml new file mode 100644 index 0000000000..4ab97401da --- /dev/null +++ b/benchmark/vm_thread_alive_check1.yml @@ -0,0 +1,9 @@ +benchmark: + vm_thread_alive_check1: | + 5_000.times{ + t = Thread.new{} + while t.alive? + Thread.pass + end + } +loop_count: 1 |