Skip to content

Conversation

@dongowu
Copy link
Contributor

@dongowu dongowu commented Oct 23, 2025

Description

Describe the changes or additions included in this PR.

perf(json-rpc): reduce cloning in checkpoint and transaction lookups

  • reuse verified checkpoint envelopes to extract summaries without cloning the full structure
  • share the original digest list across logging and storage calls to avoid extra allocations
  • preallocate timestamp maps and event buffers in RPC hot paths to cut down reallocation churn

Test plan

How did you test the new or updated feature?


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@vercel
Copy link

vercel bot commented Oct 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sui-docs Ready Ready Preview Comment Oct 23, 2025 10:41am
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Oct 23, 2025 10:41am
sui-kiosk Ignored Ignored Preview Oct 23, 2025 10:41am

@dongowu dongowu changed the title Optimize checkpoint and transaction fetch paths perf(json-rpc): reduce cloning in checkpoint and transaction lookups Oct 23, 2025
@dongowu
Copy link
Contributor Author

dongowu commented Oct 23, 2025

#24064

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.

1 participant