Skip to content

Conversation

@pdrobnjak
Copy link
Contributor

Summary

  • Pool CacheMultiStore maps used during EVM snapshots and release them on Cleanup

Stack

12/13 β€” depends on perf/account-deser-cache-accesslist-pool

πŸ€– Generated with Claude Code

@github-actions
Copy link

github-actions bot commented Feb 11, 2026

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
βœ… passedβœ… passedβœ… passedβœ… passedFeb 11, 2026, 1:38 PM

@pdrobnjak pdrobnjak self-assigned this Feb 11, 2026
@pdrobnjak pdrobnjak force-pushed the perf/account-deser-cache-accesslist-pool branch from 06e97ec to e06b8ed Compare February 11, 2026 13:19
@pdrobnjak pdrobnjak force-pushed the perf/pool-cms-maps-evm-snapshot branch from 30417de to 7f1e084 Compare February 11, 2026 13:19
Pool the 5 map allocations created by newCacheMultiStoreFromCMS (called
per EVM Snapshot) via sync.Pool. On Release, clear maps and return to
pool. Also release CMS resources from surviving snapshot contexts in
Cleanup/CleanupForTracer to return pooled maps after Finalize.

Target: newCacheMultiStoreFromCMS (11 GB flat, 4.7% of total allocs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pdrobnjak pdrobnjak force-pushed the perf/account-deser-cache-accesslist-pool branch from e06b8ed to cb598f8 Compare February 11, 2026 13:37
@pdrobnjak pdrobnjak force-pushed the perf/pool-cms-maps-evm-snapshot branch from 7f1e084 to 21bbfc8 Compare February 11, 2026 13:37
@pdrobnjak pdrobnjak marked this pull request as draft February 11, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant