https://bugs.kde.org/show_bug.cgi?id=384880

--- Comment #1 from Milian Wolff <m...@milianw.de> ---
Thanks for creating this report so we can track this properly.

Some notes:

a)
- kdev should only watch directories, CMakeLists.txt files and open files for
changes
- the CMakeLists.txt used to be required, now that we use the cmake server it
may not be required anymore, we'll have to check that again.
- so if you say all files are watched then this needs to be fixed - it
shouldn't be the case

b)
- if using QFSWatch shows hotspots in memory allocation and string comparison,
then those should be fixed in QFileSystemWatcher upstream. Writing a separate
benchmark (standalone from kdevelop) for that purpose would help a lot. I
imagine KDirWatch would contain a benchmark, if not, then one should be added
that resembles the workload you are seeing. Similarly, such a benchmark would
be helpful upstream in Qt itself

So I think a) is the actual bug you have uncovered and that needs to be fixed.
b) can then also be done on top of that, to improve the situation even further

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to