Skip to content

Node:getChildren()性能问题 #2074

Answered by qq461787436
qq461787436 asked this question in Q&A
Discussion options

You must be logged in to vote

以前的项目修改了GC模式,现在项目迁移,没发现这个还能导致性能问题
在启动lua的时候设置
collectgarbage("setpause", 100)
collectgarbage("setstepmul", 5000)
去掉,问题一下子解决了
非常感谢

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by halx99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #2068 on August 05, 2024 10:22.