paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Debugging Performance Issues in WebAssembly Runtimes via Mutation-based Inference

通过基于变异的推断调试 WebAssembly 运行时中的性能问题
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 2/10 · 该论文属于编译器/运行时性能调试方向,通过变异推断定位 WebAssembly 运行时中次优编译指令序列,与用户关注的静态分析、LLM/Agent 程序分析、浮点程序分析及贝叶斯程序分析均无直接交集。虽然涉及程序分析与调试,但不涉及 AI/LLM 与 PL 的交叉,也不符合核心研究方向。引用 1 inbox
Ruiying Zeng, Shuyao Jiang, Wenxuan Zhao, Yangfan Zhou
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 WarpL,通过变异推断定位 WebAssembly 运行时中导致性能问题的次优指令序列。

WebAssembly 运行时的性能问题会削弱托管服务能力,而许多问题源于运行时的编译器对输入 Wasm 程序编译不够优化;面向应用层低效的现有性能调试方法难以定位这类问题。本文提出 WarpL,一种基于变异的推断方法:先获得功能相似但不再表现出该性能问题的变异程序,再对比原始程序与变异程序的机器码,从而隔离出导致性能问题的精确次优指令序列,缩小根因范围。作者将 WarpL 实现为开源工具,在三个广泛使用的 Wasm 运行时中的 12 个真实性能问题上进行评估,成功定位 10 个问题的精确原因,并诊断出 Wasmtime 中 6 个此前未知的性能问题。

问题
许多 WebAssembly 运行时性能问题源于其对输入 Wasm 程序的次优编译,现有面向应用层低效的调试方法难以定位此类运行时根因。
方法
WarpL 通过变异生成功能相似但不再触发性能问题的程序,并比较原始与变异程序的机器码,以隔离精确的次优指令序列。
评估
在三个广泛使用的 Wasm 运行时上针对 12 个真实性能问题评估,WarpL 定位了其中 10 个的精确原因,并在 Wasmtime 中诊断出 6 个此前未知问题。
原文摘要(Abstract)

Performance debugging in WebAssembly (Wasm) runtimes is essential for ensuring the robustness of Wasm, especially since performance issues have frequently occurred in Wasm runtimes, which can significantly degrade the capabilities of hosted services. Many performance issues in Wasm runtimes result from suboptimal compilation of input Wasm programs, for which existing performance debugging methods primarily designed for application-level inefficiencies are not well-suited. In this paper, we present WarpL, a novel mutation-based approach that aims to identify the exact suboptimal instruction sequences responsible for the performance issues in Wasm runtimes, thereby narrowing down the root causes. Specifically, WarpL obtains a functionally similar mutant in which the performance issue does not manifest, and isolates the exact suboptimal instructions by comparing the machine code of the original and mutated programs. We implement WarpL as an open-source tool and evaluate it on 12 real-world performance issues across three widely used Wasm runtimes. WarpL identified the exact causes in 10 out of 12 issues. Notably, we have used WarpL to successfully diagnose six previously unknown performance issues in Wasmtime.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2604-13693,
  title = {Debugging Performance Issues in WebAssembly Runtimes via Mutation-based Inference},
  author = {Ruiying Zeng and Shuyao Jiang and Wenxuan Zhao and Yangfan Zhou},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773141}
}