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 AvscSchemaWriter #537

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

karthikrg
Copy link
Contributor

AvscSchemaWriter currently creates a DOM object and then serializes it into a string. This wastes both CPU and memory. Instead use the Jackson streaming API to directly serialize to string. There are APIs available to get a DOM object from a JsonGenerator if needed for debugging purposes.

Add more logging and fix parallelism inside SchemaBuilder.

@xiaoyu-yang-gh xiaoyu-yang-gh merged commit 42ca14f into linkedin:master Jan 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants