-
Notifications
You must be signed in to change notification settings - Fork 22
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
Reading is very slow for larger files #57
Comments
Just to check, is this timing coming from a |
Yes, I can see later today If I can make a small, reproducible example. I'm making a small tool to extract InstallShield installer, where I extract the .msi from and exe. |
I've built a small example here. 7z can extract this in a few seconds, It seems the MSI file(~1gb): https://drive.google.com/file/d/1TqfK1UDhhv1pbfKZe0yWDAHZ-_azVsoT/view?usp=drive_link Flamegraph for the example(I've disabled printing for that one): It seems the svg is not really working here, I've also added It to the repo. |
Hmm...it looks like the current implementation re-creates the Fixing this might not be straightforward; IIRC part of the reason the One possibility to experiment with would be that perhaps the |
I'm using the msi crate, but after some profiling, I think this crate might be the better place to report that.
Code:
Reading 50 Mb of that cab stream takes roughly one minute on my pc. I've also created a flame graph, but I'm not really sure where the problem lies. Is the loop in
Chain::new
taking a lot of time maybe?The text was updated successfully, but these errors were encountered: