python bindings: Add tools, drop hard abseil dependency

オープン
#2,017 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cmake, python
領域
tooling

調査の方向性

まず PR #2016 と、現在は別のディレクトリに置かれている既存の分析ツールを確認します。これらのツールを google-benchmark Python パッケージに移行し、CMake の外部で動作させる方法を決定し、その後 absl-py が不要になっていることと、flag 値に argparse ベースの解決策があることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Follow-up of https://github.com/google/benchmark/pull/2016.

tl,dr: It would be to add the analysis tools of benchmark results to the google-benchmark Python package instead of keeping them in a separate directory. Benefits of this are easier installation for the user, being able to use them outside of CMake, and better organization of Python sources for GBM.

Bonus: The absl-py dependency should be dropped. Since that is used for flag parsing, bindings for the flag values should be added as well as an argparse solution.

主要言語
C++
スター
10.5k
フォーク
1.8k
平均マージ
1日 15時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/benchmark のほかの issue

google/benchmark の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。