We assembled a widget from 3D Slicer in the browser

We implemented widget rendering using MRML and compiled the MRML source code as a static library for our WASM project. However, the main drawback is that this tool works quite slowly in WASM, and we have no idea why. We would appreciate any guidance on how to investigate this issue. More details can be found at Slowly rendering widget from 3D Slicer in wasm. The 3D Slicer code was slightly modified in the MRML area (some methods were made public). If interested, I can provide more details about these changes