1. A method of executing a program on a computer having multiple processors that may execute a portion of the program in parallel, the method comprising the steps of: (a) measuring an execution of at least a portion of the program with different numbers of processors executing the program in parallel to provide at least one value related to a speed of execution of the program on a computer; (b) adjusting the number of processors executing the program in parallel according to at least one value.