-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
New Releases have Performance Issues #834
Comments
So I found one thing which is most likely the problem - clearly this is missing the static modifier:
|
Thanks. I will fix the second problem.
No.
On Windows, BEGIN_WRAP and END_WRAP are not replaced with try/catch. |
Ok, thanks. J. |
Release 1.1.20191217 (both 32/64 bit on Windows 10) and newer causes significant performance drop.
My test performance decreased from 225Hz to 91Hz. Previous release 1.1.20191110 is still OK.
Profiling seems to point to the Mat<> constructor with shared data - looks like core_Mat_new8() function has been wrapped into BEGIN_WRAP/END_WRAP block, which translates into try/catch.
Are there any performance tests in the library to be sure that no other parts are affected? If the performance bottleneck is the try/catch in the native code, is it necessary to have it there given its (supposed) major overhead?
Thanks, J.
The text was updated successfully, but these errors were encountered: