diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2023-04-12 10:52:01 +0100 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2023-04-12 12:02:19 +0100 |
| commit | e8ce8afd5570ba78a89fadac6d03fc3ba5d11dfa (patch) | |
| tree | 7d11a41f5054506d8ba3dee8b54b1905e346e8bd /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 3fb8eedc450286d5092e4953118212fa21091b3b (diff) | |
write-qt-apps-hook.sh: use make-binary-wrapper for significant speedups
QT apps tend to call makeWrapper with a lot of arguments, which causes
noticable slowdowns (+100ms for app startup). The slow down boils down
to two reasons:
- the required string processing is O(N^2)
- bash is slow at doing the processing
By using the binary wrapper, we fix the second point, brining the
overhead down from 100ms to just 4ms or thereabouts.
I tested this change by rebuilding my whole system with it (I use
plasma). It booted and it works (that's where I type this commit
message), but I am not 100% sure if this won't break anything else.
Closes: #225871
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
