mirror of
https://github.com/Devolutions/IronRDP.git
synced 2026-11-23 08:25:56 +00:00
64133f5de3
Add native Criterion and Node-driven WebAssembly benchmarks for RemoteFX frame, tile, entropy-mode, and individual decode-stage costs using deterministic synthetic screens. Generate encoded fixtures before timing and retain the decoder context across video-mode frames. Restore stage inputs outside timed batches and keep decoded output observable so measurements exclude encoding, input copies, and wasm-bindgen glue. Expose both suites through `cargo xtask bench`, including native baseline comparisons and an optional WASM SIMD build. --------- Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com> Co-authored-by: Marc-André Moreau <mamoreau@devolutions.net> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
IronRDP project automation
Free-form automation following cargo xtask specification.
Benchmark capture corpus
cargo xtask bench corpus-fetch
cargo xtask bench corpus-list
Both commands run the corpus-bench binary from ironrdp-bench, which owns the corpus code and its dependencies.
corpus-fetch uses curl to download the captures listed in crates/ironrdp-bench/corpus.toml from the pinned upstream commit and verifies each SHA-256 digest.
Verified captures are cached under the ignored bench-data/wireshark-rdp/<revision>/captures directory.
To update the corpus, change the manifest revision, entries, and digests together, then run cargo xtask bench corpus-fetch.
Never commit captures, TLS key material, decrypted payloads, or generated output.