Skip to content

log node/edge/property count when loading proto CPGs#1815

Merged
maltek merged 3 commits into
masterfrom
mkraus/counts
May 7, 2025
Merged

log node/edge/property count when loading proto CPGs#1815
maltek merged 3 commits into
masterfrom
mkraus/counts

Conversation

@maltek
Copy link
Copy Markdown
Contributor

@maltek maltek commented May 7, 2025

No description provided.

@maltek maltek requested a review from bbrehm May 7, 2025 13:22
Copy link
Copy Markdown
Contributor

@mpollmeier mpollmeier left a comment

Choose a reason for hiding this comment

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

joernio/flatgraph#320 (review) applies here as well

flatgraph can log more cheaply log this info internally while loading a
graph. ODB graphs are converted on the fly to flatgraph, so that'll
happen for those graphs as well. Add this for protos, and all formats
are covered.
@maltek maltek changed the title log node/edge count when loading CPGs log node/edge/property count when loading proto CPGs May 7, 2025
@maltek maltek requested a review from mpollmeier May 7, 2025 14:50
@maltek
Copy link
Copy Markdown
Contributor Author

maltek commented May 7, 2025

I've added logging of counts during deserialization over in the other PR, so this PR now only logs counts for proto CPGs (the only CPGs not going through that code path)

@maltek maltek merged commit 2f23a6a into master May 7, 2025
1 check passed
@maltek maltek deleted the mkraus/counts branch May 7, 2025 16:39
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