Is Python significantly faster than Ruby? The Computer Language Shootout says so. We’re working on setting up a small test suite of the type of computing we will need to do in our application, so we can do a fair benchmarking.

We’re also looking at what options are available to improve the performance. Ruby is waiting for YARV, which Antonio Cangiano recently benchmarked, and it looks very promising. Python has psyco, pypy, and several other options. Being able to integrate code written in other languages to optimize when really necessary is important, and both languages seem to have good support.

Has anybody else done customized benchmarking of these two languages for a specific web application?