jazzband / django-silk

Silky smooth profiling for Django
MIT License
4.35k stars 333 forks source link

question: How overall is calculated? #655

Open imperiumdrive opened 1 year ago

imperiumdrive commented 1 year ago

Hi, I can see that one of my requests took 43633ms to complete in "Overall": image But it only took 15ms for the queries and the CProfile shows that it only took 43.619 seconds for all the function calls: image So how is the "overall" calculated and where are the 43633ms coming from? Thanks

melicheradam commented 1 year ago

Hi @imperiumdrive, obviously it is 43 619ms of code running + 15ms of query execution which totals to overall 43 634 (some rounding made it to 43 633). You may have some ineffective loops in your code.