simd-json
                                
                                
                                
                                    simd-json copied to clipboard
                            
                            
                            
                        Rust port of simdjson
Do simdjson have flattened JSON access? (similar to https://github.com/pikkr/pikkr) Will, there be any performance improvement if I use flattend json access? ---- ## Added by @Licenser as an issue description...
It might be worth looking into making more performant versions of the serialize and deserialize macro. Serde's implementation factors in different formats and by that comes with different tradeoffs if...
serde_json provides a RawValue type (with the raw_value feature flag) that just stores the raw json bytes so you can pass around a json string without having to parse it....
Not sure if this is useful but using SIMD to parse integers looks interesting. Or maybe this shouldn't be in the crate either. https://kholdstare.github.io/technical/2020/05/26/faster-integer-parsing.html
See: https://github.com/serde-rs/json-benchmark/issues/15#issuecomment-643569709 rapidjson is very fast when it comes to printing float numbers, we should find out why and see if we can adopt their logic.
looks like graviton2 is available! https://aws.amazon.com/blogs/aws/new-m6g-ec2-instances-powered-by-arm-based-aws-graviton2/ It would be cool to benchmark & compare w/ upstream performance...
It might be worth considering adding simd-json to the TechEmpower benchmarks: https://github.com/TechEmpower/FrameworkBenchmarks/blob/cfbbf5d11143c96851620eb1aeaf3c2893e862c9/frameworks/Rust/actix/src/main.rs#L23 To make this really worthwhile #121 would be good. suggested by @pickfire
In my experience, most large JSON files where using SIMD decoding would make sense come in a newline separated form. Oftentimes they are additionally stored in a compressed form and...
see: https://github.com/nautilus-fuzz/nautilus
Right now the crate provides a great way to parse json. But a lot of the simd tricks are much more general. For example parsing a float or an integer...