Please use this identifier to cite or link to this item:
https://hdl.handle.net/10356/184036
Title: | Benchmarking WebAssembly multithreading: performance, scalability, and browser-specific challenges | Authors: | Nepal, Aaradh | Keywords: | Computer and Information Science | Issue Date: | 2025 | Publisher: | Nanyang Technological University | Source: | Nepal, A. (2025). Benchmarking WebAssembly multithreading: performance, scalability, and browser-specific challenges. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/184036 | Project: | CCDS24-0667 | Abstract: | WebAssembly introduces high-performance execution for web applications, but its concurrency model relies on JavaScript Web Workers rather than native threading, leading to unique performance characteristics. This study benchmarks WebAssembly’s multithreading capabilities using OpenCV.js across Chromium, Firefox, and Node.js, analyzing execution time, scalability, and platform-specific behavior. Results show that WebAssembly threading can improve performance for parallel workloads but exhibits undesirable characteristics due to the asynchronous nature of Web Workers, which can affect efficiency in certain scenarios. Varying the size of the pre-spawned worker pool demonstrates that pre-spawning workers reduces delays. However, maintaining a worker pool may not always be desirable, and a large pool can lead to resource overcommitment, thereby affecting efficiency. Additionally, differences in browser implementations result in distinct scalability trends, with Firefox exhibiting better multi-threaded scaling than Chromium in certain cases. While WebAssembly enables multithreading, its reliance on browser-specific worker management introduces inconsistencies that limit performance predictability. These findings highlight the need for further optimization and standardization in WebAssembly’s concurrency model to improve cross-platform scalability and efficiency in high-performance web applications. | URI: | https://hdl.handle.net/10356/184036 | Schools: | College of Computing and Data Science | Fulltext Permission: | restricted | Fulltext Availability: | With Fulltext |
Appears in Collections: | CCDS Student Reports (FYP/IA/PA/PI) |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Nepal_Aaradh_FYP_Final_Report.pdf Restricted Access | 1.24 MB | Adobe PDF | View/Open |
Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.