vectordotdev / vectordotdev/vector
Benchmark `simd_json` versus `serde_json` for encoding
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
https://github.com/simd-lite/simdjson-rs takes advantage of deeper hardware parallelization techniques to provide a faster serialization/deserialization.
A couple downsides is that it requires us to set some special compile flags since it requires special hardware instructions like avx2 https://github.com/simd-lite/simdjson-rs/blob/master/.cargo/config
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked simd_json implementation and its .cargo/config compile flags, then identify the existing Vector encoding paths to benchmark against serde_json. Compare encoding performance under the required hardware-instruction settings and document the results, including any build or portability limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100