google/benchmark

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

Open

#1 890 ouverte le 17 déc. 2024

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)C++ (7 968 stars) (1 539 forks)batch import
enhancementhelp wanted

Description

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.

Guide contributeur