Skip to content

Performance comparison between a pair of two benches #245

@tats-u

Description

@tats-u

When developing a plugin for software created by others and then benchmarking it, it's often desirable to compare performance with and without your plugin.

describe("Bench for test case #1", () => {
  bench("without my plugin", () => {
    // bench
  });
  bench("with my plugin", () => {
    // bench
  });
});

The current CodSpeed can only detect whether each benchmark has performance degraded against the same benchmark on the main branch. It should be possible to use other benchmarks within the same branch and commit as metrics.

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