ACM Transactions on Modeling and Performance Evaluation of Computing Systems, volume 9, issue 2, pages 1-24

VM Matters: A Comparison of WASM VMs and EVMs in the Performance of Blockchain Smart Contracts

Yixuan Zhang 1
Shuyu Zheng 2
Haoyu Wang 3
Lei Wu 4
Gang Huang 5
Xuanzhe Liu 1
1
 
Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education and School of Computer Science, Peking University, Beijing, China
5
 
School of Computer Science, Peking University and National Key Laboratory of Data Space Technology and System, Beijing, China
Publication typeJournal Article
Publication date2024-03-18
scimago Q2
SJR0.525
CiteScore2.1
Impact factor0.7
ISSN23763639, 23763647
Computer Science (miscellaneous)
Hardware and Architecture
Information Systems
Computer Networks and Communications
Software
Safety, Risk, Reliability and Quality
Media Technology
Abstract

Beyond an emerging popular web applications runtime supported in almost all commodity browsers, WebAssembly (WASM) is further regarded to be the next-generation execution environment for blockchain-based applications. Indeed, many popular blockchain platforms such as EOSIO and NEAR have adopted WASM-based execution engines. Most recently, WASM has been favored by Ethereum, the largest smart contract platform, to replace the state-of-the-art EVM. However, whether and how well current WASM outperforms EVM on blockchain clients is still unknown. This article conducts the first measurement study to understand the performance on WASM VMs and EVM for executing smart contracts for blockchain-based applications. To our surprise, the current WASM VM does not provide expected satisfactory performance. The overhead introduced by WASM is really non-trivial. Our results shed the light on challenges when deploying WASM in practice, and provide insightful implications for improvement space.

Found 
Found 

Top-30

Journals

1
1

Publishers

1
1
  • We do not take into account publications without a DOI.
  • Statistics recalculated only for publications connected to researchers, organizations and labs registered on the platform.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Share
Cite this
GOST | RIS | BibTex | MLA
Found error?