apache / apache/fory

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

Open
#4,019 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.5k
Forks
443
Avg merge
5h 59m
Merged PRs (30d)
77

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: kotlin, harness name: `fory`).
Implementation we use:

https://github.com/leo-gan/GLD.SerializerBenchmark/blob/master/kotlin/src/main/kotlin/benchmark/serializers/ForySer.kt

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

Start with the linked GLD.SerializerBenchmark wrapper at kotlin/src/main/kotlin/benchmark/serializers/ForySer.kt and compare its call pattern with Fory's recommended performance-sensitive usage. Review the options, encoder/decoder reuse, types, and buffer handling described in the issue. Done means providing concrete fairness notes or a small PR, with any documentation corrections identified for the benchmark course.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
performance, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.