JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
<body>
<h1>
Page Load Timer
</h1>
<p>
Time to load: <span id="result"></span>
</p>
<!-- Page structure/content stuff, etc ... -->
</body>
JavaScript
$(document).ready(function(event) {
var t1 = performance.now();
//console.log("PageLoad duration: " + t1 + " milliseconds.")
document.getElementById('result').innerHTML = t1;
});