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

process images parallel while interacting with the browser #69

Merged
merged 1 commit into from
Feb 25, 2017

Conversation

zinserjan
Copy link
Owner

Little refactoring to process images parallel to browser calls. In my test case it was up to 36% faster, but that depends on the hardware, number of images to stitch together, browser, etc...

Stats:

Before After Improvement
iPad Air 2 iOS 10.2 landscape 10825ms 6888ms 36%
Chrome v56 1024x768 6328ms 5184ms 18%
Firefox v51 1890ms 1485ms 21%

Note: Firefox performs best here, cause it emits non-retina images and doesn't need the normalization -> less image processing.

@zinserjan zinserjan merged commit 2bb2501 into master Feb 25, 2017
@zinserjan zinserjan deleted the improve-perf branch February 25, 2017 19:02
This was referenced Feb 25, 2017
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

Successfully merging this pull request may close these issues.

1 participant