How can i conduct performance tests in OpenCV Python to check;

1. the time it takes to obtain a recognition result
2. the false accept/false reject rate on the database test cases.

I am using the example eigenface method in OpenCV (from Phillip - <https://github.com/bytefish/facerecognition_guide>) and am just interested in the results. Would be greatful if someone could point me in the right direction/show examples.Perhaps there are some functions that i could make use of?