|
This Python module implements Jyrki's benchmarking framework for C++ programs
When creating this module, I used Python's unittest module as my inspiration.
For further details, see Python Library Reference.
This module has been extended by Christian Ulrik Søttrup & Jakob Pedersen.
The extensions include the posibility of running benchmarks remotely,
measuring page fault and measuring cache misses.
|
Imported modules
|
|
import commands
import copy
import fnmatch
import os
import random
import string
import sys
import time
import traceback
import types
|
|
Classes
|
|
_writeln_decorator |
Used to decorate file-like objects with a handy writeln method
|
case |
A class whose instances are single benchmark cases
|
curve_suite |
A suite specifying how a curve should be drawn by gnuplot
|
gnuplot_result |
A result class that can print the results in the form of a plot
|
gnuplot_runner |
A benchmark runner class that displays the results in graphical form
|
main |
A command-line program that can be used to run a given benchmark
|
plot_suite |
A suite specifying how a plot should be drawn by gnuplot
|
result |
Result
|
suite |
A suite is a composite benchmark consisting of a number of cases or suites
|
text_result |
A result class that can print formatted text results to a stream
|
text_runner |
A benchmark runner class that displays the results in textual form
|
|
|