I am working on updating my Electron app from Electron 4 (Chromium 69) to Electron 8 (Chromium 80). I am occasionally experiencing random delays in my app while calling a JS function to process HTML DOMs (no external callouts).
Looking closely at the profiling data collected from the Windows Performance Analysis tool, I am seeing the following calls during the repro:
v8::internal::Runtime_LoadIC_Miss
- 55%
v8::internal::LoadIC::Load - 13%
More details on the LoadIC_Miss:
v8::internal::IC::UpdatePolymorphicIC
v8::internal::IC::SetCache
v8::internal::LoadIC::UpdateCaches
v8::internal::LoadIC::Load
v8::internal::Runtime_LoadIC_Miss
Very few instances of the above occurred in a normal condition, only when there was a perf issue.
I'd like to understand more what inline cache is doing. Have there been many churns in this area since Chromium 69?
Any hints or suggestions on the next step of investigation is appreciated. Thanks in advance.
Way