Writing log71 posts294 tagslatest Nov 30, 2026
Profiling.
Latest posts
fast-anything: How Much Faster Does a Rails App Get When Its Slow Function Moves to Rust?
fast-anything profiles an app, has a coding agent port only the slowest pure function to Rust, replays calls recorded from real runs, and swaps the port in only when every result matches. I read its Ruby backend and measured it on the cascade-reveal logic of a public minesweeper game built with Rails. The Rust port was 2.6× faster per call, while rewriting the same logic over plain arrays and index arithmetic was 70× faster on its own, in pure Ruby.
Finding two causes of a walking stutter in a Godot game with a measuring harness
A Godot 4.6 game that streams its world in chunks froze for 0.1 to 0.3 seconds every time the player walked. A harness that walks the hero on its own and logs frame times found two causes: code scanning 19,000 nodes every physics tick, and code building and tearing down whole chunks in a single frame. After the fix, frames over 50 ms are gone.