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

Json compression #308

Merged
merged 8 commits into from
Feb 14, 2024
Merged

Json compression #308

merged 8 commits into from
Feb 14, 2024

Conversation

HLWeil
Copy link
Member

@HLWeil HLWeil commented Feb 8, 2024

Added compressed json encoders to reduce size of output json. These make use of Cell-, OntologyAnnotation- and Stringtables to deduplicate information.
In DotNet it's not only much smaller, but also much faster. Unfortunately, this is not the case for JS. Therefore the performance test is pending in Fable.

Copy link
Collaborator

@Freymaurer Freymaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, ut pls open an issue requesti g Thoth.Json update to check if performance in js is still lacking

@@ -48,9 +51,6 @@
<NpmPackage Name="jsonschema" Version="gte 1.1.0 lt 2.0.0" ResolutionStrategy="Max" />
</NpmDependencies>
</PropertyGroup>
<ItemGroup>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleting this IS WORST CASE! THIS WILL BREAK ALL JS TOOLS AGAIN 😨

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Why does vs do this to us though? 😢

@HLWeil
Copy link
Member Author

HLWeil commented Feb 14, 2024

#312

@HLWeil HLWeil merged commit 6309e03 into main Feb 14, 2024
2 checks passed
@HLWeil HLWeil deleted the json-compression branch February 14, 2024 16:36
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.

None yet

2 participants