V8 perf: selection_call getting deoptimized #3532
Labels
bluesky
Bluesky issues are extra challenging - this might take a while or be impossible
performance
Optimizing for speed and efficiency
Profiling turns up a lot of deopts in our render code:
These all have the reason listed as "Not optimized: Bad value context for arguments value"
Details here
I think what that means is that if we are going to use
selection.call
to call functions, all those functions should not have properties attached to them (or should have the same properties).i.e. It's ok to
selection.call(drawVertices, ...)
but once we throw in something likeselection.call(drawVertices.drawHover, ...)
, the call sites are no longer monomorphic and all of ourselection.call
get deoptimized.The text was updated successfully, but these errors were encountered: