Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Performance of Validator #121

Open
pk-work opened this issue Nov 17, 2023 · 0 comments
Open

Improve Performance of Validator #121

pk-work opened this issue Nov 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pk-work
Copy link
Contributor

pk-work commented Nov 17, 2023

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 pk-work added the enhancement New feature or request label Nov 17, 2023
@CheesyBoy123 CheesyBoy123 self-assigned this Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants