Skip to content
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

Add eco ci energy estimation to github action #2

Merged
merged 7 commits into from
Oct 9, 2024

Conversation

ceddlyburge
Copy link
Owner

No description provided.

This also removes all the caching, so that I can re instate it later,
and see what difference it makes to the energy
The documentation was a bit misleading on this one
Copy link

github-actions bot commented Oct 4, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 24.6323 206.54 3.3859 78
Repo checkout 0.25 8.84448 1.7689 5
Setup node 10.7912 20.4741 2.55926 9
npm i 34.1913 92.9582 3.87326 24
build 26.0929 84.263 3.51096 25

📈 Energy graph:

 
 5.99 ┤                                                        ╭╮
 5.57 ┤                         ╭──╮                           ││
 5.14 ┤                         │  │                           ││
 4.72 ┤                    ╭╮   │  ╰╮                          │╰╮
 4.30 ┤                 ╭╮╭╯╰───╯   ╰╮╭──╮╭╮      ╭╮ ╭─╮╭╮   ╭─╯ ╰╮
 3.88 ┤         ╭──╮    │╰╯          ╰╯  ╰╯│    ╭╮│╰─╯ ││╰───╯    ╰
 3.46 ┤         │  │    │                  │    │││    ││
 3.03 ┤         │  │    │                  │    │││    ││
 2.61 ┤         │  │    │                  │    │││    ╰╯
 2.19 ┤         │  │    │                  │    │╰╯
 1.77 ┼─────────╯  ╰────╯                  ╰────╯
                              Watts over time

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

Copy link

github-actions bot commented Oct 4, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 17.7716 149.917 2.88302 72
Repo checkout 0.35 8.84448 1.7689 6
Setup node 11.3562 20.6323 2.57904 8
Cache node modules 5.37833 12.8168 2.13613 7
npm i 19.1118 33.351 3.03191 12
build 21.7391 74.2723 3.37602 23

📈 Energy graph:

 
 5.07 ┤                                       ╭╮
 4.74 ┤                                       ││
 4.41 ┤                       ╭─╮  ╭╮      ╭╮ ││     ╭╮
 4.08 ┤         ╭──╮    ╭╮    │ ╰──╯│    ╭╮││ ││╭╮╭──╯╰─╮
 3.75 ┤         │  │    ││    │     │    │││╰─╯╰╯╰╯     ╰─
 3.42 ┤         │  │    ││    │     │    │││
 3.09 ┤         │  │    ││    │     │    │││
 2.76 ┤         │  │    ││    │     │    │││
 2.43 ┤         │  │    ││    │     │    │╰╯
 2.10 ┤         │  │    ││    │     │    │
 1.77 ┼─────────╯  ╰────╯╰────╯     ╰────╯
                         Watts over time

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

Copy link

github-actions bot commented Oct 4, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 18.1715 153.113 2.88892 72
Repo checkout 0.2 8.84448 1.7689 6
Setup node 11.7788 21.1762 2.64702 8
Cache node modules 8.95 16.7852 2.39788 7
npm i 19.6064 33.5482 3.04984 12
build 21.9532 72.7589 3.30722 23

📈 Energy graph:

 
 4.89 ┤                                      ╭╮╭╮
 4.58 ┤                                      ││││
 4.27 ┤                        ╭╮            ││││
 3.95 ┤          ╭╮     ╭─╮    │╰────╮    ╭╮╭╯││╰╮╭─╮ ╭───╮
 3.64 ┤         ╭╯╰╮    │ │    │     │    │││ ││ ││ ╰─╯   │
 3.33 ┤         │  │    │ │    │     │    │││ ││ ╰╯       │
 3.02 ┤         │  │    │ │    │     │    │││ ╰╯          │
 2.71 ┤         │  │    │ │    │     │    │││             │
 2.39 ┤        ╭╯  │    │ │    │     │    │││             │
 2.08 ┤        │   │    │ │    │     │    │╰╯             │
 1.77 ┼────────╯   ╰────╯ ╰────╯     ╰────╯               ╰
                          Watts over time

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

Copy link

github-actions bot commented Oct 4, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 17.9908 146.412 2.76248 76
Repo checkout 0.902 8.84448 1.7689 6
Setup node 11.9 21.515 2.68938 9
Cache node modules 5.09 12.7625 2.12709 7
Cache .elm 0.45 8.84448 1.7689 6
npm i 22.2645 34.8894 3.17177 12
build 21.9533 59.5556 3.30865 18

📈 Energy graph:

 
 5.71 ┤                                 ╭╮      ╭╮
 5.31 ┤                                 ││      ││
 4.92 ┤                                 ││      ││
 4.53 ┤                            ╭─╮  ││      │╰╮
 4.13 ┤         ╭──╮    ╭╮         │ ╰──╯│    ╭─╯ ╰─────╮╭╮
 3.74 ┤         │  │    ││         │     │    │         ╰╯│
 3.34 ┤         │  │    ││         │     │    │           │
 2.95 ┤      ╭╮ │  │    ││         │     │    │           │
 2.56 ┤      ││ │  │    ││         │     │    │           │
 2.16 ┤      ││ │  │    ││         │     │    │           │
 1.77 ┼──────╯╰─╯  ╰────╯╰─────────╯     ╰────╯           ╰
                          Watts over time

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

Copy link

github-actions bot commented Oct 4, 2024

Old Energy Estimation

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 17.2369 149.835 2.77473 78
Repo checkout 0.15 8.84448 1.7689 6
Setup node 10.3925 20.4692 2.55865 8
Cache node modules 10.7429 17.0804 2.44006 7
Cache .elm 0.2 8.84448 1.7689 6
npm i 23.8464 35.469 3.22446 11
build 21.4672 59.1279 3.28488 19

📈 Energy graph:

 
 4.93 ┤                               ╭╮         ╭╮
 4.61 ┤                               │╰╮        │╰╮
 4.30 ┤                             ╭╮│ │        │ │
 3.98 ┤          ╭╮     ╭─╮         │╰╯ ╰─╮      │ ╰╮   ╭╮
 3.67 ┤         ╭╯╰╮    │ │         │     │    ╭─╯  ╰───╯╰─╮
 3.35 ┤         │  │    │ │         │     │    │           │
 3.03 ┤         │  │    │ │         │     │    │           │
 2.72 ┤         │  │    │ │         │     │    │           │
 2.40 ┤         │  │    │ │         │     │    │           │
 2.08 ┤         │  │    │ │         │     │    │           │
 1.77 ┼─────────╯  ╰────╯ ╰─────────╯     ╰────╯           ╰
                          Watts over time

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

Copy link

github-actions bot commented Oct 4, 2024

Eco-CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Total Run 17.9301 143.374 2.7572 75
Repo checkout 1.358 8.85143 1.77029 5
Setup node 11.4787 20.7664 2.5958 9
Cache node modules 5.62167 12.8567 2.14279 7
Cache .elm 0.3 8.84448 1.7689 6
npm i 23.9127 35.2255 3.20232 12
build 22.2265 56.8298 3.34293 17

📈 Energy graph:

 
 5.73 ┤                                         ╭╮
 5.34 ┤                               ╭╮        ││
 4.94 ┤                               ││        ││
 4.54 ┤                            ╭──╯╰─╮      ││
 4.15 ┤         ╭──╮    ╭╮         │     │    ╭─╯╰───────╮
 3.75 ┤         │  │    ││         │     │    │          │
 3.35 ┤         │  │    ││         │     │    │          │
 2.96 ┤         │  │    ││         │     │    │          ╰
 2.56 ┤         │  │    ││         │     │    │
 2.17 ┤    ╭╮   │  │    ││         │     │    │
 1.77 ┼────╯╰───╯  ╰────╯╰─────────╯     ╰────╯
                         Watts over time

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

@ceddlyburge ceddlyburge merged commit cde2020 into main Oct 9, 2024
1 check passed
@ceddlyburge ceddlyburge deleted the eco-ci-energy-estimation branch October 9, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant