An unofficial, read-only Hacker News reader. Join the beta →

Button Sounds – collection of professionally-recorded button clicks and presses (opens external site)

905 points by gaurang_tandon 3 days ago | buttons.joshwcomeau.com | 136 comments on HN

View full thread · View on Hacker News

Comment thread (10)

  1. 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

    Replies (9)
    1. Not just me then! On mobile it is basically unusable.
    2. my mac mini m2 went from 55°C to 80°C when i'm using this site
    3. Ditto, almost felt like the entire thing would crash
    4. 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.
    5. Ah, so THAT'S why my phone has become this warm. Explains a lot.
    6. 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.
    7. 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.
    8. 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.
    9. 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