Skip to content

How to speed up the hexo command in WSL? #5493

Discussion options

You must be logged in to vote

@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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Daucloud
Comment options

Answer selected by Daucloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants