agronholm / agronholm/cbor2

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

未關閉
#330 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
305
分支
79
平均合併
21 小時 59 分鐘
30 天內合併 PR
2

描述

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

https://github.com/leo-gan/GLD.SerializerBenchmark/blob/master/python/src/benchmark/serializers/binary_cbor2.py

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start with the benchmark wrapper at python/src/benchmark/serializers/binary_cbor2.py and compare its call pattern with cbor2's documented usage. Review encoder and decoder reuse, options, types, and buffer handling, then report concrete fairness findings or prepare a small PR against that wrapper; any design details that affect the Serialization course docs can be noted separately.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, rust
領域
performance, testing
Issue 類型
重構
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。