4 ms·
Running MacOS on silicon, and after enabling VirtioFS as documented, I see a small but not massive improvement. Launching a command with `npx mocha test/index.j
by wdavidw 5y ago
Running MacOS on silicon, and after enabling VirtioFS as documented, I see a small but not massive improvement. Launching a command with `npx mocha test/index.js` with an empty test only requiring a module (with a lot of dependencies inside it) leads to:
- On MacOS host: around 2s
- Inside Docker container with VirtioFS enabled: around 20s
- Inside Docker container without VirtioFS enabled: around 25s
- wdavidw 5y ago[correction] The speed measurement of 20s is for a X86 Docker image with the platform field forced to amd64. For a native silicon image, the speed improvement is impressive, I am down to 4s.