zhanghai / zhanghai/MaterialFiles

Extraction of tar.gz file takes too long

Open
#1,237 10 comments 2 reactions 1 assignee View on GitHub

@zhanghai is already working on this.

Since May 25, 2024.

enhancement
Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Device Model: XiaoMi 10 Ultra
Android Version: 10 QKQ1.200419.002
MIUI Version: xiaomi.eu 12.0.10
MaterialFiles Version: 1.7.2 (37)
Source: F-Droid

I compressed all font files from the Fonts file of Windows 11 21H2 into Fonts.tar.gz , which contains a total of 336 font files

I found that MaterialFiles takes 5 minutes to fully extract this file, while using tar -zxf Fonts.tar.gz in termux only takes 3.3 seconds

.../Fonts $ time tar -zxf ../Download/Fonts.tar.gz

real    0m3.300s
user    0m2.785s
sys     0m0.482s

start: 00:55:40

图片

end: 01:00:37

图片

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.