Skip to content

RDF4J: disable checking by default, allow enabling via factory setting#549

Merged
Karolina-Bogacka merged 2 commits intomainfrom
piotr/rdf4j-checking-disable
Sep 28, 2025
Merged

RDF4J: disable checking by default, allow enabling via factory setting#549
Karolina-Bogacka merged 2 commits intomainfrom
piotr/rdf4j-checking-disable

Conversation

@Ostrzyciel
Copy link
Member

Unfortunately, the term validation stack in RDF4J is very heavy, and with it the Jelly parser become 2–4x slower. I think it makes more sense to disable all the checks by default.

To make it possible to enable these checks in RDF4J parser consistency tests, I also added a setting on the parser factory itself, to control whether parser instances produced by it will be checking or not.

Unfortunately, the term validation stack in RDF4J is very heavy, and with it the Jelly parser become 2–4x slower. I think it makes more sense to disable all the checks by default.

To make it possible to enable these checks in RDF4J parser consistency tests, I also added a setting on the parser factory itself, to control whether parser instances produced by it will be checking or not.
@codecov
Copy link

codecov bot commented Sep 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ Complexity Δ
...nk/jelly/convert/rdf4j/rio/JellyParserFactory.java 100.00% <100.00%> (+25.00%) 0.00 <0.00> (ø)
...k/jelly/convert/rdf4j/rio/JellyParserSettings.java 63.63% <100.00%> (ø) 0.00 <0.00> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Karolina-Bogacka Karolina-Bogacka merged commit 51d0f63 into main Sep 28, 2025
12 checks passed
@Karolina-Bogacka Karolina-Bogacka deleted the piotr/rdf4j-checking-disable branch September 28, 2025 15:40
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.

2 participants