[requirements][placement] orjson instead of stdlib json

Ed Leafe ed at leafe.com
Wed Aug 28 13:23:14 UTC 2019


On Aug 28, 2019, at 7:30 AM, Chris Dent <cdent+os at anticdent.org> wrote:
> 
> I suspect the reason my tests are seeing such a huge improvement
> (different from orjson's benchmark) is because this is one single
> very large (2583330 bytes when JSON) python structure being
> dumped just once.

While optimizing the performance of JSON-ifying this huge thing is always a good idea, it might be better to consider why such a huge object is necessary in the first place.

"Doctor, it hurts when I do this"
"Well, then stop doing that!"


-- Ed Leafe





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190828/dc8d430f/attachment.sig>


More information about the openstack-discuss mailing list