How to calculate response time in Django Python

后端 未结 4 1112
半阙折子戏
半阙折子戏 2021-01-23 05:19

I am new to Django Python. Please advise how to calculate a response time from the moment where the user input the search criteria until the relevant information are loaded/disp

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-23 06:04

    You can see it in the internet browsers (F12) or if you use POSTMAN, it show the time. In also you can use standard python library time for measuring the execution time of a piece of code.

提交回复
热议问题