[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 295361] Kdevelop freezes while linking
From:       Milian Wolff <mail () milianw ! de>
Date:       2012-03-30 0:25:18
Message-ID: bug-295361-40295-S4YReABTLn () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Milian Wolff <mail@milianw.de> ---
Git commit 12a0e9327119533a07dbbe1d6af833acd4de0ad4 by Milian Wolff.
Committed on 29/03/2012 at 22:28.
Pushed by mwolff into branch '4.3'.

add unit test to benchmark makeoutputmodel

M  +2    -1    projectbuilders/makebuilder/CMakeLists.txt
M  +9    -13   projectbuilders/makebuilder/makeoutputmodel.cpp
M  +11   -1    projectbuilders/makebuilder/makeoutputmodel.h
A  +4    -0    projectbuilders/makebuilder/tests/CMakeLists.txt
A  +50   -0    projectbuilders/makebuilder/tests/test_makeoutputmodel.cpp    
[License: LGPL (v2+)]
A  +37   -0    projectbuilders/makebuilder/tests/test_makeoutputmodel.h    
[License: LGPL (v2+)]

http://commits.kde.org/kdevelop/12a0e9327119533a07dbbe1d6af833acd4de0ad4

--- Comment #4 from Milian Wolff <mail@milianw.de> ---
Git commit 0a916158c33a5bd2d79c9a4cfaf2521850852af4 by Milian Wolff.
Committed on 30/03/2012 at 02:19.
Pushed by mwolff into branch '4.3'.

prevent UI-lockup when adding lots of stdout lines to make output model

we now add batches of 50 lines and then return to the event loop,
continuing with the rest of the lines via a QueuedConnection

the unit test shows that (on my machine) the event loop is roughly
returning every 80ms. the test ensures that this time does not cross
the threshold of 200ms which is imo too much.

on a further note, it is interesting to see that optimizing the actual
adding of lines is not easily possible, the tons of regexp matching
is simply required... the only possible way would be to make the error
patterns configurable such that e.g. those for unused compilers or
unused toolchains are not queried.

M  +19   -3    projectbuilders/makebuilder/makeoutputmodel.cpp
M  +6    -0    projectbuilders/makebuilder/makeoutputmodel.h
M  +22   -0    projectbuilders/makebuilder/tests/test_makeoutputmodel.cpp

http://commits.kde.org/kdevelop/0a916158c33a5bd2d79c9a4cfaf2521850852af4

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic