Skip to content

[analyzer][report-converter] Track and display per-file analysis dura… - #5037

Open
Muteeb-Haider wants to merge 3 commits into
Ericsson:masterfrom
Muteeb-Haider:muteeb/analysis-duration-stats
Open

[analyzer][report-converter] Track and display per-file analysis dura…#5037
Muteeb-Haider wants to merge 3 commits into
Ericsson:masterfrom
Muteeb-Haider:muteeb/analysis-duration-stats

Conversation

@Muteeb-Haider

Copy link
Copy Markdown
Contributor

…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
Muteeb-Haider requested a review from bruntib as a code owner August 17, 2026 21:53
…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
Muteeb-Haider force-pushed the muteeb/analysis-duration-stats branch from fcd4580 to 8f8722b Compare August 17, 2026 21:58
…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.
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.

1 participant