-
Notifications
You must be signed in to change notification settings - Fork 317
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
Replace Jackson library by simple data I/O streams #8693
Replace Jackson library by simple data I/O streams #8693
Conversation
Do you plan to also get rid of the JSON Object mapper in enso/engine/runtime/src/main/java/org/enso/interpreter/caches/ImportExportCache.java Line 183 in c109886
enso/engine/runtime/src/main/java/org/enso/interpreter/caches/SuggestionsCache.java Line 30 in c109886
These are the only usages of |
That could be nice, since their initialization is pretty expensive, even if done only once. |
Yes, let's do it! I've just added two tasks into this PR and I will do that by Monday.
That would be great achievement! The less dependencies, the better.
The only alternative is to switch to annotation processor based analysis like micronaut serde and eliminate the expensive initialization during runtime. However, given how easy it is to use |
The final results of last week speedups are visible in graph generated by:
On Jan 2 the
E.g. 13% speedup, congrats @Akirathan, @hubertp! |
c777315
to
f69efba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very nice. I also like the fact that the *.meta
files in IR caches are still readable from a text editor.
To eliminate compile time dependency on Jackson isn't really easy. There is
The remaining problem is |
Pull Request Description
Improving #8553 by using
DataOutputStream
andDataInputStream
instead of complex JSON serialization and deserialization.Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Java,
style guides.