mozilla::GetLinkActiveInfo can take a long time on macOS
Categories
(Core :: Graphics: CanvasWebGL, defect, P1)
Tracking
()
People
(Reporter: jrmuizel, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
See https://share.firefox.dev/47vJTTs which is a profile of the test case from bug 918941 comment 22
Comment 1•2 months ago
|
||
Dropping this into triage for the team to look at.
| Reporter | ||
Comment 2•2 months ago
|
||
In my testing it seems like glpABIGetStructTypeRangeOfField gets more expensive as the array gets larger and it gets called O(number of array elements) times.
Updated•2 months ago
|
Comment 3•27 days ago
|
||
NeedInfo - do we have anyone who wants to take a look at this?
Context: I recall Kelsey mentioned this slow compile bug is caused by Apple having a particularly slow implementation of glGetActiveUniformsiv, where other vendors have a caching implementation that answers quickly after the first call, so we should cache this ourselves across calls for the same program identifier. Entirely going by memory here, but that's what I remember.
| Reporter | ||
Comment 4•27 days ago
|
||
Do we query the same information multiple times?
Description
•