know-it-all icon indicating copy to clipboard operation
know-it-all copied to clipboard

DOM updates degrade performance over time

Open Androbin opened this issue 6 years ago • 0 comments

In #42 I first naively updated and re-rendered all child nodes. The first few passes were quite fast but then it became slower and slower.

Profiling revealed that the rendered DOM nodes don't get cleaned up once replaced. There may be more to this but rendering also seemed to take the most time overall.

Androbin avatar Jul 23 '18 23:07 Androbin