Skip to content
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

[Bug]: 运行hexo命令慢,后面不断的运行hexo命令即正常 #1615

Open
zuanshijia opened this issue Nov 30, 2024 · 1 comment
Open

Comments

@zuanshijia
Copy link

使用的 Butterfly 版本? | What version of Butterfly are you using?

5.2

是否修改過主題文件? | Has the theme files been modified?

是 (Yes)

使用的瀏覽器? | What browser are you using?

Edge

使用的系統? | What operating system are you using?

Windows

依賴插件 | Package dependencies information

問題描述 | Describe the bug

Chinese:我运行hexo clean或者hexo g,慢得出奇,大概半个小时才能出现“INFO validating config",然后大概等个10分钟就执行完成。此后必须频繁使用命令hexo才运行速度正常。就比如说我开机第一次运行”hexo g"要大概60多秒,但是3分钟后我再运行就差不多10秒搞定,然后第二次开机(或者过一段时间大约8分钟)又恢复原状,又慢。但是我是用其他主题没出现类似的问题。
English:I run Hexo Clean or Hexo G, but it's surprisingly slow. It takes about half an hour for "INFO validating config" to appear, and then it takes about 10 minutes to complete. After that, I have to frequently use the command Hexo to run it at normal speed. For example, the first time I run "Hexo G" on startup takes about 60 seconds, but after 3 minutes, I run it again and it takes about 10 seconds to complete. Then, on the second startup (or after a period of time of about 8 minutes), it returns to its original state, which is slow again. But I haven't encountered similar problems with other themes.
help

出現問題的網站 | Website with the issue

https://chengtext.eu.org

@jerryc127
Copy link
Owner

jerryc127 commented Nov 30, 2024

没遇到你这种情况
按道理 主题不负责渲染 是 hexo 负责
主题上只有 script 文件夹内的 js 可能会拖慢生成速度
但是这也是只有文章数目多的情况下才会影响
除非你有上百上千
不然可以忽略不计

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants