Skip to content

Perf cache and db #10

Open
flywukong wants to merge 3 commits intodevelopfrom
perf-cache-and-db-
Open

Perf cache and db #10
flywukong wants to merge 3 commits intodevelopfrom
perf-cache-and-db-

Conversation

@flywukong
Copy link
Copy Markdown
Owner

Description

add a description of your changes here...

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

Preflight checks

  • build passed (make build)
  • tests passed (make test)
  • manual transaction test passed

Already reviewed by

...

Related issues

... reference related issue #'s here ...

flywukong and others added 3 commits June 18, 2025 18:16
fix fetcher metrics

add trieprefetch delay

update cache metrics, only record main process

fix

add overhead metrics

fix bugs

new prefetcher overhead

add preload metrics

fix bug

fix comments

fix comments second

add metrics of I/O cost functions

fix a error condition

fix disk time metrics

fix GetCommittedState L1 storage metrics

fix trie_prefetcher overhead metrics

add signature metrics in preload
add delay of each cache layer
add metrics of pebble

add count of io

fix

fix
func AddDiffLayerAccountRead(cost time.Duration) {
atomic.AddInt64(&DiffLayerAccountReadCount, 1)
DiffLayerAccountReadCost += cost
BlockDiffLayerAccountReadCount.Update(atomic.LoadInt64(&DiffLayerAccountReadCount))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it redundant?

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