RESOLVED DUPLICATE of bug 204420216100
run-webkit-tests spends 20-30 seconds "building" ImageDiff
https://bugs.webkit.org/show_bug.cgi?id=216100
Summary run-webkit-tests spends 20-30 seconds "building" ImageDiff
Jonathan Bedard
Reported 2020-09-02 14:52:04 PDT
Tools/Scripts/build-imagediff --release takes an inordinate amount of time for a null build (20-30 seconds), and run-webkit-tests calls it on every invocation, even if you pass --no-build. This is 40-50% of the time it takes to run-webkit-tests a single test in the iOS simulator, and thus would wildly increase the turnaround rate when developing a test.
Attachments
Patch (1.34 KB, patch)
2020-09-02 14:57 PDT, Jonathan Bedard
thorton: review-
Jonathan Bedard
Comment 1 2020-09-02 14:52:29 PDT
Jonathan Bedard
Comment 2 2020-09-02 14:57:33 PDT
Tim Horton
Comment 3 2020-09-02 15:11:32 PDT
Comment on attachment 407819 [details] Patch Won't _path_to_image_diff (which is @memoize'd) store the failure to find it in check_image_diff, and return that after we build it (thus making ImageDiff not found if it got built)?
Jonathan Bedard
Comment 4 2020-09-02 15:38:36 PDT
(In reply to Tim Horton from comment #3) > Comment on attachment 407819 [details] > Patch > > Won't _path_to_image_diff (which is @memoize'd) store the failure to find it > in check_image_diff, and return that after we build it (thus making > ImageDiff not found if it got built)? Likely yes, the right solution is probably to clear out the memoization, but our current @memoize doesn't support that
Alexey Proskuryakov
Comment 5 2020-09-02 18:18:15 PDT
Isn't bug 204420 the root cause here?
Tim Horton
Comment 6 2020-09-02 18:22:12 PDT
(In reply to Alexey Proskuryakov from comment #5) > Isn't bug 204420 the root cause here? Do you mean "isn't this a dupe of that"? I think the answer is "yes"!
Darin Adler
Comment 7 2020-09-02 21:20:44 PDT
*** This bug has been marked as a duplicate of bug 204420 ***
Note You need to log in before you can comment on or make changes to this bug.