Skip to content

[FR] Draw a line #1954

Open
Open

Description

@DenisYaroshevskiy

Can we have a macro that separates outputs?

like

BENCHMARK(f1);
BENCHMARK(f2);

BECHMARK_DRAW_LINE();

BENCHMARK(f3);

Output

f1 ....
f2 ...
------------
f3 ...

Activity

  1. LebedevRI commented on Mar 21, 2025

    @LebedevRI
    Collaborator

    You can override with your owh BenchmarkReporter that does whatever the fun thing you want.

    Otherwise, I'm afraid i don't quite see how this feature would work.
    What about repetitions? What about complexity reports? JSON?

  2. DenisYaroshevskiy commented on Mar 21, 2025

    @DenisYaroshevskiy
    Author

    Just for the console output?

  3. LebedevRI commented on Mar 21, 2025

    @LebedevRI
    Collaborator

    You can override with your owh BenchmarkReporter that does whatever the fun thing you want.

    Otherwise, I'm afraid i don't quite see how this feature would work. What about repetitions? What about complexity reports? JSON?

    Also, what about --benchmark_filter?

  4. DenisYaroshevskiy commented on Mar 21, 2025

    @DenisYaroshevskiy
    Author

    Also ignore the lines?

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