[analyzer][report-converter] Track and display per-file analysis dura… - #5037
Open
Muteeb-Haider wants to merge 3 commits into
Open
[analyzer][report-converter] Track and display per-file analysis dura…#5037Muteeb-Haider wants to merge 3 commits into
Muteeb-Haider wants to merge 3 commits into
Conversation
…tion/memory stats Records per-source analysis duration and peak RSS during 'CodeChecker analyze', persists them in metadata.json, and has 'CodeChecker parse' render top-10 slowest/most memory-hungry files as PrettyTable output. Also extends twodim.to_table() with ellipsis-truncated columns so wide per-analyzer tables stay readable in a terminal.
Muteeb-Haider
force-pushed
the
muteeb/analysis-duration-stats
branch
from
August 17, 2026 21:58
fcd4580 to
8f8722b
Compare
…ts feature Fix pycodestyle indentation and mypy type errors in twodim.py and analyzer.py that broke the lint and type-checker jobs. Gate the new per-file duration/memory statistics tables in 'CodeChecker parse' behind an opt-in --perf-stats flag (matching --print-steps), since printing them unconditionally broke ~105 golden-output functional tests that compare exact CLI text.
The web-side pylint run (which also scans tools/report-converter) flagged unnecessary parens around a keyword argument value that the analyzer/report-converter-local pylint scopes didn't catch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…tion/memory stats
Records per-source analysis duration and peak RSS during 'CodeChecker analyze', persists them in metadata.json, and has 'CodeChecker parse' render top-10 slowest/most memory-hungry files as PrettyTable output. Also extends twodim.to_table() with ellipsis-truncated columns so wide per-analyzer tables stay readable in a terminal.