1 | initial version |
The best way is to implement performance tests for your functions or use ready tests for them, of they have been already exists. The you can execute different builds with/without your optimizations, grab resulting xml files and compare them using summary.py script from modules/ts/misc folder of OpenCV source code.
OpenCV is open source project and you can contribute your optimizations and tests. The best way for contribution is pull request via Github.