Empowering Web Applications with WebAssembly: Are We There Yet?
WebAssembly is the newest web standard. It features a compact bytecode format, making it fast to be loaded and decoded. While WebAssembly is generally expected to be faster than JavaScript, there have been mixed results in proving which code is faster. Unfortunately, little research has been done in understanding WebAssembly’s performance advantage. In this paper, we investigate how browser engines optimize WebAssembly execution comparing to JavaScript. Specifically, we measure their execution time and memory usage with diverse program inputs. Our results show that (1) when the program input size is small, WebAssembly outperforms JavaScript. However, WebAssembly programs become slower for larger inputs; (2) WebAssembly uses significantly more memory than their JavaScript counterparts. We believe our findings can provide insights for WebAssembly virtual machine developers to identify optimization opportunities. We also report the challenges encountered when compiling the benchmarks to WebAssembly and discuss our solutions.
Tue 16 NovDisplayed time zone: Hobart change
12:00 - 13:00 | LanguagesNIER track / Tool Demonstrations / Research Papers at Koala Chair(s): Jean-Guy Schneider Deakin University | ||
12:00 20mTalk | Context Debloating for Object-Sensitive Pointer Analysis Research Papers | ||
12:20 20mTalk | Dynamic Generation of Python Bindings for HPC Kernels Research Papers Steven Zhu The University of Texas at Austin, Nader Al Awar The University of Texas at Austin, Mattan Erez The University of Texas at Austin, Milos Gligoric University of Texas at Austin | ||
12:40 10mTalk | Empowering Web Applications with WebAssembly: Are We There Yet? NIER track Weihang Wang University at Buffalo, SUNY | ||
12:50 5mTalk | Q&A MAESTRO: Q&A Post Recommendation for Fixing Java Runtime Exceptions Tool Demonstrations Yusuke Kimura Fujitsu Ltd., Takumi Akazaki Fujitsu Limited, Shinji Kikuchi Fujitsu Laboratories Ltd., Sonal Mahajan Fujitsu Research of America, Inc., Mukul Prasad Fujitsu Research of America | ||
12:55 5mTalk | GenTree: Inferring Configuration Interactions using Decision Trees Tool Demonstrations |