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

Benchmark #99

Closed
DAddYE opened this issue Sep 10, 2014 · 7 comments
Closed

Benchmark #99

DAddYE opened this issue Sep 10, 2014 · 7 comments

Comments

@DAddYE
Copy link

DAddYE commented Sep 10, 2014

I know, I know, 💃 early stage.

Although, I'm very very interested to know how it performs with jpg (or png).

I did some image manipulations (most resize things) in the past few days (see: https://github.com/daddye/vips) and I had to give up and use straight c with libturbojpeg.

Would be very nice to know that now is possible to use rust for that!

Anyway, not a rustler, but the code seems very clean, simple and concise. For what is worth, Congrats!

@nwin
Copy link
Contributor

nwin commented Sep 10, 2014

It is really slow. The algorithms are not optimized for speed at all. They are more or less textbook implementations.

@emberian
Copy link
Contributor

@eddyb has a very fast png decoder, rivaling libpng.

On Wed, Sep 10, 2014 at 1:28 PM, nwin notifications@github.com wrote:

It is really slow.


Reply to this email directly or view it on GitHub
#99 (comment)
.

http://octayn.net/

@nwin
Copy link
Contributor

nwin commented Sep 10, 2014

That isn't in a public repos, is it? Haven't found anything.

@emberian
Copy link
Contributor

https://github.com/cmr/TEMP-rust-png is the last I know of it, he might
have more updates somewhere.

On Wed, Sep 10, 2014 at 3:29 PM, nwin notifications@github.com wrote:

That isn't in a public repos, is it? Haven't found anything.


Reply to this email directly or view it on GitHub
#99 (comment)
.

http://octayn.net/

@eddyb
Copy link
Member

eddyb commented Sep 10, 2014

No, I do not. And I need to remove some unsafety now that LLVM understands some interesting boolean predicates, including those having to do with modulo operations.

@retep998
Copy link
Contributor

I just tested loading a png with this library compared to C++ using lodepng, and it was 550ms vs 24ms. Definitely not fast by any means.

@nwin
Copy link
Contributor

nwin commented Jan 22, 2015

Closing in favor of #257.

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

5 participants