We've compiled some recommendations for modernizing your web app and avoiding performance pitfalls.
Date.now()
and always increases at a constant rate, independent of the system clock.
<script async>
to load scripts. document.write()
is considered harmful for performance.