Performance issue: Windows 7 with CPU i7-870. 19.08.0 vs 18.12.1d vs 17.12.0
Summary
- Tested with: Kdenlive 19.08.0
- CPU i7-870: "steps to reproduce" takes 20sec.
- Same PC CPU i7-870: Running Kdenlive inside a VM with Lubuntu and AppImage. "steps to reproduce" takes <5sec.
- Maybe has something to do about clip size in the project bin and how Win7 and CPU encodes the clip. See test here https://invent.kde.org/kde/kdenlive/issues/480#note_23593
I changed the graphic card on my Win7 machine (CPU i7-870) from ATI-HD4600 to NVIDIA GTX-1650. So I have no graphic card error message in the dxdiag anymore. But the behavior is the same. So I'm pretty sure it's either inside the source-code or the windows compiling setup.
It seems following command requestClearSelection(true);
boost the responsivity. See here https://invent.kde.org/kde/kdenlive/issues/236
19.08.1
Analyzing a bit the pause gap, qt5core.dll and msvcrt.dll is somewhere involved. Found here an article about compiling QT not correct in release mode can lead to problem with the memory layout in release build.
STEPS TO REPRODUCE
- start Kdenlive (1080p25).
- Insert clip into Project bin
- click "Switch to clip profile…" (takes 6.6sec). Button "switch" is blue, get dark and after 4.7sec pause it's finished (see screen grab below): Kdenlive_19-08-1.pdf
- add this clip to timeline.
OBSERVED RESULT
This procedure takes 20sec.
EXPECTED RESULT
This procedure should take less then 5sec.
ADDITIONAL INFORMATION
Kdenlive under Windows10 and CPU i3-6157U, i5-6600K has no such performance issue with the "steps to reproduce". Takes <5sec.
CPU i7-870: The following steps lead to much more responsivity on Windows (either the cache are deleted or not)
- start Kdenlive (1080p25).
- Insert clip into Project bin / or open a project and go to step 5.
- click "Switch to clip profile…".
- save the project
- click new
- confirm project setting (1080p25)
- Insert clip into Project bin (the same or a different one)
- click "Switch to clip profile…".
- add this clip to timeline.
Result: If you follow these steps (1.-9.) the procedure from step 7 to 9 takes less then 5sec.!
19.08.0 vs 18.04.1d vs 17.12.0
Something between 17.12.0 and 18.04.1d has changed. Version 17.12.0 is the fastest. See log below
Similar issue here: https://forum.kde.org/viewtopic.php?f=265&t=162225. It could be an i7 issue only.