More mongrel-esi improvements
June 8th, 2008
After a little time to relax this weekend, I decided it was time to improve the parser, by being smarter about how it buffers output. This means less code executing in ruby. Here’s the same benchmarks I ran before, this time against the new parser and the current stable 0.4 release. I think the reason the standard deviation increased is due to more time being spent by the parser in C. I plan to work on this by having it call rb_thread_schedule, at specific times to give other ruby threads a chance to run – this should help smooth out the standard deviation.




Recent Comments