mirror of
https://github.com/nlohmann/json.git
synced 2026-11-04 19:59:23 +00:00
bench_all and bench_rs now time use cases (validate, sum, select, edit, minify, write) instead of library functions. Every library may solve a use case in every way it offers; each variant's result is checked, and three malformed inputs give its validation level (full, no UTF-8, partial). summarize.py reports each library's fastest fully validating variant and a faster one at a lower level, as text and as JSON. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
16 lines
285 B
TOML
16 lines
285 B
TOML
[package]
|
|
name = "bench_rs"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
simd-json = "*"
|
|
sonic-rs = "*"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = { version = "*", features = ["float_roundtrip"] }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|