Skip to content

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Jul 7, 2025

ref #32059

Here we use a [16]array of path map to store all the trienodes indexes, then we can split the large storage trienodes into 16 goroutines to do lock-free updates.

The below charts are generated with geth on hoodi network with full sync

full sync block height

image
  • green is master
  • yellow is this branch

pathdb lookup latency

image

Results:

  1. The totally block inserting time is similar
  2. The time of (un)indexing in this branch is 3 times more than the master branch.

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