google/benchmark

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

Open

#1,890 建立於 2024年12月17日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C++ (1,539 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (7,968 star)
PR 合併指標
 (平均合併 4天 2小時) (30 天內合併 19 個 PR)

描述

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.

貢獻者指南