-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd love to have some CO2 accounting as part of DevTools #26
Comments
Thanks for the feature request! Having something like this in DevTools seems like a good idea. Here are 2 thoughts about this:
@hxlnt what do you think? |
I like this idea--great way to give visibility to developers on this aspect of web development. Thanks for the feedback! In terms of where to integrate, I agree that extensions and the Issues panel might be the two most sensible DevTools surfaces for this feedback. In the Issues panel, I could imagine an issue being surfaced when a page exceeds a certain CO2 threshold, while an extension could provide on-demand insight. Not sure whether inclusion in webhint would be the right fit given that the project tends to focus on recommendations that include specific actionable fixes in the codebase; we would need to dive in more to see how granular some of these tools are. |
Lots of interest in this for WebPageTest too. catchpoint/WebPageTest#1613 |
Thanks for kicking off the conversation, @mgifford, and for the great comments throughout. This is something we're keen to look into, but more research is needed to compare the different assessment methods as well as how the results might be surfaced in DevTools. Marking this as |
If you're looking for an extension creating a new DevTools panel, there is GreenIT-Analysis : https://chrome.google.com/webstore/detail/greenit-analysis/mofbfhffeklkbebfclfaiifefjflcpad?hl=fr |
There are extensions, but ultimately how do we help developers understand the impacts of bloated sites by default. If they have to install an extension, it's going to be of minimal value, as we know most folks just won't. |
Yes, it sure would be better to have this by default directly in the DevTools. It would be great to have such items (CO2eq estimation + checking for best practices) natively in the DevTools. We had some discussion about that with @rviscomi regarding Chrome but this should be the case for as many browsers as possible.
Even if more and more professionals are interested is this topic, involving browsers (natively) could be a game-changer! |
As pointed out by Henri on Twitter: WebPageTest is starting to add some of this information in their tool. More info: https://blog.webpagetest.org/posts/website-performance-and-the-planet/ (Edit: sorry, I somehow missed @tkadlec's comment above before posting). |
Agreed. Getting this in front of as many people as possible, regardless of what browser (or tool, like WebPageTest) they are using, seems like the right thing to do. |
Will also worth keeping an eye on what The Green Web Foundation are doing around proposing a carbon.txt convention. |
I'm wondering how we could tackle this efficiently.
Ideally, I think the hypothetical implementation for Edge could serve as an example for other browsers/tools but, since some of them are already on the same topic, this might not be the optimal way to go. Even if this is only due for late 2021, I will consider including a section about the future of browsers and tools for a sustainable web in the 2022 Sustainability chapter for Web Almanac. The point is not here would not be to state the ultimate truth but share ideas and start discussions. |
Ideally there would just be something in the address bar of the page, right? Some indication that a site might have a greener or browner profile. Could be like how Immersive Reader mode or ssh is added. Just something subtle. Should also be something that is easier to compute than say a Lighthouse score. Could just be something like bytes loaded perhaps. Maybe it could identify if the IP is in the Green Web Foundation's list of renewably powered servers. Could be really simple. |
Yes, I see what you mean. |
Really useful tools like https://www.websitecarbon.com & https://www.thegreenwebfoundation.org
Have lots of useful information to help developers assess the CO2 footprint of their work. This should be something that was just built into our developer tools.
We should see the relative CO2 emissions of a page.
AB#39825299
The text was updated successfully, but these errors were encountered: