Hacker News new | ask | show | jobs
by wdavidw 1558 days 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

1 comments

[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.