Bug 307912

Summary: Static analyzer report processing is slow due to inefficient find+mv command
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.