Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Nexus Optimization

TysandrTysandr Member Posts: 491 ✭✭✭✭ - Eminent
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."

Advin
Sign In to Comment.