Read Me
yaub - yet another useless benchmark
YAUB basically is a C++ framework for benchmarks. Every benchmark is derived
from a base class and can do whatever it wants.
The currently implemented benchmarks are:
examplebench
------------
This is an example benchmark to show how easy it is to include self-written
benchmarks into yaub. Just look into the source code.
drystone
--------
Based upon the original dhrystone benchmark by Reinhold P. Weicker, Version C,
Version 2.1, 1988
C++tified by Oliver Schroeder
This is my version of the original dhrystone benchmark. All modifications
of mine were only necessary changes to get dhrystone fit into my framework.
I tried to keep the original as good as possible, but on current hardware
the code runs at a non-measurable speed. So the code is looped, the number
of loops is calibrated to be able to calculate the time used.
Nevertheless it is'nt the original benchmark anymore, hence the name-change.
wetstone
--------
This is my version of the original whetstone benchmark. The same remarks as
for drytstone apply here.
arith
-----
This is a template class. It does simple arithmetic operations to the given
variable type. The compiled binary uses it to benchmark operations of
- char
- short int
- int
- long
- long long
- float
- double
- long double
You can add whatever datatype you want, needed operations are +=, -=, *=,
/=, = and ==
membench
--------
membench knows some different algorithms to copy data from one memory
location to another. The binary calls all of them.