Evaluating Machine LearningWorkloads inWebAssembly: A Comparison of Browser-Based Runtimes Using Python

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.

Institutions

Publication Details

Journal
Arrow - TU Dublin (Technological University Dublin)
Published
2025-09-08
DOI
https://doi.org/10.21427/f7y7-6554
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Machine LearningWorkloads inWebAssembly: A Comparison of Browser-Based Runtimes Using Python

Arrow - TU Dublin (Technological University Dublin)
Geochemistry and Geologic Mapping
article

Evaluating Machine LearningWorkloads inWebAssembly: A Comparison of Browser-Based Runtimes Using Python

article en

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.

Arrow - TU Dublin (Technological University Dublin)
Technological University Dublin (IE)
Industry, innovation and infrastructure
Openalex Percentile: Top 48%
Geochemistry and Geologic Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Evaluating Machine LearningWorkloads inWebAssembly: A Comparison of Browser-Based Runtimes Using Python · Arrow - TU Dublin (Technological University Dublin) (2025) | TGRS Research Map | TGRS