Skip to content

[FR] Compare benchmarks of the same run #1949

Open

Description

@krzikalla

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.

Activity

  1. LebedevRI commented on Mar 19, 2025

    @LebedevRI
    Collaborator

    Why is compare tool not an option? It can do that, see https://github.com/google/benchmark/blob/main/docs/tools.md,
    namely you might want 2. Compare two different filters of one benchmark The program is invoked like:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions