hiero-ledger / hiero-ledger/hiero-consensus-node

Add JMH Benchmark Tests to hedera-services test-clients module

Open
#16,612 0 comments 0 reactions 1 assignee Assigned to @povolev15 View on GitHub
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

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.