All Consuming


12 out of 14 people (85%) think this is worth consuming…

0735619670
Code Complete, Second Edition
by Steve McConnell
See this at Amazon.com

14 people are consuming this.


See all 14 people consuming this

15 people have consumed this.


See all 15 people who have consumed this

People consuming this are also consuming these items.

2 entries have been written about this.

wereldmuis
Waltham

A story about this — 32 weeks ago

Code Complete, on the subject of measuring performance, from Chapter 25, page 604:

Whether you use someone else’s tool or write your own code to make the measurements, make sure that you’re measuring only the execution time of the code you’re tuning. Use the number of CPU clock ticks allocated to your program rather than the time of day. Otherwise, when the system switches from your program to another program, one of your routines will be penalized for the time spent executing another program.
Nice point, since in many Java examples I’ve seen System.currentTimeMillis() used to time sections of code, as is done in this article on micro-tuning. I’ve done it myself. It’s probably pretty safe for some uses, but something that you should think twice about in others.

A story about this — 3 years ago

Required reading…


FAQ | Terms of Use | Privacy Policy | | Robot Co-op Blog | Copyright © 2004 - 2008 Robot Co-op