◆ Benchmark()
fiftyone.devicedetection.examples.hash.Benchmark.Benchmark | ( | String | userAgentFile | ) | throws IOException, IllegalArgumentException |
Initialises the device detection Provider with the included Lite data file.
For more data see: compare data options
- Parameters
-
- userAgentFile - path to the source User-Agents file.
- Exceptions
-
- IOException - if there was a problem reading from the data file.
Member Function Documentation
◆ main()
static void fiftyone.devicedetection.examples.hash.Benchmark.main ( String [] args ) throws Exception staticInstantiates this class and starts runBenchmarks(String, String, int) with parameters from the command line.
- Parameters
-
- args - command line arguments.
- Exceptions
-
- IOException - if the data file cannot be accessed.
- InterruptedException - if the benchmark threads are interrupted.