• Home
  • Search
  • WebAssembly versus JavaScript: Energy and Runtime Performance
  • Open Access IconOpen Access
  • Cite Icon23
  • https://doi.org/10.1109/ict4s55073.2022.00014Copy DOI Icon

WebAssembly versus JavaScript: Energy and Runtime Performance

  • Jun 1, 2022
  • Joao De Macedo +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The worldwide Web has dramatically evolved in recent years. Web pages are dynamic, expressed by programs written in common programming languages given rise to sophisticated Web applications. Thus, Web browsers are almost operating systems, having to interpret/compile such programs and execute them. Although JavaScript is widely used to express dynamic Web pages, it has several shortcomings and performance inefficiencies. To overcome such limitations, major IT powerhouses are developing a new portable and size/load efficient language: WebAssembly.In this paper, we conduct the first systematic study on the energy and run-time performance of WebAssembly and JavaScript on the Web. We used micro-benchmarks and also real applications in order to have more realistic results. Preliminary results show that WebAssembly, while still in its infancy, is starting to already outperform JavaScript, with much more room to grow. A statistical analysis indicates that WebAssembly produces significant performance differences compared to JavaScript. However, these differences differ between micro-benchmarks and real-world benchmarks. Our results also show that WebAssembly improved energy efficiency by 30%, on average, and showed how different WebAssembly behaviour is among three popular Web Browsers: Google Chrome, Microsoft Edge, and Mozilla Firefox. Our findings indicate that WebAssembly is faster than JavaScript and even more energy-efficient. Additionally, our benchmarking framework is also available to allow further research and replication.

Similar Papers
  • Book Chapter

Updating a web page

  • Dec 18, 2020
  • Neil Cameron
  • Book Chapter
  • Citations4

Chapter 31 - Internet History (Web and Browser Caching)

  • Aug 26, 2011
  • Digital Forensics for Legal Professionals
  • Larry E Daniel +1
  • Conference Article
  • Citations2

Vulnerability in the Information Age

  • Nov 18, 2014
  • Brunna Albuquerque +2
  • Book Chapter
  • Citations1

Is Web Browsing Secure?

  • Jan 01, 2022
  • Moisés Ramires +4
  • Dataset
  • Citations1

Preventing Web Browser From Cyber Attack

  • Jan 01, 2011
  • PsycEXTRA Dataset
  • Nor Fatimah Awang +2
  • Conference Article

Malware.inc: analyzing the security of popular web/mobile frameworks

  • Jan 01, 2012
  • Qatar Foundation Annual Research Forum Volume 2012 Issue 1
  • Talal Al Haddad +8
  • Conference Article
  • Citations5

Hardware dependency and performance of JavaScript engines used in popular browsers

  • Nov 01, 2015
  • Jayakrishnan Radhakrishnan
  • PDF
  • Conference Article
  • Citations7

Bootstrapping Recommendations at Chrome Web Store

  • Aug 14, 2021
  • Zhen Qin +8
  • Dissertation

Vulnerability detection on web browsers

  • Jan 01, 2019
  • Haiwan Yu
  • Research Article
  • Citations16

A Novel Approach to HTML Page Creation Using Neural Network

  • Jan 01, 2015
  • Procedia Computer Science
  • Aparna Halbe +1
  • Research Article
  • Citations3

WWW.Cell Biology Education: Using the World Wide Web To Develop a New Teaching Topic

  • Jun 01, 2005
  • Cell Biology Education
  • Robert V Blystone +1
  • Research Article
  • Citations5

Chracer: Memory analysis of Chromium-based browsers

  • Oct 01, 2023
  • Forensic Science International: Digital Investigation
  • Geunyeong Choi +3
  • PDF
  • Research Article
  • Citations3

Optimal heap limits for reducing browser memory use

  • Oct 31, 2022
  • Proceedings of the ACM on Programming Languages
  • Marisa Kirisame +2
  • Research Article
  • Citations21

Examining the effectiveness of phishing filters against DNS based phishing attacks

  • Jul 13, 2015
  • Information & Computer Security
  • Swapan Purkait
  • Research Article
  • Citations48

Webs of Meaning: Computer and Internet Resources for Educational Research and Instruction

  • Apr 01, 1998
  • Educational Researcher
  • David M Fetterman
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.