Richard Bucker

Code performance and optimization checklist

Posted at — Dec 10, 2013

Inspired by hadoop’s latest performance improvement announcement. Here is a checklist of things to consider when looking to improve the performance of your application:


Network contention
Hard disk I/O contention
Memory requirements and swap usage
Mutex and semaphores

All things being equal; Once you get past this list of (hardware) optimizations what remains is strictly CPU bound by the number of lines of code that executes per task.