Get page load time with twig filters

Is there a possibility to get the current page load time with twig for displaying on page?

I don’t think you can get the actual load time on server side. Use JS for that. Check this post on SO