cloudwego / cloudwego/sonic-rs

[benchmark] Request for call-path / fairness review (GLD.SerializerBenchmark)

Open
#235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
920
Forks
68
Avg merge
2h 5m
Merged PRs (30d)
1

Description

Hello,

I'm Leonid Ganeline. We maintain an open multi-language serializer benchmark:

https://github.com/leo-gan/GLD.SerializerBenchmark

Your library is included in the suite (language: rust, harness name: `sonic-rs`).
Implementation we use:

https://github.com/leo-gan/GLD.SerializerBenchmark/blob/master/rust/src/serializers/json.rs

We would value a short review of whether our measurement is fair and idiomatic:

1. Does our call pattern match how you recommend using the library in performance-sensitive code?
2. Should we change options, encoder/decoder reuse, types, or buffer handling?
3. Is there a better API (or a second entry point worth a separate row in the suite)?

Concrete notes or a small PR against that wrapper would help a lot. We are happy to credit you in the docs.

The repo also includes a short Serialization course (101–401). If something important about your design is easy to misstate, a pointer is welcome—we can update the docs ourselves.

Thank you for maintaining this library.

Best regards,
Leonid Ganeline

Contributor guide

Open the contributing guide

Research direction

Review rust/src/serializers/json.rs in the linked GLD.SerializerBenchmark repository alongside sonic-rs's documented usage. Check whether the call pattern, options, reuse, types, and buffer handling are idiomatic for performance-sensitive code. Done means providing concrete fairness notes or a small PR against that wrapper, plus any documentation corrections needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.