3 ms·
No idea if anyone was complaining, but if building in CI it shaves off some pennies (or more?) no?
by sodapopcan 2y ago
No idea if anyone was complaining, but if building in CI it shaves off some pennies (or more?) no?
- teaearlgraycold 2y agoGiven its popularity this can actually get into measurable carbon emission savings. Not world changing. But maybe a few international flights over the lifespan.
- Sesse__ 2y agoThe carbon cost of a bloated CSS framework isn't the build time, it's the billions of times the resulting CSS has to be parsed and applied on the web pages where it's used.
- yurishimo 2y agoHave you examined the build artifacts of a site using tailwind? The size of the CSS is often smaller than the same styling in "normal" hand written CSS. There are a dozen blog posts from large engineering orgs that have confirmed that switching to Tailwind slimmed their builds down. Shopify has been a big proponent of Tailwind and they are absolutely obsessed with shipping as little code as possible because of the scale they operate at. Also, browsers are insanely good at parsing and applying CSS. You need hundreds of thousands of unique selectors before the browser takes more than fraction of a second to parse and render an entire CSS file. https://www.trysmudford.com/blog/i-spent-a-day-making-the-website-go-2ms-faster/ https://www.trysmudford.com/blog/i-spent-a-day-making-the-we...
- Sesse__ 2y agoYes, I have. I work on browser CSS performance.