◆ compare()
Execute the benchmarks using the solutions provided.
- Parameters
-
- solutions - some solutions
- numberOfThreads - how many threads to run for each solution
- numberOfResults - how many detections to do per thread
- reportingModel - how and what to report
- writer - where to report it
- Exceptions
-
- Exception - to satisfy underlying APIs
◆ runBenchmarks()
List<BenchmarkResult> fiftyone.devicedetection.examples.console.comparison.Comparer.runBenchmarks ( Solution solution ) throws Exception Initiate the benchmark threads.
- Parameters
-
- solution - the solution being benchmarked
- Returns
- result of the benchmark
- Exceptions
-
- Exception - to satisfy called APIs
Member Data Documentation
◆ DEFAULT_SOLUTIONS
final Solution [] fiftyone.devicedetection.examples.console.comparison.Comparer.DEFAULT_SOLUTIONS staticInitial value:= {new DetectionImplFiftyOneDegrees.FiftyOneSolution(),new DetectionImplBrowsCap.BrowsCapSolution()}