Skip to content

Commit c3a5434

Browse files
committed
fixup: readme
Signed-off-by: Todd Baert <[email protected]>
1 parent 02d57b3 commit c3a5434

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ to run alone:
3030
mvn test -P e2e
3131
```
3232

33+
## Benchmarking
34+
35+
There is a small JMH benchmark suite for testing allocations that can be run with:
36+
37+
```sh
38+
mvn -P benchmark test-compile jmh:benchmark -Djmh.f=1 -Djmh.prof='dev.openfeature.sdk.benchmark.AllocationProfiler'
39+
```
40+
3341
## Releasing
3442

3543
See [releasing](./docs/release.md).

src/test/java/dev/openfeature/sdk/benchmark/AllocationBenchmark.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public class AllocationBenchmark {
3636
private static final int ITERATIONS = 10000;
3737

3838
@Benchmark
39-
@Warmup(iterations = 0)
40-
@Measurement(iterations = 1)
4139
@BenchmarkMode(Mode.SingleShotTime)
4240
@Fork(jvmArgsAppend = { "-Xmx1024m", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseEpsilonGC" })
4341
public void run() {

0 commit comments

Comments
 (0)