METABYTE
Back to articles

How Michael Abrash Doubled Quake's Framerate: Optimization Lessons That Still Apply

Legendary optimizer Michael Abrash pushed Quake to unprecedented speeds — no magic, just pure assembly and hardware know-how.

7 mai 20261 min read
How Michael Abrash Doubled Quake's Framerate: Optimization Lessons That Still Apply

Ever looked at your code and thought, "Eh, the compiler will optimize that"? Michael Abrash, the optimization wizard from the 90s, proved with Quake that sometimes the compiler is just a lazy intern who doesn't know the CPU's secrets.

Abrash manually rewrote critical rendering routines in assembly, using tricks like precomputing sine/cosine via lookup tables and hand-tuning register usage. The result? Framerate doubled on the same hardware. Imagine optimizing a React app and suddenly you don't need a server — everything runs blazing fast on the client. That kind of paradigm shift.

Many of his techniques (e.g., SIMD instructions) are still relevant today, especially in gamedev and highload systems. If you think modern compilers do it all for you, remember Quake: sometimes a human touch works wonders, especially when you need to squeeze every last frame out of the CPU.

METABYTE studio comment: Optimization is an art, and we love it. If your project is sluggish, don't rush to upgrade servers — maybe a few assembly tweaks can do the trick? Just kidding, but there's a grain of truth: we know how to find bottlenecks and make code faster without breaking the bank.

NEXT STEP

Liked the approach?

We apply the same principles to client projects: AI, automation, products that don't die after launch.