Skip to content

Performance test for the everit-org/json-schema library

Notifications You must be signed in to change notification settings

erosb/json-schema-perftest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Performance test for the everit-org/json-schema library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages