~/talk

Unlocking Potential of Property Based Testing with Ractor

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, concurrency]
links:none on file
slides:none on file

Built a Property‑based testing gem called PBT gem that implements generators, shrinking, deterministic seeds and about 30 arbitraries, with optional Ractor workers and experimental RSpec matcher support. Claim: Ractor helps only for CPU‑bound work and when code is Ractor‑compatible — benchmarks show up to 5x faster in those cases but can be 194x slower otherwise. Implementation notes: uses dynamic class eval to ship user predicates into Ractors, needs preloading and workarounds for RSpec and many standard gems.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:34What is property-based testing
  3. 8:49Ractor and testing synergy
  4. 10:12Introducing the PBT gem
  5. 13:34Demo of PBT gem
  6. 13:59Internal architecture of PBT
  7. 20:25Ractor and RSpec integration
  8. 24:16Benchmarking results
  9. 26:48Discoveries and limitations
  10. 29:54Future of Ractor compatibility
  11. 30:18Conclusion and promotion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.