January 2012
Intermediate to advanced
282 pages
7h 4m
English
Being able to measure performance is required in order to determine whether optimizations are needed, and whether the optimizations actually improved anything.
Performance in most cases will be measured as a function of the time it takes to complete an operation. For example, the performance of a game will very often be measured in how many frames per second can be rendered, which directly depends on how much time it takes to render frames: to achieve a constant frame rate of 60 frames per second, each frame should take less than 16.67 milliseconds to render and display. Also, as we discussed in Chapter 1, a response time of 100 milliseconds is often desired in order for results to appear instantaneous. ...