D7745: KDevelop (full) project parsing: defer until all projects have been loaded.

Sven Brauch noreply at phabricator.kde.org
Sat Sep 16 10:48:43 UTC 2017


brauch added a comment.


  Ok, here's the two things that are broken and need fixing:
  
  - FileManagerListJob has a queue of directories to list. It processes those sequentially, and after listing each, it goes through the event loop (async slot invocation) to list the next. This takes aaaaaages for lots of directories to list, which are mostly spent waiting and not in actual CPU time. When doing this synchronously as a test, it takes maybe half a second instead of 30 seconds.
  - The reason this is noticeable now is that for some reason, it lists all the build dirs. This is probably a bug in the new cmake importer, they should not be listed.
  
  Rene, maybe you want to look into this? Fixing the second point would solve the problem, but fixing the first one somehow (just making it sync isn't a solution, but there is certainly a better way) would also be very nice since it will further speed up the import.
  
  Greetings!

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D7745

To: rjvbb, #kdevelop
Cc: arrowdodger, brauch, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170916/cca6636e/attachment.html>


More information about the KDevelop-devel mailing list