Class BenchmarkCharsetDetectors
java.lang.Object
org.apache.tika.ml.chardetect.tools.BenchmarkCharsetDetectors
Micro-benchmark comparing charset detector throughput.
Not a JMH benchmark — intended for quick apples-to-apples comparison on a warm JVM. Runs each detector over a fixed corpus of byte samples, reports throughput in MB/s and mean latency in µs per call.
Usage:
java BenchmarkCharsetDetectors --data /path/to/test-dir [--warmup 3] [--rounds 5]
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BenchmarkCharsetDetectors
public BenchmarkCharsetDetectors()
-
-
Method Details
-
main
- Throws:
Exception
-