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

Uvicorn worker #788

Merged
merged 2 commits into from
May 28, 2024
Merged

Uvicorn worker #788

merged 2 commits into from
May 28, 2024

Conversation

ArneTR
Copy link
Member

@ArneTR ArneTR commented May 28, 2024

uvicorn.workers was deprecated. Moving to new class

Source: encode/uvicorn#2302

Copy link

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

@ArneTR ArneTR merged commit 016de0d into main May 28, 2024
4 checks passed
@ArneTR ArneTR deleted the uvicorn_worker branch May 28, 2024 19:52
ArneTR added a commit that referenced this pull request Jun 3, 2024
* main: (60 commits)
  Adds a script to remove carbonDB duplicates (#799)
  Bump uvicorn[standard] from 0.30.0 to 0.30.1 (#801)
  Power per container (#795)
  Wrong verb
  Removed more permissions
  Moved to suspend
  Reducing workflow permissions (#797)
  Moving our workflows to Ubuntu 24.04 because Docker Engine is too old in 22.04 (#794)
  Typo
  Client.py error for docker commands
  Adding network to SCI and clarifications (#793)
  Bump requests from 2.32.2 to 2.32.3 (#791)
  Added sorting by date and unified ci and measurement runs frontend (#769)
  Bump pydantic from 2.7.1 to 2.7.2 (#789)
  macOS test compatibility
  Relaxed tests more to accomodate for different startup times on slower machines
  Relaxed tests
  Uvicorn worker (#788)
  Bump uvicorn[standard] from 0.29.0 to 0.30.0 (#787)
  Add test with missing start_period
  ...
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