Hacker News new | ask | show | jobs
by ShadowOfThePit 5 days ago
The site is using half of my CPU, and lags out my entire browser. It's extremely slow and borderline unusable!

What in the world could it possibly be doing in the background?? Is it a bad implementation of a react SPA? Since the entire site is stored in this 700kb JS file...

https://buttons.joshwcomeau.com/assets/index-CJeelgWZ.js

9 comments

I hoped there was a zip file of the audio clips but when scrolling did not work I did not stick around long enough to find out.
Yeah, this is insanely inefficient and overengineered, considering it's a UI that basically just has a list and some buttons. My laptop's fan spun up to 100% and my machine got very hot after just a minute or two of clicking.
This is common issue with LLM webpages and using huge CSS blurs / etc for things like the CRT mask etc. If your browser is not GPU accelerated it will be horrifically slow and laggy and there is no fallback.
Ditto, almost felt like the entire thing would crash
For anyone else finding the demo site's value to resource use ratio is much too low, the sounds are stored in the git repo: https://github.com/joshwcomeau/button-sounds
Got the same terrible performance on on Firefox on Android. It is ironic that the page is dedicated to the fine tuning of user experience and the main button is lagging almost half a second after a press.
Not just me then! On mobile it is basically unusable.
Ah, so THAT'S why my phone has become this warm. Explains a lot.
my mac mini m2 went from 55°C to 80°C when i'm using this site