I use neovim 0.7, exactly the same config files in both OS. it’ll take 60ms to startup in linux but 180ms in macos m1 pro.
below is the part of --startuptime output , the difference lines:
this is mac:
103.941 087.375 087.375: sourcing ~/.config/nvim/init.lua
183.011 044.137: VimEnter autocommands
this is linux:
030.694 026.166 026.166: sourcing ~/.config/nvim/init.lua
059.600 010.673: VimEnter autocommands
I don’t know why, mac hardware is much better than linux, and no harddisk encrypt.