-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add memory utilization to benchmark #813
Comments
I added code to the browser speed benchmark to report memory usage both (1) after initializing the worker and (2) after running recognition. Notably, this will not tell us the peak memory usage during recognition, however it should flag any memory leaks or excessive memory use between jobs. The number reported on my system (Chrome + Ubuntu) were The new(ish) function |
Tesseract.js has had multiple performance and memory-related bugs, which unfortunately are not flagged by automated testing. For performance-related bugs this was resolved by adding a benchmark in #628. We should expand this to also report memory usage so excessive memory use can be identified.
The text was updated successfully, but these errors were encountered: