WebAssembly versus JavaScript: Energy and runtime performance
| dc.contributor.author | Macedo, João de | por |
| dc.contributor.author | Abreu, Rui | por |
| dc.contributor.author | Pereira, Rui | por |
| dc.contributor.author | Saraiva, João | por |
| dc.date.accessioned | 2024-03-28T19:51:50Z | |
| dc.date.available | 2024-03-28T19:51:50Z | |
| dc.date.issued | 2022 | |
| dc.date.updated | 2024-03-26T09:01:55Z | |
| dc.description.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. | por |
| dc.description.sponsorship | This work is financed by National Funds through the Portuguese funding agency, FCT -Fundacao para a Ciencia e a Tecnologia within project UIDB/50014/2020. Additionally, this paper acknowledges the support of the Erasmus+ Key Action 2 project No. 2020-1-PT01-KA203-078646: "SusTrainable -Promoting Sustainability as a Fundamental Driver in Software Development Training and Education". | por |
| dc.distribution | international | por |
| dc.identifier.citation | De Macedo, J., Abreu, R., Pereira, R., & Saraiva, J. (2022, June). WebAssembly versus JavaScript: Energy and Runtime Performance. 2022 International Conference on ICT for Sustainability (ICT4S). IEEE. http://doi.org/10.1109/ict4s55073.2022.00014 | por |
| dc.identifier.doi | 10.1109/ICT4S55073.2022.00014 | por |
| dc.identifier.isbn | 9781665482868 | por |
| dc.identifier.uri | https://hdl.handle.net/1822/90291 | |
| dc.language.iso | eng | por |
| dc.peerreviewed | yes | por |
| dc.publisher | IEEE | por |
| dc.relation | info:eu-repo/grantAgreement/FCT/6817 - DCRRNI ID/UIDB%2F50014%2F2020/PT | por |
| dc.relation.publisherversion | https://ieeexplore.ieee.org/document/9830108/ | por |
| dc.rights | openAccess | por |
| dc.subject | Energy Efficiency | por |
| dc.subject | Green Software | por |
| dc.subject | Runtime | por |
| dc.subject | WebAssembly | por |
| dc.subject | Web Browsers | por |
| dc.subject.fos | Engenharia e Tecnologia::Engenharia Eletrotécnica, Eletrónica e Informática | por |
| dc.subject.wos | Science & Technology | |
| dc.title | WebAssembly versus JavaScript: Energy and runtime performance | por |
| dc.type | conferencePaper | por |
| dspace.entity.type | Publication | en |
| oaire.citationEndPage | 34 | por |
| oaire.citationStartPage | 24 | por |
| sdum.bookTitle | 2022 INTERNATIONAL CONFERENCE ON ICT FOR SUSTAINABILITY (ICT4S 2022) | por |
| sdum.export.identifier | 14805 |
Ficheiros
Pacote original
1 - 1 de 1