ethereum / eth-wiki

Ethereum Wiki
https://eth.wiki
48 stars 43 forks source link

Wiki is very slow #49

Open davidmurdoch opened 4 years ago

davidmurdoch commented 4 years ago

https://eth.wiki/json-rpc/API takes more than 4 seconds to load on a 120Mbps connection on a machine with a Core i9 processor.

It scores a 7/100 on PageSpeed Insights for mobile, and 20/100 for Desktop (see: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Feth.wiki%2Fjson-rpc%2FAPI&tab=desktop)

The same page hosted here on GitHub scored 74/100 and 99/100, respectively, and took under a second to load and render, uncached.

Each linked RPC method takes about 2-3 seconds to load due to the scrolling animation.

If you browse without JavaScript (in order to subvert the CPU-bound load time and scrolling animations) the page doesn't render at all.

The new JSON-RPC wiki page seems to add nothing of value over the old wiki (the aesthetics don't count).

dreamsmasher commented 3 years ago

Glad to see somebody else is having this problem. I had the same page open and it started eating up a full core in the background (i5-7600k) hours after I loaded it.