Issue
My lib and my app use NDK(CMake).
So, question is - is there any advice how should be configure CMake file to get the best performance?
For example if you need to get some advice how to configure .gitignore file you can visit this github page
https://github.com/github/gitignore
there is a lot of examples and you can choose what you need. Is there something similar for NDK(CMake)?
Solution
CMake has absorbed tons heuristics to deliver best possible performance when you simply choose a release build. It's not easy to outsmart it even if you have intimate knowledge of what your code is doing.
Still, extensive profiling and fine tuning can be fruitful. Keep in mind that different devices may not behave the same way: their CPU may throttle down because it becomes too hot, or your thread may find itself on a slower core…
If you can afford to optimise for one device, your chances are better.
Answered By - Alex Cohn
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.