I've been looking around for solution at least 2 days unsuccesfully so as my last hope I decided to ask it here.
Here at work we have a C++ code base using OpenCV that we want to run both on iOS and Android. It turned out that the whole thing runs slower on Android and I can't find out the reason. After profiling we got to know that the method that invokes the C++ code is the problem which is the exact same on both platforms. On Android(Samsung Galaxy S4) it takes 140-150 ms to execute while on iOS(iPhone 5) it's under 70ms. I've read some articles about optimizing native code and using different local_cflags but didn't seem to help.
Is this a fact that needs to be admitted or is there a solution? Thank you in advance, Mike