Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.23 KB

JSON Schema Validator performance test

This library provides a skeletal performance test suite for this JSON Schema Validator library: https://github.com/everit-org/json-schema

It contains the same test suite: https://github.com/fge/json-schema-validator/wiki/Performance

Test results & comparison to the fge/json-schema-validator library

For testing the performance of the fge/json-schema-validator library I've used this main class .

I ran the testsuite of both libraries 10 times (each execution performing 500 validations).

Tests results on my local computer:

fge everit-org
min 6655 ms 2892 ms
max 7611 ms 3963 ms
avg 7178 ms 3431 ms

Running the tests on other workstations gave a bit different numbers but similar ratios.

Running the tests

Clone this repository:

git clone https://github.com/erosb/json-schema-perftest.git

Build the project with Maven:

cd json-schema-perftest/
mvn clean install -Pdist

Run the test:

java -jar target/perftest.jar