Skip to content

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.

2 participants