Skip to content

[TIME-TRAVEL] [TEST] Performance benchmark: Snapshot overhead #1021

@dotandev

Description

@dotandev

Description

We need to ensure snapshots don't degrade the core simulation performance beyond acceptable limits.

Requirements

  • Add benchmark tests in simulator/benches/snapshot_bench.rs.
  • Compare execution time of 1000 host functions with vs without --snapshots.
  • Report overhead as a percentage.

Acceptance Criteria

  • Benchmarks run in CI to prevent performance regressions.
  • Results are exported to CSV for tracking.

Estimated File Changes: 2 (simulator/Cargo.toml, simulator/benches/snapshot_bench.rs)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions