When I add some users in jupyter, constantly switching users makes the response of /api/metrics slowly.
Suppose there are two users root and jov, I try the following command,
# default user is jov, now switch to root
sudo su
# switch to jov
su jov
# switch to root
sudo su
# switch to jov
su jov
...
before switching users, the response time of /api/metrics is 300ms
After switching uses, the response time of /api/metrics is 1600ms.
This is too weird