Added a simple performance test to execute the program under a certain time.