org.nlogo.workspace
Class Benchmarker
java.lang.Object
org.nlogo.workspace.Benchmarker
public class Benchmarker
- extends Object
allBenchmarks
public static final List allBenchmarks
headlessOnlyBenchmarks
public static final Set headlessOnlyBenchmarks
guiOnlyBenchmarks
public static final Set guiOnlyBenchmarks
Benchmarker
public Benchmarker(AbstractWorkspace workspace)
benchmarkAll
public void benchmarkAll(int iterations,
Benchmarker.BenchmarkRunner runner)
throws IOException,
CompilerException,
LogoException
- Throws:
IOException
CompilerException
LogoException
fullPathToBenchmark
public static String fullPathToBenchmark(String name)
header
public static void header(int iterations)
footer
public static void footer()
openAndRunBenchmark
public void openAndRunBenchmark(String name,
int iterations,
Benchmarker.BenchmarkRunner runner)
throws IOException,
CompilerException,
LogoException
- Throws:
IOException
CompilerException
LogoException
benchmark
public void benchmark(int iterations,
Benchmarker.BenchmarkRunner runner)
throws CompilerException,
LogoException
- Throws:
CompilerException
LogoException