

I have not done extensive tests on this but by default every service gets the To have helped: Time: 6.16 minutes, Memory: 8.00 MB To have a measurable impact when PHPUnit wasn’t looking in /user but it seems This should help with sluggishness and system load overall. I have made a fairly trivial change to the CLI you can use to disable this: Much happier not having my SSH keys in there. I’m not a fan of the fact that Lando mounts my home directory into theĬontainer, apart from performance, that just doesn’t belong there and I’m Not practicalįor everyday use but showing that with that bottleneck removed, the i9 is now In an exclude and reran the test, it came in at 3.76 minutes. Just to see what would happen I added the entire repository to the container Multiple node_modules folders and that 221k of those files could be excluded It turns out that this particular project consisted of 238k files due to Something in there, or you execute the command locally as well as in theĬontainer for consistency. Note that changes in these folders require a rebuild every time you change docroot/themes/custom/your_theme/node_modules Others don’t have this bottleneck you can put that into. Longer be copied to and from the container. We can tell Lando to sync certain directories only once, they will then no Of tests should iron out any variations of other things on the host influencingĮxecuting that on a mediocre i7 running Linux gives us a baseline number withoutĪny filesystem overhead: Time: 5.11 minutes, Memory: 8.00 MBīeefy i9 with lots of RAM but macOS: Time: 18.71 minutes, Memory: 8.00 MB Establishing a baselineįirst, we need a fairly stable scenario, I choose a module in a project with aĭecent amount of Drupal kernel tests (70 tests, 1685 assertions). To know if that actually benefits us, let’s measure. Recent versions of Lando have introduced some optimizations we can make use of Gotten better in the past but it’s still the platform underperforming the most. Docker for Mac is notoriously slow, especially in terms of file syncing.
