C/C++
benchpp.txt
Associated article: The Bench++ Benchmark Suite
Tags: C/C++
Published source code accompanying the article by Joseph M. Orost in which he presents Bench++, a benchmark suite designed to measure the performance of the code generated by C++ compilers. Bench++ 1.0 consists of more than 17,000 C++ source lines and contains more than 120 tests.
The Bench++ Benchmark Suite
by Joseph M. Orost
Listing One
if(local < global) {
flag = true;
} else {
flag = false;
}
Listing Two
// Control loop
start = cpu_time_clock();
for(int i = 1; i <= nr_iterations; i++) {
Trick_Optimizer();
}
stop = cpu_time_...


