dmontagu / fastapi-utils

Reusable utilities for FastAPI
MIT License
1.89k stars 165 forks source link

[QUESTION] What `Wall` means? #263

Open FilipeMarch opened 1 year ago

FilipeMarch commented 1 year ago

Description

When you add a timing middlware I see this on the LOGs:

INFO:app.engine:TIMING: Wall:  320.7ms | CPU:   12.7ms | app.app.users.router.create_user

It is not clear what Wall means... A lot of routes the Wall and CPU values are the same, but sometimes not. I would appreciate any input why this is the case, and what wall means

Additional context image

homm commented 1 year ago

It's wall clock time. It differs from CPU time on async tasks.