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.

贡献者指南