Skip to content

Test and Benchmark names are too generic #360

Description

@gaby

When using msgp for multiple structures in one big code base all the benchmarks are generated with the same name, while this doesn't cause an issue it makes comparing Previous/Current benchmarks impossible.

For example: BenchmarkAppendMsgitem()

When running with go test ./... -benchmem -run=^$ -bench . we get multiple entries with the same benchmark name even though the code are in different folders. Ideally msgp would add a cli flag that allows to specify a name to be appending after the word Benchmark

Activity

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