Skip to content

Initial implementation with context parameters#162

Merged
Ostrzyciel merged 4 commits intomainfrom
GH-74/inspect-report-size
Jul 16, 2025
Merged

Initial implementation with context parameters#162
Ostrzyciel merged 4 commits intomainfrom
GH-74/inspect-report-size

Conversation

@niegrzybkowski
Copy link
Contributor

Closes #74

Everything came together really nicely with context parameters.

One thing is that I'm not sure how accurate the statistics are. I use getSerializedSize() of ProtoMessage as the source (and length of encoded string + 1 for the tag byte), but I'm not sure if these are correct.

I was hoping that triples_size would equal subject_size + predicate_size + object_size, but that isn't the case.

@niegrzybkowski niegrzybkowski linked an issue Jul 16, 2025 that may be closed by this pull request
@niegrzybkowski niegrzybkowski marked this pull request as ready for review July 16, 2025 13:22
Copy link
Member

@Ostrzyciel Ostrzyciel left a comment

Choose a reason for hiding this comment

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

looks good!

@Ostrzyciel Ostrzyciel merged commit 96e1519 into main Jul 16, 2025
7 checks passed
@Ostrzyciel Ostrzyciel deleted the GH-74/inspect-report-size branch July 16, 2025 14:52
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.

rdf inspect: add an option to report size statistics

2 participants