Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster json implementation? #72

Open
BenediktBurger opened this issue Apr 19, 2024 · 1 comment
Open

Faster json implementation? #72

BenediktBurger opened this issue Apr 19, 2024 · 1 comment

Comments

@BenediktBurger
Copy link
Member

BenediktBurger commented Apr 19, 2024

There are faster json implementation than the standard package (recommended by @VigneshVSV https://github.com/VigneshVSV/hololinked):

@VigneshVSV
Copy link

VigneshVSV commented Apr 30, 2024

msgspec JSONSerializer

none - 0.00019486 ms
1e3 doubles - 0.0505499 ms
1e4 doubles - 0.504501 ms
1e5 double - 6.50611 ms
1e6 doubles - 64.4833 ms
1M uint8 - 60.1648 ms

Python Builtin JSONSerializer

none - 0.00272236 ms
1e3 doubles - 0.735883 ms
1e4 doubles - 7.10066 ms
1e5 double - 74.7587 ms
1e6 doubles - 744.479 ms
1M uint8 - 507.623 ms

10000 iterations average

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants