meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ixc2024:tech:tools:greenframe [2024/05/22 11:05] – rubenhuygens | ixc2024:tech:tools:greenframe [2024/05/22 15:31] (current) – rubenhuygens | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === What is GreenFrame? === | + | === 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** is a command-line tool designed to estimate the carbon footprint of web applications at every stage of the development process. By integrating GreenFrame into your Continuous Integration workflow, you can monitor " | ||
+ | |||
+ | **Key Features: | ||
+ | |||
+ | - **Scientific Basis:** GreenFrame' | ||
+ | - **Data Collection: | ||
+ | - **Energy Calculation: | ||
+ | - **CO2 Conversion: | ||
+ | - **Repetition for Accuracy:** The scenario is repeated three times to compute the average energy consumption and CO2 emissions, providing a confidence interval with the standard deviation of these values. | ||
+ | |||
+ | For detailed information on the GreenFrame Model, refer to the article on the Marmelab blog: [[https:// | ||
+ | |||
+ | === Factors Influencing the Carbon Footprint | ||
+ | |||
+ | According to our research, the carbon footprint of a web page is influenced by several factors: | ||
+ | |||
+ | - **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. | ||
+ | |||
+ | Optimizing the emissions of a web page can be effectively achieved by employing Web Performance Optimization (WPO) techniques. | ||
+ | |||
+ | === Example Usage === | ||
+ | |||
+ | To estimate the energy consumption and carbon emissions of a visit to a public web page, use the following GreenFrame command: | ||
+ | |||
+ | |||
+ | $ greenframe analyze | ||
+ | ✅ main scenario completed | ||
+ | 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:// |