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

12/02/2020
by   Shuyu Zheng, et al.
0

WebAssemly is an emerging runtime for Web applications and has been supported in almost all browsers. Recently, WebAssembly is further regarded to be a the next-generation environment for blockchain applications, and has been adopted by Ethereum, namely eWASM, to replace the state-of-the-art EVM. However, whether and how well current eWASM outperforms EVM on blockchain clients is still unknown. This paper conducts the first measurement study, to measure the performance on WASM VM and EVM for executing smart contracts on blockchain. To our surprise, the current WASM VM does not perform in expected performance. The overhead introduced by WASM is really non-trivial. Our results highlight the challenges when deploying WASM in practice, and provide insightful implications for improvement space.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/25/2020

A formal model of Algorand smart contracts

We develop a formal model of Algorand stateless smart contracts (statele...
research
04/13/2020

Smart Contracts on the Move

Blockchain systems have received much attention and promise to revolutio...
research
01/06/2021

sGUARD: Towards Fixing Vulnerable Smart Contracts Automatically

Smart contracts are distributed, self-enforcing programs executing on to...
research
03/01/2022

Mining Domain Models in Ethereum DApps using Code Cloning

This research study explores the use of near-miss clone detection to sup...
research
09/03/2019

A First Look at Blockchain-based Decentralized Applications

With the increasing popularity of blockchain technologies in recent year...
research
05/12/2020

Blockchain Superoptimizer

In the blockchain-based, distributed computing platform Ethereum, progra...
research
07/23/2023

Implementing Smart Contracts: The case of NFT-rental with pay-per-like

Non-fungible tokens(NFTs) are on the rise. They can represent artworks e...

Please sign up or login with your details

Forgot password? Click here to reset