Nexus Optimization

Not sure who needs to see this but I think .insertAdjacentHTML seems to currently be significantly better than using .innerHTML in .appendChild, at least on Brave/Chrome.

@Nicola
@Makarios

Using .insertAdjacentHTML ~ 0.6ms


Using .innerHTML ~ 12.4ms, or about 20 times more?


Looks similar on Nexus


May or may not be correct, but definitely worth a look?


"All we have to decide is what to do with the time that is given to us."

Sign In or Register to comment.