RESOLVED FIXED307912
Static analyzer report processing is slow due to inefficient find+mv command
https://bugs.webkit.org/show_bug.cgi?id=307912
Summary Static analyzer report processing is slow due to inefficient find+mv command
David Kilzer (:ddkilzer)
Reported 2026-02-14 14:14:54 PST
The `analyze` target in `OpenSource/Makefile.shared` uses an inefficient `find -exec mv {} \;` command that spawns a new `mv` process for each report file found. With hundreds of report-*.html files generated during static analysis, this creates significant performance overhead. The current implementation at line 203: ``` find $$dir -name 'report-*.html' -exec mv {} $$dir/StaticAnalyzerReports/ \;; ``` This spawns one `mv` process per file instead of batching files together, which is particularly slow when processing large numbers of static analyzer reports.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-14 14:15:02 PST
David Kilzer (:ddkilzer)
Comment 2 2026-02-14 14:24:23 PST
EWS
Comment 3 2026-02-14 14:38:47 PST
Committed 307589@main (478fb33f559a): <https://commits.webkit.org/307589@main> Reviewed commits have been landed. Closing PR #58730 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.