The published snap projects are so slow on mobile devices

The snap projects running very slow on mobile devices. this can be related to limited CPU on phones compared to laptops.
All of the code compiles on browser which is a problem for mobile device browsers. The firefox was a bit better than chrome on android.
The Javascript version is great and I highly like to be implemented in python or other programming languages too.