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

Expanding JSON benchmarks #2

Closed
Erotemic opened this issue May 29, 2022 · 1 comment
Closed

Expanding JSON benchmarks #2

Erotemic opened this issue May 29, 2022 · 1 comment

Comments

@Erotemic
Copy link

I've started work on what is turning out to be a fairly intensive effort to generate high quality quantitative json benchmarks with graphs, tables, and multiple statistical analyses.

I'm currently working on the code as a PR to ujson: ultrajson/ultrajson#542 but its getting involved so it might make sense to target it as a standalone repo.

Adding simdjson to my current benchmarks shows an interesting (and expected) result: the value of SIMD kicks in when the data gets large:

image

(Notice the red line in the left "loads" graph)

For dumps, because pysimdjson does not wrap the "dumps" and just uses "json.dumps", we get a line that maps almost exactly on top of the "json" line.

I'm writing this issue as an attempt to gauge interest in integrating my work here instead of "ujson" itself (or making yet another json benchmarking repo).

@TkTech
Copy link
Owner

TkTech commented May 31, 2022

Interesting! Certainly interested in expanding the benchmarks. I'll have to take a closer look at your approach when I have time on the weekend.

@TkTech TkTech closed this as completed Apr 25, 2024
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