Patent ID: 8321851

Claim:
A computer implemented method, executed by a processor, for determining the efficiency of a runtime compiler comprising: recording a set of execution times representing the time taken for program code to perform a set task after two or more runtime compilations, calculating a first metric as the difference between the first execution time and the last execution time of said set of execution times, calculating a second metric as the average throughput improvement from said set of execution times, calculating a third metric as the time taken for said runtime compiler to achieve the maximum throughput from said set of execution times, calculating an efficiency metric using said first, second, and third metrics to determine the efficiency of said runtime compiler, wherein said efficiency metric is the weighted sum of said first metric, said second metric, and the reciprocal of said third metric, and classifying said runtime compiler as acceptable or unacceptable, wherein said runtime compiler is classified as unacceptable if a criterion is satisfied.