mwolff (Milian Wolff)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Apr 16 2015, 7:53 PM (166 w, 2 d)
Availability
Available

Recent Activity

Thu, Jun 21

mwolff requested changes to D13613: RFC: Fix libclang default include paths on FreeBSD..

I also believe that this is the wrong way for fixing this.

Thu, Jun 21, 3:59 PM · KDevelop

Thu, Jun 14

mwolff accepted D13537: Fix definesandincludes test..

thanks for fixing the tests! much appreciated

Thu, Jun 14, 2:12 PM · KDevelop

Wed, Jun 13

mwolff accepted D13517: Fix QuickOpen with Qt 5.11 (bug 395039).

no clue, I wouldn't be surprised by bugs/regressions in Qt - I've seen a lot of breakage in item/view code recently

Wed, Jun 13, 3:00 PM · Kate
mwolff accepted D13515: Remove KNS::Engine d-pointer hack.

this is binary compatible from what I can see

Wed, Jun 13, 2:08 PM · Frameworks

Tue, Jun 12

mwolff accepted D13420: Add support for the object typehint..

lgtm too - thanks Heinz

Tue, Jun 12, 8:49 PM · KDevelop
mwolff accepted D13313: Fix using reserved type names in identifiers..

lgtm, thanks!

Tue, Jun 12, 8:48 PM · KDevelop
mwolff added a comment to D13453: Fix build on platforms where sizeof(int) == sizeof(long).

Isn't this fixed in master and 1.1 branch (after the 1.1 release) already?
76fd2e84ba133e96d2cfdf90cb715e66e923eb8f and 49577e019ea791ee63962cdfe7e9c0c5b5c6ea4b ?

Tue, Jun 12, 8:28 PM

Tue, May 29

mwolff committed R45:b48befecc15c: Fix another compile error on 32bit (authored by mwolff).
Fix another compile error on 32bit
Tue, May 29, 9:11 AM
mwolff accepted D12743: Unit tests fixes.

ouch, thanks a lot for the investigation. This is similar to the QStringBuilder crashes one can get... Can you simplify the line based on my suggestion? then it's a clear +2 from me, please also include the analysis and valgrind output in your commit message.

Tue, May 29, 9:09 AM
mwolff committed R45:986aed02da77: Merge remote-tracking branch 'origin/1.1' (authored by mwolff).
Merge remote-tracking branch 'origin/1.1'
Tue, May 29, 8:47 AM
mwolff committed R45:c456f6a1575f: Fix compile warnings about format type mismatch on 32bit (authored by mwolff).
Fix compile warnings about format type mismatch on 32bit
Tue, May 29, 8:47 AM
mwolff committed R45:49577e019ea7: Fix another compile error on 32bit (authored by mwolff).
Fix another compile error on 32bit
Tue, May 29, 8:42 AM

May 17 2018

mwolff closed T1841: heaptrack: support debuglink and UUID for split debug info as Resolved.

fixed by using an updated libbacktrace

May 17 2018, 8:47 PM · Performance Tooling, Heaptrack
mwolff committed R45:eaca9e15ec4c: Merge branch '1.1' (authored by mwolff).
Merge branch '1.1'
May 17 2018, 11:33 AM
mwolff committed R45:76fd2e84ba13: Fix compile on 32bit (authored by mwolff).
Fix compile on 32bit
May 17 2018, 11:33 AM

May 16 2018

mwolff committed R45:81f23394bc02: Silence compiler warnings (authored by mwolff).
Silence compiler warnings
May 16 2018, 12:31 PM
mwolff committed R45:b1deb436f2ec: Fix clang compiler warning (authored by mwolff).
Fix clang compiler warning
May 16 2018, 12:31 PM
mwolff committed R45:db70b1ea2fd8: Use "char" instead of "char *" for dummy calloc buffer elements (authored by mwolff).
Use "char" instead of "char *" for dummy calloc buffer elements
May 16 2018, 12:31 PM
mwolff committed R45:c852afd92601: silence GCC warning: ignoring attributes on template argument (authored by mwolff).
silence GCC warning: ignoring attributes on template argument
May 16 2018, 12:31 PM
mwolff committed R45:e89290ca0607: fix gcc warning: catching polymorphic type 'class std::system_error' by value… (authored by mwolff).
fix gcc warning: catching polymorphic type 'class std::system_error' by value…
May 16 2018, 12:31 PM
mwolff committed R45:6a565f9aa4f4: Fix clang warning: lambda capture 'this' is not used [-Wunused-lambda-capture] (authored by mwolff).
Fix clang warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
May 16 2018, 12:31 PM
mwolff committed R45:45a33190752a: Merge branch '1.1' (authored by mwolff).
Merge branch '1.1'
May 16 2018, 7:33 AM

May 8 2018

mwolff added a comment to D12756: [KDateTable] Use more appropriate and readable text colors for weekends and holidays.

Let's try to fix the bug for real, instead of implementing half-baked workarounds that only work for the default configurations.

May 8 2018, 7:14 PM · Frameworks
mwolff added a comment to D12756: [KDateTable] Use more appropriate and readable text colors for weekends and holidays.

Maybe instead use the HighlightText QPalette color? Hardcoding red may work for the two styles you present, but I could just set the view background to red and the text becomes unusable.

May 8 2018, 6:34 PM · Frameworks

May 7 2018

mwolff requested changes to D12743: Unit tests fixes.
May 7 2018, 7:17 PM
mwolff added a comment to D12746: KDevelop: alternative monolithic storage options for TopDUContexts (WIP/PoC).

so what's your plan with this now? Do you actually want to move this forward? Then we need to find a good solution that works everywhere. The numbers aren't that useful on their own, as there the current implementation which is trivial and has no external dependencies is apparently still the best by a margin...

May 7 2018, 7:15 PM · KDevelop
mwolff added a comment to D12694: Properly fix the native messaging host file.

@bshah ping? will you push this?

May 7 2018, 6:56 PM · Plasma

May 4 2018

mwolff committed R230:753cf3d8c8c1: Catch more std::atomic symbols in the suppression rules (authored by mwolff).
Catch more std::atomic symbols in the suppression rules
May 4 2018, 9:38 PM
mwolff committed R230:456a5ba2fc6b: Add suppression for C++ atomic load/store operations (authored by mwolff).
Add suppression for C++ atomic load/store operations
May 4 2018, 9:25 PM
mwolff committed R230:caa44d75d6a3: Supress data race warnings for some C atomic operations (AO_*) (authored by mwolff).
Supress data race warnings for some C atomic operations (AO_*)
May 4 2018, 9:25 PM
mwolff committed R45:97f7e115fb17: Use proper delete[] for the out buffer (authored by mwolff).
Use proper delete[] for the out buffer
May 4 2018, 8:51 PM
mwolff committed R234:d4e2ad9f56b9: Add heaptrack screenshots (authored by mwolff).
Add heaptrack screenshots
May 4 2018, 7:01 PM
mwolff added a comment to D12694: Properly fix the native messaging host file.

It compiles, how do I test it? Can you please also add a README to the root of this project that explains what this is, does and how to use it?

May 4 2018, 4:55 PM · Plasma
mwolff accepted D12511: optimization of KTextEditor::DocumentPrivate::views().

OK, cool! That clearly shows that this patch _is_ valuable: Before we have ~6% CPU cycle cost, now it's down to 1.5% (inclusively). This is a significant reduction, so I'm all for it.

May 4 2018, 4:49 PM · Frameworks, Kate
mwolff committed R45:bc3b51d9749f: Merge branch '1.1' (authored by mwolff).
Merge branch '1.1'
May 4 2018, 4:46 PM
mwolff committed R45:a44b314095d5: Fix appstream screenshot URLs (authored by mwolff).
Fix appstream screenshot URLs
May 4 2018, 4:46 PM
mwolff committed R45:aec1ea2f2b7f: Fix appstream test: (authored by mwolff).
Fix appstream test:
May 4 2018, 4:46 PM
mwolff committed R247:1ef97398a12e: Set 1.1 as stable heaptrack branch for translation (authored by mwolff).
Set 1.1 as stable heaptrack branch for translation
May 4 2018, 4:45 PM
mwolff committed R45:5fea57617737: Merge branch '1.1' (authored by mwolff).
Merge branch '1.1'
May 4 2018, 4:35 PM
mwolff committed R45:dd6a4e83ca6b: Include and find zstd in the AppImage bundle (authored by mwolff).
Include and find zstd in the AppImage bundle
May 4 2018, 4:35 PM
mwolff committed R45:bab1109ec488: Use check-c_source_compiles to find unw_set_cache_size (authored by mwolff).
Use check-c_source_compiles to find unw_set_cache_size
May 4 2018, 4:35 PM
mwolff committed R45:a3716f0965e4: Don't report a runtime error when zstd isn't found (authored by mwolff).
Don't report a runtime error when zstd isn't found
May 4 2018, 4:34 PM
mwolff added a comment to D12511: optimization of KTextEditor::DocumentPrivate::views().

perf record -g produces unusable data files, since it relies on the frame pointer which is usually not available. Use perf record --call-graph dwarf instead. https://phabricator.kde.org/file/data/w4qogv4brtxlc5p5bnwr/PHID-FILE-q62giymcptudpl5m6bt3/kwrite_perf_after_25_dwarf_caller.png shows ~1.5% in notifyAboutRangeChange (inclusively). Is that before or after your patch here?

May 4 2018, 4:17 PM · Frameworks, Kate
mwolff committed R45:ba5e14551db2: Set heaptrack version to 1.1.80 for what will become 1.2.0 eventually (authored by mwolff).
Set heaptrack version to 1.1.80 for what will become 1.2.0 eventually
May 4 2018, 3:42 PM
mwolff committed R45:2d05fe96ac4a: Update versions in preparation of heaptrack v1.1.0 release (authored by mwolff).
Update versions in preparation of heaptrack v1.1.0 release
May 4 2018, 3:42 PM
mwolff committed R45:ce2776858e12: Remove sparse hash benchmark (authored by mwolff).
Remove sparse hash benchmark
May 4 2018, 3:42 PM
mwolff committed R32:f4856697d5bc: Fix compile with Qt older than 5.10 (authored by mwolff).
Fix compile with Qt older than 5.10
May 4 2018, 3:39 PM
mwolff committed R32:169371b5d344: Allow overriding the path to the builtin clang compiler headers (authored by mwolff).
Allow overriding the path to the builtin clang compiler headers
May 4 2018, 3:35 PM
mwolff added a comment to D12511: optimization of KTextEditor::DocumentPrivate::views().

Actually, no. Ignore what I said. The pictures you are showing are pretty meaningless. Did you run perf with --call-graph dwarf? Better look at the flamegraph and search for the function you are interested in (Kate::TextBuffer::notifyAboutRangeChange) or use the Caller/Callee view to get an aggregated view of your change.

May 4 2018, 2:20 PM · Frameworks, Kate
mwolff added a comment to D12511: optimization of KTextEditor::DocumentPrivate::views().

But the hotspot screenshot clearly shows that you are spending time on optimizing things that are barely noticeable. You have optimized a function that consumes 0.3% of the CPU cycles. It now consumes only ~0.15%, at the cost of slightly higher memory consumption.

May 4 2018, 2:09 PM · Frameworks, Kate
mwolff added a comment to D12511: optimization of KTextEditor::DocumentPrivate::views().

Oh and again: please start using perf/hotspot instead of callgrind. Really, the performance numbers you get from callgrind are just *instructions*! It doesn't mean "65% of CPU". It means 65% of the instructions.

May 4 2018, 8:41 AM · Frameworks, Kate
mwolff requested changes to D12511: optimization of KTextEditor::DocumentPrivate::views().

lgtm in general, but codewise can be improved

May 4 2018, 8:38 AM · Frameworks, Kate

May 3 2018

mwolff committed R45:07d585655ebd: Add scripts to generate heaptrack AppImages in Docker (authored by mwolff).
Add scripts to generate heaptrack AppImages in Docker
May 3 2018, 8:56 PM

May 2 2018

mwolff committed R45:35a5bde9bd50: WIP: add docker and build script for app image generation (authored by mwolff).
WIP: add docker and build script for app image generation
May 2 2018, 8:43 PM

May 1 2018

mwolff committed R45:3eefe94a0829: Fix compile when option Boost dependencies are not available (authored by mwolff).
Fix compile when option Boost dependencies are not available
May 1 2018, 8:46 PM
mwolff added a reverting change for R45:232c92992d19: Fix bounds check: 0 is a valid index: R45:8aec0f5c2215: Check and override all symbols during injection.
May 1 2018, 6:50 PM
mwolff added a reverting change for R45:ab2a8222da3c: Check symbol table size before accessing it: R45:8aec0f5c2215: Check and override all symbols during injection.
May 1 2018, 6:50 PM
mwolff committed R45:8aec0f5c2215: Check and override all symbols during injection (authored by mwolff).
Check and override all symbols during injection
May 1 2018, 6:50 PM
mwolff committed R45:3907d4d5aa32: Add basic unit test coverage for runtime attaching (authored by mwolff).
Add basic unit test coverage for runtime attaching
May 1 2018, 6:50 PM
mwolff added a comment to D12016: [ktexteditor] much faster positionFromCursor.

regarding the accessibility interface, I agree that it's out of the scope of this patch. I'd say let's keep it like that for now...

May 1 2018, 6:15 PM · Frameworks, Kate

Apr 27 2018

mwolff committed R45:02a19d87f0a6: Include file/line information in heaptrack_interpret error messages (authored by mwolff).
Include file/line information in heaptrack_interpret error messages
Apr 27 2018, 11:19 AM
mwolff committed R45:0d3e48ae7f80: Add basic test coverage for the LineReader (authored by mwolff).
Add basic test coverage for the LineReader
Apr 27 2018, 11:19 AM
mwolff committed R45:60cbfffb62ae: Also use the new LineWriter for heaptrack_interpret (authored by mwolff).
Also use the new LineWriter for heaptrack_interpret
Apr 27 2018, 11:19 AM
mwolff committed R45:4e72941cd56a: Always use std::mutex for locking, never a custom spin lock (authored by mwolff).
Always use std::mutex for locking, never a custom spin lock
Apr 27 2018, 11:19 AM
mwolff committed R45:e15aee2acb9d: Introduce a custom LineWriter for high-performance hex line printing (authored by mwolff).
Introduce a custom LineWriter for high-performance hex line printing
Apr 27 2018, 11:19 AM
mwolff committed R45:95a17c6a407a: Do not use stdio for buffered I/O (authored by mwolff).
Do not use stdio for buffered I/O
Apr 27 2018, 11:18 AM
mwolff committed R32:c791359763cd: Always use the clang builtin headers for the libclang version we use (authored by mwolff).
Always use the clang builtin headers for the libclang version we use
Apr 27 2018, 10:24 AM
mwolff committed R32:e48c6265e844: Group completion requests and only handle the last one (authored by mwolff).
Group completion requests and only handle the last one
Apr 27 2018, 10:24 AM
mwolff closed D12331: Always use the clang builtin headers for the libclang version we use.
Apr 27 2018, 10:24 AM
mwolff closed D12298: Group completion requests and only handle the last one.
Apr 27 2018, 10:24 AM

Apr 24 2018

mwolff committed R45:215869fbd088: Don't unlock when locking failed in the timer thread (authored by mwolff).
Don't unlock when locking failed in the timer thread
Apr 24 2018, 2:36 PM
mwolff committed R45:fc4b7ef99d3b: Optionally add helgrind annotations to the custom SpinLock (authored by mwolff).
Optionally add helgrind annotations to the custom SpinLock
Apr 24 2018, 2:36 PM
mwolff committed R45:03f534bd31b9: Make it easily possible to use a mutex for locking internally (authored by mwolff).
Make it easily possible to use a mutex for locking internally
Apr 24 2018, 2:36 PM
mwolff committed R45:bc1e9fabc33d: Add a block of libheaptrack API calls from multiple threads (authored by mwolff).
Add a block of libheaptrack API calls from multiple threads
Apr 24 2018, 11:25 AM
mwolff committed R45:a5c9c9fea0ca: Add an initial test for the libheaptrack code (authored by mwolff).
Add an initial test for the libheaptrack code
Apr 24 2018, 11:25 AM

Apr 23 2018

mwolff added a comment to D12298: Group completion requests and only handle the last one.

@brauch did you notice any issues? if not, can you accept this then I'll push it.

Apr 23 2018, 1:57 PM
mwolff committed R45:06ad0cffc415: Open output file with O_CLOEXEC (authored by mwolff).
Open output file with O_CLOEXEC
Apr 23 2018, 11:45 AM
mwolff committed R45:8990817a2697: Lock the output file to ensure only one process writes to it (authored by mwolff).
Lock the output file to ensure only one process writes to it
Apr 23 2018, 10:30 AM
mwolff committed R45:77f1e068b292: Try to handle EINTR when writing data (authored by mwolff).
Try to handle EINTR when writing data
Apr 23 2018, 10:30 AM
mwolff committed R45:d16bcef32b0e: Handle potential write errors when printing trace indices (authored by mwolff).
Handle potential write errors when printing trace indices
Apr 23 2018, 10:30 AM
mwolff committed R45:51f3ad78630b: Initialize the start time on first use (authored by mwolff).
Initialize the start time on first use
Apr 23 2018, 10:30 AM
mwolff committed R45:21cc73316128: Print backtraces when encountering a write error (authored by mwolff).
Print backtraces when encountering a write error
Apr 23 2018, 10:30 AM
mwolff committed R45:84e2e282d83c: Output elapsed time in debug messages (authored by mwolff).
Output elapsed time in debug messages
Apr 23 2018, 10:30 AM
mwolff committed R45:a0623a3253cb: Don't handle allocations from printf calls in debugLog calls (authored by mwolff).
Don't handle allocations from printf calls in debugLog calls
Apr 23 2018, 10:30 AM
mwolff committed R45:099bb032c224: Use check_c_source_compiles to find libunwind capabilities (authored by mwolff).
Use check_c_source_compiles to find libunwind capabilities
Apr 23 2018, 10:30 AM
mwolff committed R45:2bf512817ce9: Print the pid and tid in heaptrack log messages (authored by mwolff).
Print the pid and tid in heaptrack log messages
Apr 23 2018, 10:30 AM
mwolff committed R45:6ee4e3e836fd: Print heaptrack_interpret stats even when it gets terminated (authored by mwolff).
Print heaptrack_interpret stats even when it gets terminated
Apr 23 2018, 10:30 AM

Apr 22 2018

mwolff committed R45:dfb6123a6b1c: Do not use shell to launch new programs in debug mode (authored by mwolff).
Do not use shell to launch new programs in debug mode
Apr 22 2018, 8:15 AM
mwolff committed R45:0a3c45c904e1: Start GDB in quiet mode to reduce amount of console output (authored by mwolff).
Start GDB in quiet mode to reduce amount of console output
Apr 22 2018, 8:15 AM
mwolff committed R45:a6839d6f36df: Error out early during recording when receiving child process events (authored by mwolff).
Error out early during recording when receiving child process events
Apr 22 2018, 8:15 AM
mwolff committed R45:e253b08794c6: Mark files with duplicated debuggee entries as corrupt (authored by mwolff).
Mark files with duplicated debuggee entries as corrupt
Apr 22 2018, 7:48 AM
mwolff added a comment to D12331: Always use the clang builtin headers for the libclang version we use.

To query what include files you got, the easiest really is to define the KDEV_CLANG_DISPLAY_ARGS=1 env var. Then you'll see the command line we use for libclang, which includes the include paths. Defines could be queried by setting KDEV_CLANG_DISPLAY_DEFINES=1.

Apr 22 2018, 7:47 AM

Apr 19 2018

mwolff added a comment to D12331: Always use the clang builtin headers for the libclang version we use.
In D12331#249727, @apol wrote:

It broke my system... It's looking for all classes in my projects into std::, failing and complaining about it. :'(

Apr 19 2018, 3:23 PM
mwolff added inline comments to D12331: Always use the clang builtin headers for the libclang version we use.
Apr 19 2018, 1:00 PM
mwolff updated subscribers of D12331: Always use the clang builtin headers for the libclang version we use.

Very good. Now I'd like to get some feedback from @apol to see how this works with his android toolchain. I'll also test this later with an arm toolchain and see if it works as expected.

Apr 19 2018, 10:02 AM

Apr 18 2018

mwolff added a comment to D11136: Make sure we use the same compiler settings as the project is by default.

Everyone, please test https://phabricator.kde.org/D12331

Apr 18 2018, 9:34 PM
mwolff requested review of D12331: Always use the clang builtin headers for the libclang version we use.
Apr 18 2018, 9:33 PM
mwolff committed R32:b3f4f843df4c: Set CLANG_VERSION in FindClang.cmake (authored by mwolff).
Set CLANG_VERSION in FindClang.cmake
Apr 18 2018, 9:32 PM
mwolff committed R32:c52e0da40911: Remove empty file (authored by mwolff).
Remove empty file
Apr 18 2018, 9:32 PM
mwolff added a comment to D9344: [KDevelop] : consistent use of the project name (WIP).

Done, Rene - feel free to respin with the issue fixed.

Apr 18 2018, 8:44 PM · KDevelop