Skip to content

Conversation

@ripatel-fd
Copy link
Contributor

@ripatel-fd ripatel-fd commented Dec 5, 2025

Baseline: 157.3 seconds
optimize funk_rec allocs: 153.0 seconds
move slot field to DB layer: 151.8 seconds

riptl added 2 commits December 5, 2025 14:55
Removes the slot field from account_meta (runtime layer).  The
database layer is aware of the slot numbers in which accounts
change anyways.  This saves 8 bytes per account and removes a
cache miss during snapshot loading (checking if a duplicate account
is newer or obsolete).

This is a low-risk change because the slot field is not consensus-
relevant outside of snapshot loading.
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.051013 s 0.05088 s -0.261%
backtest mainnet-368528500-perf snapshot load 1.63 s 1.623 s -0.429%
backtest mainnet-368528500-perf total elapsed 51.013081 s 50.879876 s -0.261%
firedancer mem usage with mainnet.toml 1023.23 GiB 1023.23 GiB 0.000%

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.

3 participants