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

run some benchmarks #10

Open
matcool opened this issue Feb 14, 2024 · 4 comments
Open

run some benchmarks #10

matcool opened this issue Feb 14, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@matcool
Copy link
Member

matcool commented Feb 14, 2024

would be fun i think

@matcool matcool added the documentation Improvements or additions to documentation label Feb 14, 2024
@matcool
Copy link
Member Author

matcool commented Nov 24, 2024

not a benchmark but a compliance test suite
image

@matcool
Copy link
Member Author

matcool commented Dec 7, 2024

image
did some small benchmarks

@matcool
Copy link
Member Author

matcool commented Dec 14, 2024

image
v3.1.5, speed is about equal with nlohmann (though still slower on avg), except for when parsing via an std::istream :(

(edit: dump accidentally timed both parsing and dumping, instead of only dumping. matjson and nlohmann are equal in terms of dumping)

@matcool
Copy link
Member Author

matcool commented Jan 13, 2025

3.2.0, times vary a lot but file parsing is much faster!
nlohmann tests switched to ordered_json, to make it fair with matjson
image

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

No branches or pull requests

1 participant