3 ms·
I used it at my old job specifically to speed up a Django application. After a bunch of profiling, I narrowed down a bunch of our performance problems to the O
by doix 2y ago
I used it at my old job specifically to speed up a Django application.
After a bunch of profiling, I narrowed down a bunch of our performance problems to the ORM doing a bunch of __setattr__ (or something, it was a long time ago).
We could have started rewriting everything and using .values() (or something, basically get back tuples instead of python objects) but switching to PyPy got the performance to good enough without having to sacrifice DX.
It's been a long time, so I'm a bit fuzzy on the details, but I definitely recommend PyPy for Django unless there's some reason you can't use it.