~/talk

Parallel Testing World

Talkat RubyConf 2011 · 2011-09-29..10-01· [testing, concurrency]
name:Shota
links:none on file
name:Fukumori
links:none on file
slides:none on file

A patch called parallel_test patch runs Test::Unit test files concurrently so ruby's make test-all completes far faster; the implementation uses a master/worker with IO.popen model (workers accept filenames, run tests, stream results back, master redistributes work and quits workers when done). Practical fixes include isolating tests by unique ports, temp filenames and explicit requires. Real-world numbers: a suite drops from about 121.4s to 43.41s (roughly 2.8× faster), and the feature is merged and usable.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:38Benefits of parallel testing
  3. 8:14Understanding the mechanisms
  4. 10:06Implementation details
  5. 16:30Addressing testing issues
  6. 21:00Performance results
  7. 23:44Usage and conclusion
  8. 28:39Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.