Revealing Performance Issues in Server-side WebAssembly Runtimes via Differential Testing
Shuyao Jiang, Ruiying Zeng, Zihao Rao, Jiazhen Gu, Yangfan Zhou,, Michael R. Lyu

TL;DR
This paper introduces WarpDiff, a differential testing approach to identify and analyze performance issues in server-side WebAssembly runtimes, revealing seven confirmed problems and aiding future improvements.
Contribution
It presents a novel differential testing method for detecting performance issues in server-side WebAssembly runtimes, validated on five popular runtimes with real abnormal cases.
Findings
Identified 10 abnormal performance cases in five WebAssembly runtimes.
Confirmed seven performance issues through developer validation.
Demonstrated WarpDiff's effectiveness in revealing runtime performance problems.
Abstract
WebAssembly (Wasm) is a bytecode format originally serving as a compilation target for Web applications. It has recently been used increasingly on the server side, e.g., providing a safer, faster, and more portable alternative to Linux containers. With the popularity of server-side Wasm applications, it is essential to study performance issues (i.e., abnormal latency) in Wasm runtimes, as they may cause a significant impact on server-side applications. However, there is still a lack of attention to performance issues in server-side Wasm runtimes. In this paper, we design a novel differential testing approach WarpDiff to identify performance issues in server-side Wasm runtimes. The key insight is that in normal cases, the execution time of the same test case on different Wasm runtimes should follow an oracle ratio. We identify abnormal cases where the execution time ratio significantly…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Reliability and Analysis Research · Software System Performance and Reliability
