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

Look into using the --with-openmp compile flag #31

Open
sindresorhus opened this issue Jul 28, 2014 · 1 comment
Open

Look into using the --with-openmp compile flag #31

sindresorhus opened this issue Jul 28, 2014 · 1 comment

Comments

@sindresorhus
Copy link
Contributor

For adding multicore support. Could make it faster, but needs to be benchmarked.

https://github.com/pornel/pngquant/blob/8d21a4563e5a1b008b7d7314213ade728cc2c91d/configure#L38

// @pornel Do you think it's worth using that option? Have you benchmarked it?

@kornelski
Copy link
Contributor

It makes serial execution much faster.

I'm unsure about efficiency of running multiple single-core pngquant processes vs multiple multi-core pngquant proceses. The latter shows larger "CPU time" spent, but it may be just because CPU time is bogus with hyperthreading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants