google / google/benchmark

[FR] Compare benchmarks of the same run

Open
#1,949 1 comment 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

**Is your feature request related to a problem? Please describe.**
Often I have different implementations of one algorithm (e.g. a scalar and a vectorized version). I'd like to know the speedup of one version vs. a baseline version. Both versions are measured in the same run, so the compare tool is not an option.

**Describe the solution you'd like**
A Teardown function for each benchmark run, which is called for each set of arguments. The current implementation lacks a way to get the measured time.

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.