3 ms·
Here are some examples: https://www.qt.io/qt-examples-for-webassembly https://www.qt.io/qt-examples-for-webassembly ; some of them don't even start on my 32 bit
by Rochus 6y ago
Here are some examples: https://www.qt.io/qt-examples-for-webassembly https://www.qt.io/qt-examples-for-webassembly ; some of them don't even start on my 32 bit machine because more than 2GB RAM would need to be allocated.
EDIT: I'm using Firefox 78.0.2 on Linux i386.
- CyberDildonics 6y agoThese load in about 1 second for me and everything is almost instant and fluid on firefox 80. The firefox process running them uses 284MB of memory.
- Rochus 6y agoOn which OS? Have you watched peak memory use, or is this steady state?
- wenc 6y agoJust tried the pizza shop example on my desktop. Linux x86-64 (i7 quad core, 8GB RAM, Firefox 80.0.1) FF memory usage: blank page = 285MB, peak = 839MB, steady-state = 340MB. Load time: ~6s wall clock time. Tried it with my Windows 10 Desktop too (i7 quad core, 32GB RAM, Firefox 80.0.1). FF memory usage: blank page = 215MB, peak = 1015MB, steady-state = 658MB. Load time: ~3s wall clock time. Once loaded, the UI was very responsive.
- Rochus 6y agoThanks for the measurements. That's much faster indeed than on my laptop and even quite decent (besides the peak memory use). Compared to the C++ native version of similar apps on my Linux i386 and Windows x86 this is about factor 10/20 (Linux/Windows) more RAM in steady state and factor 25/30 (Linux/Windows) in peak. Start time of the C++ apps (not QML) is factor 6/3 (Linux/Windows) slower. Btw. I noticed that on my machine memory use is higher on Chromium and performance even worse than with Firefox. So it seems to depend on browser type/version, and someone in this thread said that there is no support for Safari.