[Django]-Django Debug Toolbar: understanding the time panel

51đź‘Ť

âś…

User CPU time: The time your server-side code ran while processing the request

System CPU time: The time operating system code called by your server-side code ran while processing the request

Total CPU time: total time to fully respond once request was received (user+system)

Elapsed time: Time since request was made.

Context switches: This has to do with threads. Voluntary switches are times when a thread slept of its own accord (usually to wait for some of processing to occur that it needs to continue), whereas involuntary switches are times when the system forced a thread to sleep in order to run some other thread (usually part of asynchronous processes). It’s actually pretty low-level system stuff, that I couldn’t do justice to here. If you’re interested in learning more, just search for “context switching”.

👤Chris Pratt

Leave a comment