RESOLVED FIXED 205668
REGRESSION (r253926): webgl/1.0.3/conformance/rendering/many-draw-calls.html is much slower, times out in debug
https://bugs.webkit.org/show_bug.cgi?id=205668
Summary REGRESSION (r253926): webgl/1.0.3/conformance/rendering/many-draw-calls.html ...
Alexey Proskuryakov
Reported 2019-12-31 15:07:31 PST
webgl/1.0.3/conformance/rendering/many-draw-calls.html is 2-3x slower after the switch to ANGLE. It now times out nearly every time in debug, but it got much slower in release too. You can see test run time here by toggling "show test times". https://results.webkit.org/?suite=layout-tests&test=webgl%2F1.0.3%2Fconformance%2Frendering%2Fmany-draw-calls.html
Attachments
ANGLE: Disable asserts in release builds. (1.72 KB, patch)
2020-01-09 14:36 PST, James Darpinian
dino: review+
Radar WebKit Bug Importer
Comment 1 2019-12-31 15:07:40 PST
Alexey Proskuryakov
Comment 2 2019-12-31 15:08:41 PST
Note that test history is somewhat misleading, because there was also an earlier issue on Mojave, bug 205412. The regression is super clear on Catalina.
Kenneth Russell
Comment 3 2019-12-31 15:13:24 PST
It's possible that draw call validation formerly done in WebKit and now subsumed by ANGLE simply needs to be #ifdef'd out.
James Darpinian
Comment 4 2020-01-09 13:43:06 PST
It looks like ANGLE is being compiled with asserts even in release builds, and asserts turn on a very expensive state validation code path. I will look into changing both of these.
James Darpinian
Comment 5 2020-01-09 14:36:33 PST
Created attachment 387274 [details] ANGLE: Disable asserts in release builds.
EWS Watchlist
Comment 6 2020-01-09 14:37:19 PST
Note that there are important steps to take when updating ANGLE. See http://trac.webkit.org/wiki/UpdatingANGLE
Kenneth Russell
Comment 7 2020-01-09 17:21:49 PST
Fantastic work James tracking this down!
Dean Jackson
Comment 8 2020-01-22 16:27:58 PST
Note You need to log in before you can comment on or make changes to this bug.