-
Notifications
You must be signed in to change notification settings - Fork 7
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
Starting Performance #8
Comments
You are correct.
|
Thanks for your quick response.
|
Yeah, iOS 8 & 9 are ancient history. |
Managed to reduce startup time ~0.5s on iPhone X |
You can try 3.4.6 |
Thank you very much, the starting performance is much improved now! The main thread also seems to not be getting blocked up at all now any more. I'll close this issue now as it has been resolved completely. Thank you again for taking care of this so well and so quickly. |
Whenever the
ScanView
start
method is called, a large amount of processing is done on the main thread. Even on the latest iOS devices, there is an extremely noticeable ~1 second lag when the app "freezes" because the main thread is blocked up.I understand that some of the work done by the
start
method such as inserting the preview layer, etc. needs to happen on the main thread but could a majority of the CPU-intensive work be pushed to a background thread instead?The text was updated successfully, but these errors were encountered: