56d2abe17f
- optimised memory access patterns, removing unecessary mutability and accesses.
- replaced the standard HashMap with an implementation that uses a faster hashing algorithm.
results:
before:
- our benchmark program with ~4m instructions would take around for their data to make it to the UI, and a bit over 200ms to actually run
after:
- our benchmark program with ~4m instructions can run in around 75ms, and the UI receives the update almost instantly.
conclusion:
- emulator performance should be around 2-3x faster than before.
22 lines
487 B
TOML
22 lines
487 B
TOML
cargo-features = ["codegen-backend"]
|
|
|
|
[workspace]
|
|
members = ["emulator", "common", "assembler", "dsa_editor"]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
authors = ["zxq5", "nullndvoid"]
|
|
|
|
[profile.dev]
|
|
codegen-backend = "cranelift"
|
|
panic = "abort" # Cranelift does not support stack unwinds.
|
|
lto = false
|
|
debug = true
|
|
incremental = false # sccache does not support caching incremental crates.
|
|
|
|
[profile.release]
|
|
debug = true
|
|
lto = "fat"
|