Skip to content

Commit 877c1b8

Browse files
Update explainer.md
1 parent 598cdaa commit 877c1b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

explainers/Sustainability/explainer.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# DevTools: Feature for Sustainable Web Development
22
Author:
3-
- [Taylore Givens](https://github.com/tayloregivens ), Program Manager
3+
- [Taylore Givens](https://github.com/tayloregivens), Program Manager
44
## Status of this feature
5-
This is a proposal for a new feature not yet in development. The team welcomes your feedback on this feature. Please [comment on this thread](https://github.com/MicrosoftEdge/DevTools/issues/26) to share your thoughts.
5+
This is a proposal for a new feature not yet in development. Please share your feedback [here](https://github.com/MicrosoftEdge/DevTools/issues/26).
66
## Definition
77
sustainability of a web app – energy consumption of a web app
88
## Introduction
@@ -26,21 +26,23 @@ Once the user navigates to the Issues panel, any issue or category relevant to i
2626
Sustainability labeling will be enabled by default but can be disabled to reduce noisiness. Categories or issues labeled as sustainable would be prioritized in the ordering of categories and issues.
2727

2828
### Sustainability Tab
29-
The Sustainability tab will be a hub for sustainability-related metrics and provide insight about web app energy consumption, third parties' impact on performance, and best practices to improve sustainability.
29+
This tab will be a hub for sustainability-related metrics and provide insights about web app energy consumption, third parties' impact on performance, and best practices to improve sustainability.
3030

31-
Some developers have suggested adding a website carbon calculator to DevTools, similar to the calculator on [Website Carbon](https://www.websitecarbon.com/). However, since these algorithms rely on inputting the byte size of the website and applying average ratios (i.e. kWh/byte and CO2 g/kWh) to get a carbon estimate, this methodology leaves many factors unaccounted for. Therefore, we propose displaying the carbon calculation as an estimate of carbon emitted from the *network transfer energy that goes into rendering a web app* rather than having the calculation represent the total carbon emissions associated with a web app.
31+
Although developers requested a web app carbon calculator feature in DevTools, like [Website Carbon](https://www.websitecarbon.com/), these types of algorithms are underdeveloped and inaccurate because they often rely on inputting the byte size of a website and applying average ratios (i.e. kWh/byte and CO2 g/kWh) to get a carbon estimate. This type of algorithm is better suited to estimate the carbon emitted from the network transfer energy used to render a web app rather than estimate the total carbon emissions associated with a web app.
3232

3333
#### Content and Usage
3434
The Sustainability tab will have three sections: Energy Consumption, Third Party Impact, and Best Practices.
3535

3636
Energy Consumption
3737

3838
> The Client-Device Energy and Network Transfer Energy sub-sections display metrics relevant to how much energy is used to render the web app on the client device and transfer it over the network to give the developer a sense of the energy consumed by the web app.
39-
> Client-device energy
39+
>
40+
> Client-Device Energy
4041
> - “Client-Device Energy Score“ is out of 100 and is based on the CPU utilization and GPU utilization of the web app's initialization compared to the average web app. The score will vary slightly depending on the client's device due to different hardware. The score should be used as a guideline metric to assess how incremental code changes affect the client device energy.
4142
> - CPU metrics such as the average CPU utilization and the live CPU utilization
4243
> - Link to Performance tab to further investigate CPU utilization
43-
> Network Transfer energy
44+
>
45+
> Network Transfer Energy
4446
> - Bytes transferred and number of network requests to give context to the amount of network activity the web app is generating
4547
> - Use an open-source API, such as the [Green Web Foundation API] (https://www.thegreenwebfoundation.org/green-web-feed/), to estimate carbon emissions due to the energy required to transfer bytes over the network
4648

0 commit comments

Comments
 (0)