| Summary: | krusader is very slow with 7-zip 7zip 7z archives | ||
|---|---|---|---|
| Product: | [Applications] krusader | Reporter: | empyreal <empyreal> |
| Component: | krarc | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | krusader-bugs-null, voidpointertonull+bugskdeorg |
| Priority: | NOR | ||
| Version First Reported In: | Git | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
empyreal
2022-08-15 09:40:36 UTC
Forgot one thing: right-click and Extract archive here works fast. It's often easier to Extract here than browse archives and extract separate folders. Already dug into the issue somewhat in Bug #422142 , but I'll partially reiterate what's there with more focus on Krusader. Aside from the K7zip implementation not looking like it's suitable for fast browsing, I'm not even sure if that's being used, and if it is, then that means that the file list is processed multiple times. Apparently there's a sneaky `bool check7zEncrypted = true` default option for checking archives because someone figured that `// encryption check is expensive, check only if it's necessary`, but it doesn't look like this is ever avoided. The price comes from running the external 7z executable to get a full list of files with details included. I also had the suspicion that this keeps on being done when moving around within the archive, and running `KDE_FORK_SLAVES=true krusader -d` shows output that suggests it may be the case, but I haven't seen enough to be confident. While 7z handling doesn't seem to be great overall in KDE, Krusader seems to be special with its own odd problems added. |