google / google/benchmark

[FR] JSON AoS<->SoA redesign

Open
#1,741 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Currently, we emit each repetition separately into JSON (and all at once apparently).
This is quite bloaty.

If we ever want to support iteration-as-repetition thing (and i think we do),
and perhaps if we want to AoS<->SoA our internal structs (and i think we do, especially if we do iteration-as-repetition),
i think we need to change the JSON schema.
The numberic fields (times, counters) need to become arrays of integers.

The `tools/` will support both schemes, but external tooling will need similar updates.
I don't think we'd want to support two different json formats?

@dmah42 thoughts?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.