How to speed up the hexo command in WSL? #5493
-
I found using the hexo command (no mather |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It may be improved by either or both of the following. 1. FilesystemAre you placing your Hexo project in a directory that starts with 2. MemoryYou can allocate more memory to WSL using the See: https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file |
Beta Was this translation helpful? Give feedback.
@Daucloud
It may be improved by either or both of the following.
1. Filesystem
Are you placing your Hexo project in a directory that starts with
\\wsl$\
(or~
) ? If you are placing it in a directory that starts with/mnt
, the performance will degrade because files will be across different file systems.See: https://learn.microsoft.com/en-us/windows/wsl/filesystems#file-storage-and-performance-across-file-systems
2. Memory
You can allocate more memory to WSL using the
.wslconf
file.See: https://learn.microsoft.com/en-us/windows/wsl/wsl-config#example-wslconf-file