News for hackers. Stuff that matters.
Re:Docker on Mac is slow. Here's the fix by navels on Thursday December 22, 2022 @10:57PM (#34102204)
Might be worth digging into why your rspec startup times are so slow. I recently dockerized our dev setup with separate containers for our rails backend, mysql, localstack, and rabbitmq. With Docker Desktop configured to use VirtioFS and the native virtualization framework (which is now I think the default), speeds are great. I've left my non-M1 coworkers in the dust.
Re:Docker on Mac is slow. Here's the fix by jscheel on Friday December 23, 2022 @09:42AM (#34106314)
It's not just rspec, any rails boot is slow. We have a pretty large project with a significant number of files and a significant number of gems, so the initial boot that loads all the constants etc is what does it.