Wednesday, April 19, 2006

Gemcutter's Workshop #3

The third article in my column was posted here this morning. It's got some coverage of Canada on Rails and Coverity, and a short introduction to optimizing Ruby programs.

4 comments:

Anonymous said...

Your url doesn't show in netnewswire and points to a locked down page regardless.

gnupate said...

this has been fixed. thanks for pointing it out.

Sean said...

Your intro for optimizing ruby spawned an interesting thought. You could make performance into a unit test using bm. Then as you optimize, you could tell when you had done enough. Also, if you added something later that "broke" performance, you would know immediately.

gnupate said...

good point, but hard to do in practice given the wide scope of performance numbers you're likely to see for the same code on different machines.

I'd love to see a harness for performance measurement that could be run as easily as unit tests though.