Skip to content

renames and exports; benchmarks #10

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 5 commits into from
Feb 20, 2025
Merged

renames and exports; benchmarks #10

merged 5 commits into from
Feb 20, 2025

Conversation

spyoungtech
Copy link
Owner

@spyoungtech spyoungtech commented Feb 20, 2025

Rename to_string_styled to to_string_formatted and StyleConfiguration to FormatConfiguration. Adds these to top-level exports and adds TrailingComma to top-level exports.

Adds a benchmark for testing serialization/deserialization speeds in a simple test at various sizes for a custom struct (a simple Vec).

Due to issues with json5, expect benches to require insane amounts of memory. json-five (this crate) and serde_json do not have this memory problem.

@spyoungtech spyoungtech merged commit 09ea310 into main Feb 20, 2025
@spyoungtech spyoungtech changed the title add new benchmark renames and exports; benchmarks Feb 20, 2025
@spyoungtech spyoungtech deleted the more_benches branch June 30, 2025 22:10
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.

1 participant