◆ runBenchmarks()
void fiftyone.devicedetection.examples.console.PerformanceBenchmark.runBenchmarks | ( | PerformanceConfiguration [] | performanceConfigurations, |
String | dataFilename, | ||
String | evidenceFilename, | ||
int | numberOfThreads, | ||
PrintWriter | writer | ||
) | throws Exception |
protected
Runs benchmarks for various configurations.
- Parameters
-
- dataFilename - path to the 51Degrees device data file for testing
- evidenceFilename - path to a text file of evidence
- numberOfThreads - number of concurrent threads
- Exceptions
-
- Exception - as a catch all
- Examples
- PerformanceBenchmark.java.