用于分析代码和 Django 查询的工具
项目描述
django-profiler
分析代码和 Django 查询的有用工具。
例子
from django_profiler.profile import Profiler
with Profiler(name='my-profiler'):
print("Hello World!")
输出:
Hello World!
Profiler: my-profiler
Number of Queries : 0
Finished in : 0.00s
2 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 profiling.py:45(__exit__)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
项目详情
关
sp_django_profiler -1.0.0-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | af15c313f31a0288e821174b8d83c6356615cc989e29152a6ec0169bfdb69561 |
|
| MD5 | 3fbfbd7f3798592f83e1f23c1be1dc9c |
|
| 布莱克2-256 | 47691ea40acf9252f90bf6c47ad16d50dabd02ec271784bc44740d2aa205a093 |