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

To optimize com.swirlds.platform.consensus.ConsensusUtils. generateWhitening()

Open
#15,486 2 comments 0 reactions 0 assignees View on GitHub
Platform Scalability
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Description

Perf performance triage, the function com.swirlds.platform.consensus.ConsensusUtils. generateWhitening() has costly algorithm
https://perf.analytics.eng.hashgraph.io/permanent/engnet2-20240906_175600/reports/com.swirlds.platform.consensus.ConsensusUtils.html#79

### Steps to reproduce

Tom's or Oleg's 20 mins test

### Additional context

_No response_

### Hedera network

_No response_

### Version

v0.54

### Operating system

None

Contributor guide

Open the contributing guide

Research direction

Start with com.swirlds.platform.consensus.ConsensusUtils.generateWhitening() and review the linked performance report for the costly algorithm. Reproduce the issue with Tom's or Oleg's 20-minute test, then compare the function's performance after any investigation. Done means the reported cost is measurably reduced, though the issue does not specify a target.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.