Revision 655469

Go back to digest for 22nd April 2007

Optimization in Development Tools

Paulo Moura Guedes committed changes in /trunk/KDE/kdewebdev/klinkstatus/src:

Another big deep optimization: eliminate the "Adding Level" step.
Before this change, everytime a level was checked, another level had to be created, i.e., by building the children of every link of the last checked level. This could take a *long* time.

Now, everytime a link is checked, a new ThreadWeaver job is created to build (in the background) the childs of that link, which will be a part of the next level.

Also drop ThreadWeaverGui because now there can be several Weaver instances and the maximum number of threads was augmented, so the result was a bad looking grid :)

File Changes

Deleted 2 files
  • /trunk/KDE/kdewebdev/klinkstatus/src/ui
  •   /WeaverThreadGrid.cpp
  •   /WeaverThreadGrid.h
Modified 11 files
  • /trunk/KDE/kdewebdev/klinkstatus/src
  •   /actionmanager.cpp
  •   /CMakeLists.txt
  •   /klinkstatus_part.cpp
  •   /engine/searchmanager.cpp
  •   /engine/searchmanager.h
  •   /engine/searchmanager_impl.h
  •   /parser/url.cpp
  •   /ui/sessionwidget.cpp
  •   /ui/sessionwidget.h
  •   /ui/tabwidgetsession.cpp
  •   /ui/tabwidgetsession.h
13 files changed in total