On the Runtime and Energy Performance of WebAssembly Is WebAssembly superior to Java']JavaScript yet?

被引:13
作者
De Macedo, Joao [1 ,2 ]
Abreu, Rui [3 ,4 ]
Pereira, Rui [2 ]
Saraiva, Joao [1 ,2 ]
机构
[1] Univ Minho, Braga, Portugal
[2] INESC Tec, HASLab, Porto, Portugal
[3] Univ Porto, Fac Engn, Porto, Portugal
[4] INESC ID, Porto, Portugal
来源
2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021) | 2021年
关键词
Energy Efficiency; WebAssembly; Web Browsers; Green Software; WEB;
D O I
10.1109/ASEW52652.2021.00056
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the early days of the world wide web, browsers were developed to navigate through (static) HTML web page documents. This has changed dramatically, and nowadays web pages are dynamic, expressed by programs written in regular programming languages. As a result, browsers are almost operating systems, having to interpret/compile such programs and execute them within the browser itself. Currently, while JavaScript is the main de facto language to express web pages, it does have various short comings and performance inefficiencies. WebAssembly, a new portable and size/load efficient alternative developed by major IT powerhouses, is seen as the future substitute. As WebAssembly aims to be more performance efficient than JavaScript, we aim to look at this current status and present a preliminary study on the performance of these two, based on their runtime and energy efficiency. Preliminary results show that WebAssembly, while still in its infancy, is starting to already challenge JavaScript, with much more room to grow. Additionally, our benchmarking framework is also made available to allow further research and replication.
引用
收藏
页码:255 / 262
页数:8
相关论文
共 27 条
[1]  
Anand V., 2013, 2013 IEEE INT C COMP
[2]  
[Anonymous], 2011, P ACM INT C COMPANIO, DOI DOI 10.1145/2048147.2048224
[3]  
[Anonymous], 1979, QUASIEXPERIMENTATION
[4]   Towards a Green Ranking for Programming Languages [J].
Couto, Marco ;
Pereira, Rui ;
Ribeiro, Francisco ;
Rua, Rui ;
Saraiva, Joao .
PROCEEDINGS OF THE 21ST BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES (SBLP 2017), 2017,
[5]   Energy Wars - Chrome vs. Firefox [J].
de Macedo, Joao ;
Aloisio, Joao ;
Goncalves, Nelson ;
Pereira, Rui ;
Saraiva, Joao .
2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2020), 2020, :159-165
[6]   Energy-Delay investigation of Remote Inter-Process communication technologies [J].
Georgiou, Stefanos ;
Spinellis, Diomidis .
JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 162
[7]   What Are Your Programming Language's Energy-Delay Implications? [J].
Georgiou, Stefanos ;
Kechagia, Maria ;
Louridas, Panos ;
Spinellis, Diomidis .
2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, :303-313
[8]  
Haas A, 2017, ACM SIGPLAN NOTICES, V52, P185, DOI [10.1145/3140587.3062363, 10.1145/3062341.3062363]
[9]  
Hahnel Marcus, 2012, Performance Evaluation Review, V40, P13
[10]  
Hogg R. V., 2010, PROBABILITY STAT INF