meta data for this page
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ixc2024:tech:tools:greenframe [2024/05/22 11:20] – rubenhuygens | ixc2024:tech:tools:greenframe [2024/05/22 15:31] (current) – rubenhuygens | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | How Does GreenFrame | + | === What is GreenFrame and How Does It Work? === |
| - | GreenFrame relies on a scientific model of the energy consumption of a digital system built in collaboration with computer scientists at Loria. | + | {{: |
| - | While running the scenario, | + | **GreenFrame** is a command-line tool designed |
| - | It then uses the GreenFrame Model to convert each of these metrics into energy consumption in Watt.hours. GreenFrame sums up the energy of all containers over time, taking into account a theoretical datacenter PUE (set to 1.4, and configurable) for server containers. This energy consumption is then converted into CO2 emissions using a configurable " | + | **Key Features:** |
| - | GreenFrame | + | - **Scientific Basis: |
| + | - **Data Collection: | ||
| + | - **Energy Calculation: | ||
| + | - **CO2 Conversion: | ||
| + | - **Repetition for Accuracy:** The scenario is repeated three times to compute | ||
| - | For more details about the GreenFrame Model, | + | For detailed information on the GreenFrame Model, |
| - | GreenFrame.io: | + | === Factors Influencing |
| - | Which Factors Influence The Carbon Footprint? | + | According to our research, the carbon footprint of a web page is influenced by several factors: |
| - | Based on our research, the carbon footprint | + | - **Scenario Duration:** The length of time the scenario runs. |
| + | - **Page Size:** Includes HTML, CSS, JS, images, fonts, etc. | ||
| + | - **JavaScript Execution: | ||
| + | - **Third-Party Tags:** Ads, analytics, and other external tags. | ||
| + | - **Page Complexity: | ||
| + | - **Server Impact:** Server containers usually contribute around 5% to the total carbon footprint. | ||
| - | The duration of the scenario | + | Optimizing |
| - | The size of the page (HTML, CSS, JS, images, fonts, etc.) | + | |
| - | The amount of JS executed on the browser | + | |
| - | The number of third-party tags (ads, analytics, etc.) | + | |
| - | The complexity of the page (number of DOM elements, number of layout changes, etc.) | + | |
| - | Server containers have a low impact on the carbon footprint (around 5% in most cases). | + | |
| - | This means that the lowest hanging fruit for optimizing | + | === Example Usage === |
| + | |||
| + | To estimate | ||
| - | === What is GreenFrame? === | ||
| - | GreenFrame is a command-line tool that estimates the carbon footprint of web apps at every stage of the development process. Put it in your Continuous Integration workflow to get warned about " | ||
| - | === Example === | ||
| - | For instance, to estimate the energy consumption and carbon emissions of a visit to a public web page, call greenframe analyze: | ||
| $ greenframe analyze https:// | $ greenframe analyze https:// | ||
| ✅ main scenario completed | ✅ main scenario completed | ||
| - | The estimated footprint is 0.038 g eq. co2 ± 1.3% (0.085 Wh). | + | The estimated footprint is 0.038 g eq. CO2 ± 1.3% (0.085 Wh). |
| + | |||
| + | |||
| + | GreenFrame provides a clear and actionable way to measure and reduce the carbon footprint of web applications, | ||
| + | |||
| + | |||
| + | === Links === | ||
| + | - [[https:// | ||
| + | - [[https:// | ||