Use Codspeed for testing
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- ci-cd, performance, testing-qa
調査の方向性
bifurcation/KEMs の pull request #1 のプロトタイプ、特に commit 30a1c599b3e8fb114165e475eafbfde8e7922575 を確認し、その測定結果を pull request #3 およびリンクされた Codspeed レポートと比較してください。criterion.rs を使用したベンチマークの設定と、誤って作成された pull request #20 で提案されているより高速なアプローチを確認してください。リポジトリが必要な RustCrypto 設定で Codspeed を使用し、信頼できる効率的なパフォーマンス測定を生成すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Codspeed is a performance testing tool designed to produce highly consistent performance measurements. It also integrates very cleanly with criterion.rs.
I prototyped this out in https://github.com/bifurcation/KEMs/pull/1. (Unfortunately, that also includes a bunch of noise due to main branch divergence. The main commit is https://github.com/bifurcation/KEMs/pull/1/commits/30a1c599b3e8fb114165e475eafbfde8e7922575.) In addition to those code changes, an admin for the RustCrypto org would have to enable Codspeed for the repo and provision the required secret.
I'm having a little trouble having confidence in the measurements, though. Looking at https://github.com/bifurcation/KEMs/pull/3 and its Codspeed report, it is measurably slower on my local machine, but Codspeed reports marginal performance improvements. The execution times are also off by about an order of magnitude.
keygen time: [37.873 µs 37.899 µs 37.935 µs]
change: [+1.6945% +2.8309% +3.4566%] (p = 0.00 < 0.05)
Performance has regressed.
encapsulate time: [36.971 µs 37.129 µs 37.401 µs]
change: [+1.4643% +1.7390% +2.1480%] (p = 0.00 < 0.05)
Performance has regressed.
decapsulate time: [45.140 µs 45.368 µs 45.625 µs]
change: [+0.5023% +0.9468% +1.4248%] (p = 0.00 < 0.05)
Change within noise threshold.
round_trip time: [109.86 µs 110.04 µs 110.27 µs]
change: [+1.3724% +1.8421% +2.2354%] (p = 0.00 < 0.05)
Performance has regressed.
The version in that prototype is pretty slow, because it builds everything afresh, as @newpavlov noted in the accidental PR #20. If we're going to do this, we should do something like @newpavlov suggests to make it faster.
- 主要言語
- Rust
- スター
- 118
- フォーク
- 58
- 平均マージ
- 29分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/KEMs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
RustCrypto/KEMs#395 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
RustCrypto/KEMs#389 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
frodo-kem: `Algorithm::encryption_key_from_decryption_key` skips both of the validations its siblings perform対応中かも @cipherprofessor が 26 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
RustCrypto/KEMs#381 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
RustCrypto/KEMs#346 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
RustCrypto/KEMs#328 ·
メンテナーはふだん 1 日以内に返信
RustCrypto/KEMs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
EmbarkStudios/cargo-deny#910 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tursodatabase/turso#10054 ·
メンテナーはふだん 1 日以内に返信
-
build: Update rust version対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ibm-granite-community/granite-cli#229 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
orottier/web-audio-api-rs#658 ·