-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deployments are slow #2759
Comments
The situation is somewhat similar, but my blog seems to be somewhat faster. The situation is similar. My blog 230+ article , which takes 6 minutes each deployment. It may be different depending on the your plugin and CPU. Also , I think the reason why the CPU occupancy rate is high is because all articles are generated at the same time. If my imagination is correct, hexo may need to be fixed. my environment
|
When deployed, opening other applications will take longer. So, I have to wait until the deployment is complete before I do anything else. My CPU i5-4300U 1.9GHz |
I don't have that many articles. Is that okay to share your source codes? |
@NoahDragon My blog: http://me.lizhooh.com/ |
@Lizhooh Not really. I just wonder if I could have your all the source files under your hexo folder to investigate the issue. Right now, we know there is a performance issue in hexo, but don't have enough data to test with. Because the performance may be caused by different aspects, some caused by high volume of posts, some are incorrect implementation of the theme. Need to have the source code to take a look. |
Can I put my source codes through the mail to you, but you have to promise that it's for testing only. |
@Lizhooh thanks, you have my words, I will only use it for testing. You could send it to [email protected] . |
@NoahDragon Already sent |
Duplicate #2579. |
@Lizhooh FYI. I could reproduce the issue, but don't have time to dig into. |
@NoahDragon After I tried to remove hexo-wordcount, the build became faster. |
@Lizhooh Thanks for the info. I take a look at the code on hexo-wordcount, it does cause the performance issue, and it doesn't provide the trace message. I will close the issue for now. Please feel free to reopen it. |
The issue is caused by the html-to-text packages, it converts every html files into plain text, then count words based upon that. I have created an issue on hexo-wordcount, hope they could come up some solutions. willin/hexo-wordcount#10 |
get it. |
hexo-symbols-count-time. No deps. Welcome. |
My blog 150+ article, which takes more than 10 minutes each deployment.
CPU has a high occupancy rate at deployment.
Are you the same?
commands that are used:
hexo clean && hexo d -g
The text was updated successfully, but these errors were encountered: