mozilla::GetLinkActiveInfo can take a long time on macOS
Categories
(Core :: Graphics: CanvasWebGL, defect, P2)
Tracking
()
People
(Reporter: jrmuizel, Unassigned)
References
(Depends on 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•3 months ago
|
||
Dropping this into triage for the team to look at.
| Reporter | ||
Comment 2•3 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•3 months ago
|
Comment 3•2 months 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•2 months ago
|
||
Do we query the same information multiple times?
Comment 5•17 days ago
|
||
We'll pursue this when Bug 2027951 lands.
Description
•