On Sun, Jan 4, 2009 at 9:20 PM, Lawrence Pit <[email protected]> wrote: > > So for example the test recreate_doc, which hasn't changed for months, takes > 345ms using v0.8 and 4406ms using v0.9. That's more than 10 times slower. > Same machine, same erlang host.
Quite clearly longer times on the newer version. A lot has happened since 0.8. I think we were still on inets then, and it was before the config module appeared, as well as the move to JSON binaries as strings, and some filesystem work. We have not done much optimization in the same period, although work is beginning. There is a new C implementation of the JSON parser on the horizon that looks a few times faster, and we've begun to identify some portions of the code with low hanging fruit. I'm not too worried about a performance change over the last few months, as we've been concentrating on other things. It's worth noting that test suite performance overstates the costs of database creation and other setup tasks. I do think, that going forward, it would be very cool to have a performance benchmark suite, that was integrated perhaps with Hudson or some other Apache tools. Being able to see our changes effect on performance as we go along will certainly push us in the right direction. Chris -- Chris Anderson http://jchris.mfdz.com
