Repository navigation
Conversation
|
Sorry @LiHua000, your pull request is larger than the review limit of 150,000 diff characters |
LiHua000
marked this pull request as draft
November 10, 2026 02:38
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: LiHua000 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
LiHua000
force-pushed
the
agent/bugfix/380503
branch
from
November 10, 2026 03:25
ce344e9 to
d24ab3d
Compare
…rformance Bug: #380503 PMS 380503: ARM64 platform ZIP compression of 2.5G fragmented files 180-350% slower than KOS Port pzip high-performance parallel compression from master to release/eagle (Qt5/KF5): - pzip core library (src/pzip/): C++17, OpenSSL, ZLIB, multi-threaded parallel Deflate - clipzipplugin (3rdparty/clipzipplugin/): Kerfuffle plugin, priority 200 - Build system: enable pzip + clipzipplugin on x86/ARM - uitools: add APT_AutoWithoutPzip, skip pzip for read/extract - archivemanager: exclude pzip for ZIP append (pzip only supports new compression) - mainwindow: ARM64 ZIP compression uses pzip (APT_Auto) instead of libarchive Security hardening: - Only build pzip (compression), not punzip (extraction), avoiding symlink race - toZipPath() removes '..' path components, preventing Zip Slip attack - file_task.cpp uses symlink_status() to not follow symlinks - Read/extract/append all exclude pzip plugin
LiHua000
force-pushed
the
agent/bugfix/380503
branch
from
November 10, 2026 03:44
d24ab3d to
e76b9cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PMS 380503: ARM64 平台 ZIP 压缩性能优化
问题描述
ARM64 平台压缩 2.5G 碎片化文件为 ZIP 格式时,速度比 KOS 慢 180-350%。
根因
release/eagle 分支(Qt5/KF5)未集成 pzip 高性能并行压缩工具。ARM64 平台 ZIP 压缩走 libarchive 单线程路径,性能远不如多线程并行压缩。
修复方案
从 master 分支移植 pzip 并行压缩功能到 release/eagle(Qt5/KF5)。
核心改动
src/pzip/): C++17, OpenSSL, ZLIB, 多线程并行 Deflate3rdparty/clipzipplugin/): Kerfuffle 插件, 优先级 200APT_AutoWithoutPzip, 读取/解压时跳过 pzip安全加固
toZipPath()移除..路径组件, 防止 Zip Slipfile_task.cpp使用symlink_status()不跟随符号链接自测结果
..组件被移除)关联