Damir Zekić's wroclove.rb 2018 talk recounts an 'Odyssey' of diagnosing a progressively slowing Rails test-reload loop. He walks through reproducing the bug, using git bisect and a custom linear-search script, investigating memory leaks with heap dumps (heapy), rendering flame graphs, digging into Rails' routing code and Ruby's undef_method in C, and ultimately tracing the root cause to the monolith/granite framework mounting controllers at Spring boot time.
claude-opus-4-797bc0a8f