JMH is a modern benchmarking framework. This project implements a few test benches for the JSON filters included in this Git repository.
Run java command line (from project root)
java -jar target/benchmarks.jar <benchmark name or empty> -rf json
e.g. from the project root directory
mvn clean install && java -jar target/benchmarks.jar -rf json AllFilterBenchmark
for all benchmarks. Display the file jmh-result
with a visualizer like JMH Visualizer.
-
AMD Ryzen 3700
-
Fedora Linux 5.8.15-201
-
AMD Ryzen 3700
-
Fedora Linux 5.8.4-200
- Lenovo T495 (AMD)
- Fedora Linux 5.7.11-200
- Lenovo T495 (AMD)
- Fedora Linux 5.7.11-200
Moved from char[] inputs to byte[] inputs to make comparison more fair.
Note that the new feature for max path matches is not tested.
- AMD Ryzen 3700,
- Fedora Linux 5.6.7-300.
- AMD Ryzen 3700,
- Fedora Linux 5.6.7-300.
|