~/talk

Autoresearching Ruby Performance with LLMs

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby, ai-assisted-development]
slides:none on file

AutoResearch runs LLM agents against benchmarks and opens PRs using Pi auto research and simple tools; one Sidekiq run reports 21,000 jobs/sec and yields micro-optimizations — replacing a 3-line global lock with a striped-lock expansion and swapping time.now.to_i for process.clock_gettime (saving ~20 ns) that together give about a 1% speedup. Some projects (Liquid, Ruby LSP) see meaningful gains, but many AI PRs are unmergeable due to complexity, caching bugs, weak tests, or mismatched assumptions.

AI-written summary · about

  1. 0:00Introduction and audience participation
  2. 1:53What is auto research?
  3. 3:57Auto research in real PRs
  4. 6:25Introducing Pi coding agent
  5. 8:12Sidekiq auto research demo
  6. 10:44Why generated code isn't merged
  7. 13:56The architect vs the pirate
  8. 15:44The bitter lesson in AI
  9. 17:31Loops and gates in AI workflows
  10. 19:15The software factory concept
  11. 21:46Open questions about AI factories
  12. 24:56Conclusion and takeaways
~/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.