On 29/10/10 20:31, Jon Leighton wrote: [snip] > You could also try using ruby-prof to profile the code and see where > it's spending time: http://github.com/rdp/ruby-prof Thank you - now trying various runs with ruby-prof to see whether it tells me anything. Cheers, John