Hello Joe
I agree that the time discrepancy is big but if the exe runs ok why is the test speed a problem ?
To make the test run faster try closing and re-opening Windev
Try turning off the display of global variables
To test the speed of functions in the program you can use the profiler
Regards
Al