Hello.
Also poor internet connection can affect the performance. v86 will load binary files on demand. In the folder
images/debian-9p-rootfs-flat, you can see all the files in the rootfs of the docker used in the building process are extracted and compressed with name hashed. v86 will download the corresponding files when you launch a command that uses them. You can open the developer console and try typing factor(400), you will see it downloads some bin.zst files.
Update:
I managed to compile sage 10.8 to i386 target. Now
SageMath-in-Browser is using Sage 10.8. I move the built artifact to gh-pages branch and only stores sources in the main branch so that cloning this project will be faster.
I compile sage using the classical build method (see
build script), this seems to be an editable-install. I cannot remove the cloned source folder even after 'make install', otherwise some links are broken and sage will not launch. How to do non-editable install using the classical build method? That can reduce the size of the rootfs.
I have not tried compiling sage using meson and conda. I guess that would be more difficult for i386 target since many packages in conda-forge do not support i386 architecture.
You can even type 'exit' and go to the directory /root/build/sage (where I cloned sage to) to run doctest: