Wasm-R3: Record-Reduce-Replay for Realistic and Standalone WebAssembly Benchmarks
Doehyun Baek, Jakob Getz, Yusung Sim, Daniel Lehmann, Ben L. Titzer,, Sukyoung Ryu, Michael Pradel

TL;DR
Wasm-R3 introduces a record-reduce-replay technique for WebAssembly that creates realistic, faithful, and standalone benchmarks from real web applications, aiding performance evaluation and tuning.
Contribution
It is the first method to record and replay WebAssembly applications as standalone benchmarks, capturing real-world behavior with significant trace reduction.
Findings
Trace reduction of 99.53% achieved
Replay benchmarks are faithful to original execution
27 applications included in the Wasm-R3-Bench suite
Abstract
WebAssembly (Wasm for short) brings a new, powerful capability to the web as well as Edge, IoT, and embedded systems. Wasm is a portable, compact binary code format with high performance and robust sandboxing properties. As Wasm applications grow in size and importance, the complex performance characteristics of diverse Wasm engines demand robust, representative benchmarks for proper tuning. Stopgap benchmark suites, such as PolyBenchC and libsodium, continue to be used in the literature, though they are known to be unrepresentative. Porting of more complex suites remains difficult because Wasm lacks many system APIs and extracting real-world Wasm benchmarks from the web is difficult due to complex host interactions. To address this challenge, we introduce Wasm-R3, the first record and replay technique for Wasm. Wasm-R3 transparently injects instrumentation into Wasm modules to record…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvancements in Photolithography Techniques · Advanced Surface Polishing Techniques · Manufacturing Process and Optimization
