cengels/skywriter

Loading/parsing performance

Closed this issue · 2 comments

This issue is a catch-all thread to diagnose and fix all and any problems related to the loading or parsing performance.

One pretty massive problem is strangely enough QTextDocument::setDefaultFont(). On my machine, setting the default font takes around 700 ms each time. The cause is currently unknown, but if it's something Qt-internal there may not be much that can be done to fix it. I will attempt to mitigate the problem though.

I haven't been able to observe any more issues with parsing performance since July, so I'm closing this issue for now. It may be reopened if other performance problems are found.