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

Store process runs strangely slow #4

Open
danhstevens opened this issue Aug 31, 2013 · 4 comments
Open

Store process runs strangely slow #4

danhstevens opened this issue Aug 31, 2013 · 4 comments

Comments

@danhstevens
Copy link

I've noticed that I can run the command-line utility with several filters on various hi-res images and the process will take around 100ms. However, if I add the store option (which is obviously necessary) the time takes between 1000-2000ms. This happens regardless of the image type I'm storing as. Any reason why storing the image causes a 10-20x slowdown of the entire operation? Any tips to speed up the store process would be great!

@danhstevens
Copy link
Author

Slow storage seems to only occur when certain filters are applied - even if the resulting image is small. I'll investigate further - closing for now.

@liyanage
Copy link
Owner

Let me know if you find something interesting...

@danhstevens
Copy link
Author

I'll go ahead and reopen this since something strange is still happening, specifically with the CILanczosScaleTransform filter. Running that filter and then running store seems to take a couple of seconds on an image. Running other filters like CICrop seem to work almost instantaneously. Any reason you can think of that CILanczosScaleTransform would run much slower than other filters? Is that something you can reproduce?

@danhstevens danhstevens reopened this Oct 9, 2013
@liyanage
Copy link
Owner

Can you give me a repro case? A command line (and example input image) that works fast, and one that works slow?

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

2 participants