Skip to content

Poc hashing#23320

Closed
panman90 wants to merge 7 commits intomainfrom
poc_hashing
Closed

Poc hashing#23320
panman90 wants to merge 7 commits intomainfrom
poc_hashing

Conversation

@panman90
Copy link
Copy Markdown
Contributor

@panman90 panman90 commented Mar 15, 2026

Description

Switched compiled chain hashing flow to use precomputed hash values where available, instead of recalculating full hashes repeatedly. More info available on RFC.

Testing & Reproduction steps

Added/updated tests in respective test files to validate behaviour:

  • deterministic hash consistency
  • hash changes when each exported field is mutated
  • regression guard to ensure exported field coverage in hash test population logic

Performance validation
Captured pprof before vs after this change with 4000 watches on one service.
Comparison shows reduced time spent in hashing-related work on the compiled chain path, with corresponding CPU improvement in that scenario. Results are shared separately.

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@panman90 panman90 self-assigned this Mar 16, 2026
@panman90 panman90 marked this pull request as ready for review March 16, 2026 03:46
@panman90 panman90 requested review from a team as code owners March 16, 2026 03:46
@panman90 panman90 closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants