Measure Performance
- Performance must be measured.
- Make testable predictions, jot down the predictions.
- Make a record of code changes.
- If each experiment run is documented, it can quickly be repeated.
- A measurement must be both true and precise to be accurate.
- Resolution is not accuracy.
- Do not use only intuition, but with methodology.
- in C++, count the number of memory reads/writes performed by the statement shows how expensive the statement is.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.