google/benchmark

[FR] Allow to add more information in the custom output for json

クローズ

#1,890 opened on 2024/12/17

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (1,539 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (7,968 個のスター)
PR merge metrics
 (PR metrics pending)

説明

I generate benchmarks with different variations. However, last I checked, the only field I can populate is benchmark_name. So I first populate the name with the things I need: https://github.com/DenisYaroshevskiy/unsq_eve/blob/a2c914f0c37e57911ba47751db0463a33f48bf22/src/bench/bench.h#L100 And then parse them out in the visualization.

It would be great to have some way to add an object to the outputted json.

コントリビューターガイド