Skip to content

Conversation

nipatel-jump
Copy link
Contributor

@nipatel-jump nipatel-jump commented Sep 29, 2025

New Simulate Subcommand and Feccap

The simulate subcommand provides a specialized environment similar to backtest using captured live data. It replays FEC sets from persistent storage previously captured shred information by a new feccap tile.

  • Minimal Topology: Uses only essential tiles (simulate, snap, replay, exec, writer, tower)
  • Replay for Forks: Allows for testing over forks, and interleaved execution

Known Issues

Not being backpressured because of problems that exist in the replay tile due to TOCTOU conditions.
Fixed by Ishan: a916c48

@nipatel-jump nipatel-jump changed the title nishk/simulate simulate: blockstore-based backtest to support forked replay Sep 29, 2025
@nipatel-jump nipatel-jump force-pushed the nishk/simulate branch 19 times, most recently from 48ec134 to c9a5713 Compare October 3, 2025 17:39
Copy link

github-actions bot commented Oct 8, 2025

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.099851 s 0.096787 s -3.069%
backtest mainnet-368528500-perf snapshot load 3 s 2.9 s -3.333%
backtest mainnet-368528500-perf total elapsed 99.851332 s 96.7871 s -3.069%
firedancer mem usage with mainnet.toml 1008.12 GiB 1008.12 GiB 0.000%

Copy link

github-actions bot commented Oct 8, 2025

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.101841 s 0.099041 s -2.749%
backtest mainnet-368528500-perf snapshot load 2.9 s 2.9 s 0.000%
backtest mainnet-368528500-perf total elapsed 101.840655 s 99.041349 s -2.749%
firedancer mem usage with mainnet.toml 1008.12 GiB 1008.12 GiB 0.000%

@nipatel-jump nipatel-jump force-pushed the nishk/simulate branch 2 times, most recently from a462e6c to 05cf36b Compare October 8, 2025 17:00
Copy link

github-actions bot commented Oct 8, 2025

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-368528500-perf per slot 0.099399 s 0.099407 s 0.008%
backtest mainnet-368528500-perf snapshot load 3 s 2.9 s -3.333%
backtest mainnet-368528500-perf total elapsed 99.398881 s 99.406841 s 0.008%
firedancer mem usage with mainnet.toml 1008.12 GiB 1008.12 GiB 0.000%

@nipatel-jump nipatel-jump force-pushed the nishk/simulate branch 3 times, most recently from 86eaa8c to 9353e5a Compare October 13, 2025 14:46
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