Skip to content

Latest commit

 

History

History

jmh

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

JMH benchmarks

JMH is a modern benchmarking framework. This project implements a few test benches for the JSON filters included in this Git repository.

Usage

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.

Benchmark results

3.0.1:

1.0.17:

1.0.16:

1.0.9:

  • Lenovo T495 (AMD)
  • Fedora Linux 5.7.11-200

Results

1.0.8:

  • Lenovo T495 (AMD)
  • Fedora Linux 5.7.11-200

Moved from char[] inputs to byte[] inputs to make comparison more fair.

Results

1.0.2:

Results

1.0.1:

Note that the new feature for max path matches is not tested.

Platform:

  • AMD Ryzen 3700,
  • Fedora Linux 5.6.7-300.

Results

1.0.0:

Platform:

  • AMD Ryzen 3700,
  • Fedora Linux 5.6.7-300.

Results

|