◆ 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.
Member Data Documentation
◆ DEFAULT_PERFORMANCE_CONFIGURATIONS
PerformanceConfiguration [] fiftyone.devicedetection.examples.console.PerformanceBenchmark.DEFAULT_PERFORMANCE_CONFIGURATIONS staticInitial value:= {new PerformanceConfiguration(MaxPerformance, false, false, true),new PerformanceConfiguration(MaxPerformance, false, true, false),new PerformanceConfiguration(MaxPerformance, true, true, false)}