summaryrefslogtreecommitdiff
path: root/bootstraptest/test_fiber.rb
AgeCommit message (Collapse)Author
2025-06-06[Bug #21400] Fix rb_bug() when killing current root fiber in non-main thread ↵Luke Gruber
(#13526) Fixes the following: ```ruby Thread.new { Fiber.current.kill }.join ``` Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-02-06support concurrent btest executionKoichi Sasada
* `-j` option for concurrent test with threads * `-jN` uses N threads * `-j` uses nproc/2 threads * Introduce `BT` struct to manage configurations * Introduce `Assertion` to manage all assertions * Remove all toplevel instance variables * Show elapsed seconds at last ``` $ time make btest ... real 0m37.319s user 0m26.221s sys 0m16.534s $ time make btest TESTOPTS=-j ... real 0m11.812s user 0m36.667s sys 0m21.872s ``` Notes: Merged: https://github.com/ruby/ruby/pull/5528
2022-01-21respect `--quiet` option for btestKoichi Sasada
Do not print anymore except errors.
2021-07-01Replace copy coroutine with pthread implementation.Samuel Williams
2019-07-12Improved fiber benchmarks. Increase number of iterations.Samuel Williams