4 ms·
WSL2 can’t be scanned by my work’s antivirus so node projects build and run at full speed. (2 minutes for starting the project outside vs 25 seconds inside)
by easton 4y ago
WSL2 can’t be scanned by my work’s antivirus so node projects build and run at full speed.
(2 minutes for starting the project outside vs 25 seconds inside)
- clintonwoo 4y agoIf you're talking about running a node project in WSL2 vs in an emulator or VM etc it might just be that most of the speedup comes from Linux and WSL2 itself, as it's quite fast. What you've mentioned isn't a controlled experiment for testing performance
- ISV_Damocles 4y agoWSL2 is a VM, though. It was only WSL1 that tried to do a kernel-level shim for the Linux userspace layer.
- redox99 4y agoI assume he means WSL2 vs node.exe
- neurostimulant 4y agoAntivirus on Windows are notorious at inserting itself as filesystem filters that triggered on every file access, which adds overhead into every read and write action. Combined with node_modules containing gazillion files, I'm surprised his project only loads in 2 minutes :)