4 ms·
Nodemailer postinstall script wastes 2 months of computation time every week
- theamk 6y agoSummary: the script shows advertisement, and adds a 4 second delay after that. But the tweet is actually incorrect. setTimeout call does not use any "computation time" (or "cpu time" or "userspace time"). It does waste wall-clock time, but CPU can do other things at that time. As long as your machine has other things to do, nothing is wasted.
- anandchowdhary 6y agoThanks for pointing this out! The idea here was that CI/CD systems (such as self-hosted runners) charge for the wall-clock time.