-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[LSAR/UNAR] Slow text output #121
Labels
enhancement
New feature or request
Comments
Perhaps in areas which use mutable types, the creation could pre-allocate the capacity. An example: MaddTheSane@056bd42 |
Running this through my own fork through Instruments, it looks like a lot of it is taken up by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Archive: link
This archive contains 100K files and it can show the difference in performance between LSAR/UNAR and 7-Zip when printing text. Archives containing tens of thousands of files are not unusual.
Results of listing contents of the archive verbosely:
7-Zip:
Time: ~1 second
Log size: 16 MiB
LSAR:
Time: 1 minute 5 seconds
Log size: 41.7 MiB
So we can see that LSAR listed the archive about 60 times slower but the output log is only less then 3 times bigger. This is a significant bottleneck even when processing smaller archives containing only 10-20K files.
Thanks
P.S.
Sorry for spamming you with quite a few issues at the same time. I've accumulated them over the last ~4 years of usage and I've learned only recently that you have a repository on GitHub.
The text was updated successfully, but these errors were encountered: