Discourse does not work like a traditional website where each click reloads a webpage. First click times are not representative of general performance.
Try measuring subsequent clicks and comparing timing, e.g. first click to load the JS app in the browser
Subsequent clicks to show a topic