hiero-ledger / hiero-ledger/hiero-consensus-node
Add JMH Benchmark Tests to hedera-services test-clients module
Open
Feature Enhancement
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
**Steps**:
1. Add `id("com.hedera.gradle.feature.benchmark")` to `hedera-node/test-clients/build.gradle.kts`
2. Create a new jmh/java source set in `hedera-node/test-clients/src` called `com.hedera.services.test.clients.benchmark`
3. Add the `RawArrayBenchmark` and `Consts` classes to the new source set
**Testing**:
1. run `:test-clients:qualityGate` to perform spotless checks and javaCompile checks on the `test-clients` module
2. Execute the gradle task from the gradle menu at `:test-clients:jmh`
**Notes**:
The `Consts` class in the new source set is a stub and should be updated to the real one.
Contributor guide
Assessment
This issue has not been assessed yet.