Skip to content

Rjson benchmarks (go) #476

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

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Rjson benchmarks (go) #476

merged 1 commit into from
Nov 7, 2023

Conversation

WillAbides
Copy link
Contributor

This adds two Go benchmarks using https://github.com/willabides/rjson.

"Go (rjson)" uses the traditional approach of building a TestStruct with a Coordinate for each value in the json.

"Go (rjson custom)" takes a page from "Rust (Serde Custom)" and uses a single Coordinate value.

On my machine both of these are a little faster than "Go(Sonic)".

@nuald nuald merged commit 07fe423 into kostya:master Nov 7, 2023
nuald added a commit to nuald/benchmarks that referenced this pull request Nov 7, 2023
nuald added a commit that referenced this pull request Nov 7, 2023
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

Successfully merging this pull request may close these issues.

2 participants