ORCID

Abstract

WebAssembly (Wasm) has emerged as a lightweight, portable, and secure execution environment beyond the browser, with growing adoption in data-intensive, machine learning, and performance-sensitive workloads. However, the runtime ecosystem remains fragmented, and a systems-level understanding of how runtime design affects performance and energy efficiency is still lacking. This paper makes two contributions. First, it presents a taxonomy of modern WebAssembly runtimes that classifies the runtime landscape by execution model, compilation strategy, integration style, and systemslevel capabilities. Second, it provides an empirical evaluation of 13WASI-compatible runtimes and a native baseline across eight benchmarks, namely, four machine learning workloads (Logistic Regression, K-Means, Naïve Bayes, and Decision Tree) and four arithmetic kernels (Matrix Multiplication, 2MM, Correlation, and Covariance) at three dataset scales. Execution time and dynamic energy are measured using an external hardware power meter under a statistically controlled repeated-run methodology. The results show strong workload dependence: optimized engines such as Wasmtime AOT, WasmEdge AOT, Wasmer LLVM, and WAMR AOT consistently achieve performance competitive with the portable native baseline. For regular arithmetic kernels, several optimized AOT runtimes match or slightly exceed the portable Rust release build without CPU-specific tuning; however, these observations should be interpreted relative to a portable native reference configuration rather than a processor-specific optimized native implementation. Interpreteroriented runtimes incur overheads exceeding 10× in both time and energy on iterative and branch-intensive workloads. Predictive-quality metrics remain effectively stable across runtime configurations, with only negligible variation, confirming that runtime choice primarily affects performance and energy rather than predictive quality. The findings establish that efficiency is determined primarily by runtime design rather than the WebAssembly execution model itself, and provide practical guidance for runtime selection in performance- and energy-sensitive computing contexts.

Keywords

WASI, WASM, WASM runtimes, WebAssembly, WebAssembly survey, energy measurement, machine learning with WebAssembly, performance evaluation

Publication Date

2026-01-01

Publication Title

IEEE Access

Volume

14

First Page

146359

Last Page

146379

Deposit Date

2026-10-20

Creative Commons License

Creative Commons Attribution 4.0 International License
This work is licensed under a Creative Commons Attribution 4.0 International License.


Share

COinS