search menu icon-carat-right cmu-wordmark

Timing Variation in Dual Loop Benchmarks

October 1987 Technical Report
Neal Altman, Nelson W. Weiderman

This report disproves one of the major assumptions of dual loop benchmark testing by testing two bare computers with Ada test programs.

Publisher:

Software Engineering Institute

CMU/SEI Report Number

CMU/SEI-87-TR-021

Abstract

Benchmarks that measure time values using a standard system clock often employ a dual loop design. One of the important assumptions of this design is that textually identical loop statements will take the same amount of time to execute. This assumption was tested on two bare computers with Ada test programs and has been demonstrated to be inaccurate in these specific test cases.