Closed daxim closed 5 years ago
I can reproduce the choppy scrolling (which I agree is probably from syntax highlighting javascript) but not the slow loading time. What browser are you using? Can you use your browser debug tools to determine where the delay occurs?
Same problem on Firefox 67.0.1 FF almost freezes completely.
As suspected, it's the syntax highlighter. Also Fx 67
I have disabled syntax highlighting on any verbatim block with over 5000 characters, which should prevent this issue. Thanks for the report.
Despite its size, https://perldoc.pl/perluniprops loads fine with 3rd party domains blocked (bootstrapcdn.com, cloudflare.com, jquery.com).
With them enabled, browser performance takes a nosedive: scrolling becomes choppy, browser UI/chrome interactivity lags seconds behind, renders only up to the big table, complete page only finishes after 10 seconds. I guess it's the fault of syntax highlighting, but I didn't verify. Can this be done async or otherwise improved?