You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "cdekok (via GitHub)" <gi...@apache.org> on 2023/01/26 15:55:00 UTC
[GitHub] [jena] cdekok opened a new issue, #1732: Poor performance Json LD deserialization
cdekok opened a new issue, #1732:
URL: https://github.com/apache/jena/issues/1732
### Version
4.7
### What happened?
The change to Json LD 1.1 deserialization has a big impact on performance, it causes a lot of CPU usage when the default changed our application was about 3x as slow, changing this back to the `Lang.JSONLD10` fixed this, but seeing as the new default is 1.1 it might need some performance tweaks.
### Relevant output and stacktrace
_No response_
### Are you interested in making a pull request?
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1732: Poor performance Json LD 1.1 deserialization
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #1732:
URL: https://github.com/apache/jena/issues/1732#issuecomment-1616138096
This seems to be an Titanium issue.
If there is some way Jena can use Titanium in a more efficient manner, please reopen this issue with new information.
Otherwise, short of forking and rewriting some of the Titanium code, there appears to be nothing to be done by Jena for this issue.
FYI: At Jena5, later this year (hopefully), we are planning on dropping JSON-LD 1.0 support. The jsonld-java project is still looking for a maintainer and project has not had a release since Dec 13, 2021.
JSON_LD related constants are to be deprecated in Jena 4.9.0 to prepare for this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1732: Poor performance Json LD 1.1 deserialization
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #1732:
URL: https://github.com/apache/jena/issues/1732#issuecomment-1406623777
Jena uses [Titanium JSON-LD](https://github.com/filip26/titanium-json-ld) for JSON-LD 1.1 parsing.
Jena uses jsonld-java for JSON-LD 1.0 parsing.
See also #1386.
@cdekok Is it Jena code or code from Titanium that is slow?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org
[GitHub] [jena] cdekok commented on issue #1732: Poor performance Json LD 1.1 deserialization
Posted by "cdekok (via GitHub)" <gi...@apache.org>.
cdekok commented on issue #1732:
URL: https://github.com/apache/jena/issues/1732#issuecomment-1406919304
Ah I didn't analyze it deep but as it's using titanium it seems it's a known issue https://github.com/filip26/titanium-json-ld/issues/184 so I guess that's probably where it should be improved but looking at the discussion not much will happen without any pr's which is fair, though maybe it could be made clear in the docs somewhere.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org
[GitHub] [jena] afs closed issue #1732: Poor performance Json LD 1.1 deserialization
Posted by "afs (via GitHub)" <gi...@apache.org>.
afs closed issue #1732: Poor performance Json LD 1.1 deserialization
URL: https://github.com/apache/jena/issues/1732
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] cdekok commented on issue #1732: Poor performance Json LD 1.1 deserialization
Posted by "cdekok (via GitHub)" <gi...@apache.org>.
cdekok commented on issue #1732:
URL: https://github.com/apache/jena/issues/1732#issuecomment-1616658442
Thanks for the information we will need to take some action in the future either solve the perfomance issues in titanium or migrate to a different format.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org