| Home | Trees | Index | Help |
|---|
| Package esys :: Package escript :: Module benchmark :: Class Benchmark |
|
object --+
|
Benchmark
BenchmarkProblems with a bunch of Options
| Method Summary | |
|---|---|
sets up a benchmark | |
str
|
returns the name of the benchmark suite |
adds a options to the benchmark | |
adds a problem to the benchmark | |
str
|
returns the results of the last benchmark run in HTML format. |
runs all problems with all options. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
| Method Details |
|---|
__init__(self,
name=None,
description=None)
sets up a benchmark
|
__str__(self)
returns the name of the benchmark suite
|
addOptions(self, options)adds a options to the benchmark
|
addProblem(self, problem)adds a problem to the benchmark
|
getHTML(self, filter, level=1)returns the results of the last benchmark run in HTML format.
|
run(self, scale=1)runs all problems with all options.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 11:16:15 2006 | http://epydoc.sf.net |