https://bugs.kde.org/show_bug.cgi?id=369374
Wei-Cheng Pan changed:
What|Removed |Added
Attachment #101341|0 |1
is obsolete|
https://bugs.kde.org/show_bug.cgi?id=369374
--- Comment #4 from Wei-Cheng Pan ---
I commented out this line:
m_parser->updateProgressBar();
in
KDevelop::BackgroundParserPrivate::parseDocumentsInternal
and the GUI thread becomes idle and works normally.
Maybe we can decrease the update frequency
https://bugs.kde.org/show_bug.cgi?id=369374
--- Comment #6 from Wei-Cheng Pan ---
Created attachment 101637
--> https://bugs.kde.org/attachment.cgi?id=101637&action=edit
another hotspot
This report was measured after I commented out the line I mentioned before.
Looks like there is another fun
https://bugs.kde.org/show_bug.cgi?id=369374
--- Comment #7 from Wei-Cheng Pan ---
It's KDevelop::BackgroundParser::parseComplete emitting the signal.
We'll need to add a timer to update the progress bar, instead of notify the
main thread in every single step.
--
You are receiving this mail bec
https://bugs.kde.org/show_bug.cgi?id=369374
Bug ID: 369374
Summary: Background parser slows down the GUI thread for large
projects
Product: kdevelop
Version: 5.0.1
Platform: Debian unstable
OS: Linux
https://bugs.kde.org/show_bug.cgi?id=369374
--- Comment #2 from Wei-Cheng Pan ---
Created attachment 101341
--> https://bugs.kde.org/attachment.cgi?id=101341&action=edit
perf result after it start parsing C++ files
--
You are receiving this mail because:
You are watching all bug changes.