diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-06-02 13:48:47 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-07-12 11:56:51 +1200 |
commit | 012e954b472d2e47b03647ac0c8f745416d7db58 (patch) | |
tree | f2f3f0f17de96445c361c358590dbac5a6db969d /benchmark/vm2_fiber_allocate.yml | |
parent | 8745fa2ff0fbff67031bdecfdeea684b15515a2c (diff) |
Improved fiber benchmarks. Increase number of iterations.
Diffstat (limited to 'benchmark/vm2_fiber_allocate.yml')
-rw-r--r-- | benchmark/vm2_fiber_allocate.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmark/vm2_fiber_allocate.yml b/benchmark/vm2_fiber_allocate.yml new file mode 100644 index 0000000000..f29705f694 --- /dev/null +++ b/benchmark/vm2_fiber_allocate.yml @@ -0,0 +1,8 @@ +prelude: | + # Disable GC to see raw throughput: + GC.disable +benchmark: + vm2_fiber_allocate: | + fiber = Fiber.new{Fiber.yield} + fiber.resume +loop_count: 100000 |