-
-
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
Deployment is taking too much time #5456
Comments
@stevenjoezhang We have around 600+ articles and yes every article has images as well. |
@stevenjoezhang Can we expect the fix from the Hexo ASAP as most of the users are struggling with this issue? |
Did you encounter this problem after upgrading your Hexo version? As far as I know, slowdowns in generation time are not common, so I can't pinpoint the exact cause of this issue, nor do we know how to optimize it. npm i -g 0x
0x node_modules/.bin/hexo g This command will generate an HTML file (flamegraph), and we can use this information to identify where the performance bottleneck is. |
@Atif-Sheikh Of course, these times will be influenced by machine specs, the theme you're using, and the plugins, but there's no doubt it speeds up the process. There are no official Hexo plugins that use In fact, I've been deleting |
@stevenjoezhang Here is the |
@Atif-Sheikh I found that the |
Additionally, the |
@stevenjoezhang Thanks for spending time on this issue, I'll try the changes you suggested and will get back to you. |
Check List
hexo version
to check)Expected behavior
It should take less than 10 minutes
Actual behavior
Takes 40+ minutes for deployment and Blog generation.
How to reproduce?
hexo g
Is the problem still there under
Safe mode
?Yes
Your Node.js & npm version
Your Hexo and Plugin version
No response
Your
package.json
No response
Your site's
_config.yml
(Optional)No response
Others
No response
The text was updated successfully, but these errors were encountered: