Skip to content
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

compression > 10000? #116

Closed
eyaler opened this issue Nov 2, 2022 · 2 comments
Closed

compression > 10000? #116

eyaler opened this issue Nov 2, 2022 · 2 comments

Comments

@eyaler
Copy link

eyaler commented Nov 2, 2022

I've seen in manual.docx options for compression level > 10000. the doc refers to performance.html but i could not find it. is it available? could you give some examples/recommendations/insights/benchmarks for these modes?

@krishty
Copy link

krishty commented Nov 2, 2022

It’s really just that. E. g. for maximal PNG compression I call ect_x64 -30060 --allfilters-b --pal_sort=120 --strip foo.png, where 30060 means “three blocksplitting passes with 60 iterations”.

I had a few benchmarks regarding block splitting passes and iterations here, but modern browsers most likely won’t display the graphics because my site is not HTTPS-encrypted. You’ll have to use “view source” if you’re interested.

Note that I don’t use more than 60 iterations because that would trigger the extremely slow Ultra2 mode.

@fhanau
Copy link
Owner

fhanau commented Nov 3, 2022

ECT has little documentation on higher compression levels. This is in part intentional as for most use cases level 7 is more than sufficient and using more advanced settings results in wasting CPU time for minuscule compression gains.

If you do want to use higher levels krishty's answer explains the behavior quite well. ultra2 is still very slow and not recommended most of the time, but is several times faster for most cases based on some recent changes.

@fhanau fhanau closed this as completed Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants