google / google/caliper

Supporting Benchmark suites «à la JUnit»

Open
#126 0 comments 0 reactions 0 assignees View on GitHub
component: runner P3 type=enhancement
Dominant language
Java
Stars
818
Forks
112
Avg merge
12m
Merged PRs (30d)
5

Description

```
Would that be possible to provide an implementation of the interface Benchmark
that enables to build suites of benchmarks that are expected to be run and
reported together. Something like:

public class ArrayBenchmark extends BenchmarkSuite {
public ArrayBenchmark() {
addBenchmark(new ArraySortBenchmark("timeSort"));
addBenchmark(new ArrayCopyBenchmark());
}

public static void main(String[] args) throws Exception {
Runner.main(ArrayBenchmark.class, args);
} }
```

Original issue reported on code.google.com by `romain.r...@gmail.com` on 12 Jun 2011 at 9:15

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.