green-coding-solutions / green-metrics-tool

Measure energy and carbon consumption of software
https://metrics.green-coding.io
GNU Affero General Public License v3.0
166 stars 22 forks source link

Uvicorn worker #788

Closed ArneTR closed 4 months ago

ArneTR commented 4 months ago

uvicorn.workers was deprecated. Moving to new class

Source: https://github.com/encode/uvicorn/pull/2302

github-actions[bot] commented 4 months ago
Eco-CI Output: Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 22.6229 1518.94 3.55724 435
Measurement #1 22.8838 1518.94 3.55724 427

📈 Energy graph:


 8.18 ┤                                                                                                                                    ╭───╮
 7.54 ┤                                                                                                                                    │   │
 6.90 ┤                                                                                                                             ╭╮     │   │
 6.26 ┤                                                                                                                             ││   ╭╮│   │
 5.62 ┤                                                                                                                 ╭─╮        ╭╯╰─╮ │││   │
 4.97 ┤                          ╭╮                                                                                     │ │    ╭╮  │   │ │╰╯   │
 4.33 ┤     ╭╮                  ╭╯╰╮                                               ╭╮                        ╭╮         │ │╭───╯│ ╭╯   ╰─╯     │      ╭╮    ╭╮╭╮
 3.69 ┤    ╭╯╰──────────────────╯  ╰───────────────────────────────────────────╮╭╮ │╰────────────────────────╯╰─────────╯ ╰╯    ╰─╯            ╰╮    ╭╯╰────╯││╰─╮        ╭─╮         ╭╮ ╭────╮         ╭╮          ╭╮╭─────╮╭────────────────────────────╮╭──────────╮╭───────────────╮                    ╭──────────╮╭─────────────────────────────────────────────────────────╮  ╭───────────────────────────╮╭────╮╭───────────╮╭───╮╭─╮╭───
 3.05 ┤    │                                                                   ╰╯│╭╯                                                            │    │       ╰╯  │        │ │╭╮       │╰╮│    │        ╭╯│╭╮       ╭╯││     ╰╯                            ╰╯          ││               ╰╮                   │          ││                                                         │ ╭╯                           ╰╯    ╰╯           ╰╯   ╰╯ ╰╯
 2.41 ┤    │                                                                     ╰╯                                                             │   ╭╯           │        │ │││       │ ││    │        │ ╰╯│       │ ││                                               ╰╯                │                   │          ╰╯                                                         ╰╮│
 1.77 ┼────╯                                                                                                                                    ╰───╯            ╰────────╯ ╰╯╰───────╯ ╰╯    ╰────────╯   ╰───────╯ ╰╯                                                                 ╰───────────────────╯                                                                      ╰╯
                                                                                                                                                                                                                     Watts over time

🌳 CO2 Data: City: Boydton, Lat: 36.677696, Lon: -78.37471 Carbon Intensity for this location: 365 gCO₂eq/kWh SCI: 0.554413 gCO₂eq / pipeline run emitted