Principles of Performance Oriented Coding