I'm actually working on a Django website, working with django debug toolbar, on a digital ocean small dropplet. It all work with Postgresql, Django, gunicorn and Nginx.
What's bugging me is that the rending time is about 2.5 sec, and most of it is about the User CPU time.
Resource Value
User CPU time 2271.395 msec
System CPU time 86.142 msec
Total CPU time 2357.537 msec
Elapsed time 2483.655 msec
Context switches 8 voluntary, 469 involuntary
Browser Chronology
domainLookup 0 (+0)
connect 0 (+0)
request 3 (+-1419272753107)
response 5653 (+-1419272758757)
domLoading 5669 (+-1419272758773)
domInteractive -1419272753104
domContentLoadedEvent -1419272753104 (+0)
loadEvent -1419272753104 (+0)
So, I wanted to increase the speed, I set up a fast Digital Ocean droplet (the biggest one), and the time look like the same. I understand that a biggest droplet mostly means more CPU Core, and thus, more simultaneous request.
But then the questions are those two :
- What is that User CPU time in opposite to the system CPU time ?
- How can I reduce that User CPU time ?