4 ms·
they're running a mac probably it takes forever to rm -rf a directory on macs vs linux.
by jatone 7y ago
they're running a mac probably it takes forever to rm -rf a directory on macs vs linux.
- nhooyr 7y agoHave not had this experience. I find Macs to be faster in fact as the SSDs are normally much faster than most linux machines.
- byroot 7y agoThis isn't about SSD speed. Reading large file is comparable, but there is a very large overhead on the initial file access because of sandboxing. Opening (or deleting) an empty file is about 2.5x slower on OSX than on a Linux running in VirtualBox on that same Mac: https://discuss.rubyonrails.org/t/why-is-rails-boot-so-slow-on-macos/74021/19 https://discuss.rubyonrails.org/t/why-is-rails-boot-so-slow-...
- redthrowaway 7y agoYou called it. I didn't know OSX was bad for that though
- tracker1 7y agoMe either... Was using a hackintosh and rmbp until about 2 years ago, stopped using mac at work, and in october switched to a new desktop and jumped to linux. Been back in windows + wsl2 for a couple months now. Back using mac, and most of my windows until a couple months ago, was still mostly linux via VM. Guess I never realized how slow macos's file system was for deleting files. edit: Also, for those curious, WSL2 files in Windows is slow, and windows files in wsl are slow... each are fast in their own sandbox.