google/benchmark

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

Open

#1.890 geöffnet am 17. Dez. 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (1.539 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (7.968 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 2h) (19 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide