vertx-json-schema icon indicating copy to clipboard operation
vertx-json-schema copied to clipboard

Improve Performance of Validator

Open pk-work opened this issue 2 years ago • 0 comments

Our goal is to improve the performance of SchemaValidatorImpl.java.

We found already some starting points to improve the performance like:

  • reduce the excessive usage of regular expressions

We also saw that the current implementation makes it hard to investigate performance issues and want to improve the following:

  • split the large validate method in SchemaValidatorImpl.java by extracting the single if statements into separate methods.

To be able to measure our performance improvements we want to create small jmh benchmarks in vertx-json-schema with the following characteristics:

  • test the same value during one benchmark

pk-work avatar Nov 17 '23 15:11 pk-work