Comments (3)
![Screenshot 2024-07-03 at 11 09 00](https://private-user-images.githubusercontent.com/877763/345246939-e5add173-de7e-4cea-a0e5-f6bace32dd6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2OTA0MTYsIm5iZiI6MTcyNDY5MDExNiwicGF0aCI6Ii84Nzc3NjMvMzQ1MjQ2OTM5LWU1YWRkMTczLWRlN2UtNGNlYS1hMGU1LWY2YmFjZTMyZGQ2ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQxNjM1MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZWI0NjUzNTIzZGUzYzdjNmRhNzZmNzQyYWZlZTkyYjQ1NGM4YWQwZDVmNDY4NDczMmIzYzhlMzA0YWZhMDY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.lBw9gx4ZZS6n0m7T81nWwkMst6A82YAxLWoYNI_lsGg)
JProfiler "Hot Spots" analysis showing it taking 50% of the CPU time in the test I ran.
from json-schema-validator.
Another snapshot taken with that change in place. Hashing cost drops dramatically:
![Screenshot 2024-07-03 at 11 24 12](https://private-user-images.githubusercontent.com/877763/345250187-e8d21d1e-1e18-4fcc-809f-d81ed47fdb3f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2OTA0MTYsIm5iZiI6MTcyNDY5MDExNiwicGF0aCI6Ii84Nzc3NjMvMzQ1MjUwMTg3LWU4ZDIxZDFlLTFlMTgtNGZjYy04MDlmLWQ4MWVkNDdmZGIzZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQxNjM1MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mN2ZmZjM0OTczNmE5NTQxOWNhZDA5ZDFhYjJiMDYxYWQ0MjcxNTFkYzM2NTQyNzdjNjUwZWQ4MjBlOTExZjMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.vWioq0tGIP19PIBMw91KEC3ZQA5z0G_gZbCJ4gmhtVA)
from json-schema-validator.
Thanks for reporting the issue, analysis and fix.
from json-schema-validator.
Related Issues (20)
- Could not find OpenApi30 in release 1.4.0 HOT 9
- "http://" should be considered as a valid iri-reference HOT 1
- Downgrade maven-source-plugin to 3.2.1
- Resolve javadoc warning messages
- `JsonSchema.getSubSchema()` fails with JsonPointer containing a number HOT 2
- How to generate the json structure acording to the schema? HOT 2
- oneOf with discriminator does not verify json correctly HOT 4
- The location of the `module-info.class` in the jar file is wrong HOT 1
- anyOf and OneOf unhelpful error messages HOT 2
- Exponential algorithm in BaseJsonValidator.hasAdjacentKeywordInEvaluationPath HOT 13
- Validation error for "id" field in referenced schema HOT 1
- Missing error text details for values of enumeration when enum type is JSON object HOT 3
- is date-time supported in V201909 and latest version of jar HOT 1
- `oneOf` for empty array. HOT 1
- SLF4J 2 dependency, despite being fulfilled by older version HOT 9
- Unevaluated properties and subschemas HOT 4
- Unable to validate all elements of the array using 2020-12 Json schema HOT 4
- Schema validate always print "Failed to apply pattern" when validate fail HOT 1
- Invalid Schema Structure Not Being Enforced HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-schema-validator.