Author ORCID Identifier
0000-0001-8988-3388
Document Type
Article
Disciplines
Statistics
Abstract
WebAssembly (WASM) has emerged as a transformative technology, enabling the deployment of high-performance applications across diverse platforms, including web environments traditionally unsuited for computationally intensive tasks. Despite extensive research on its general performance characteristics, the execution of machine learning (ML) workloads in browser-based Python runtimes is still in an early exploratory phase. This study presents a systematic evaluation of three ML models, K-Means, Logistic Regression, and Naïve Bayes—executed in-browser using two Pythonbased WASM runtimes: Pyodide and PyScript. The findings highlight the practicality of deploying ML workloads in browser-based environments using WASM and provide insights into the trade-offs between runtime efficiency and model performance.
DOI
https://doi.org/10.21427/f7y7-6554
Recommended Citation
Khan, Sallar and Malik, Tania, "Evaluating Machine LearningWorkloads inWebAssembly: A Comparison of Browser-Based Runtimes Using Python" (2025). SAML-25 Workshop on Statistical and Machine Learning. 5.
https://arrow.tudublin.ie/saml/5
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-Share Alike 4.0 International License.
Publication Details
Statistical and Machine Learning: Methods and Applications (SAML-25) on June 5th and 6th, 2025 at TU Dublin, Ireland.
doi:10.21427/f7y7-6554