Another benchmark to consider is how long it took to get it running. For problems that you only need to solve once, running in two and a half minutes vs. 18 seconds still wins if you finish the former script a half day ahead of the second one.
I wrote 2 similar progs...one in Perl, the other in C++.