4 ms·
Was there still a significant speedup using the standard library json module? For the DB requests Are you writing sql directly, using a different ORM, or somet
by dec0dedab0de 6y ago
Was there still a significant speedup using the standard library json module?
For the DB requests Are you writing sql directly, using a different ORM, or something like sqlalchemy core that makes sql pythonic without being an ORM?
- Bedon292 6y agoYeah, the main improvement was seen even before playing with orjson. It did help too I think, but only started it yesterday so haven't actually profiled the two side by side. To have real numbers. And it uses SQLAlchemy under the hood. Can use all of it. But if you want full async all the way down, can just use core and something like encode/databases for the DB access.