Open KusakabeShi opened 1 month ago
This is genuinely a smart idea.
This was looked into before and I think it's just too much work to integrate. If someone volunteers to make a fork, we will maintain it when it works. This was how UTM SE came into being.
it‘s a great idea
As I know, JSCore does not allow JIT on iOS, iPadOS still now. https://forums.developer.apple.com/forums/thread/746159
JIT is not allowed in iOS, but the javascript engine itself is JIT enabled.
I found a project called jslinux, which is basically run qemu in browser engine, which enables JIT technology I think.
And I write a simple python benchmark, test it on jslinux and UTM SE
This is jslinux running in Google Chrome in iOS 17:![image](https://github.com/user-attachments/assets/2ac3d08f-3239-4536-92eb-9e9c4546d3e5)
This is UTM SE downloaded from App store:![image](https://github.com/user-attachments/assets/7384aeda-4416-4dee-8078-f6c9b0819e86)
The jslinux(32s) is faster than UTM SE(62s).
Although the cpu architecture is different(risc-v/aarch64), so that the result is not direct comparable.
But I'm curious do we have the possibility to speedup UTM SE by running qumu in the WKWebView in iOS?
The script: