没有合适的资源?快使用搜索试试~ 我知道了~
django-speedinfo:适用于小型项目的Django视图探查器
共48个文件
py:35个
svg:2个
toml:1个
需积分: 9 0 下载量 26 浏览量
2021-02-03
03:26:56
上传
评论
收藏 96KB ZIP 举报
温馨提示
django-speedinfo django-speedinfo是一个用于Django项目的实时性能分析工具,用于查找负载最高的视图以进行下一步优化。 django-speedinfo计算调用次数,缓存命中次数,SQL查询,衡量平均和总调用时间以及每个视图的更多信息。 Django管理员中提供了详细的报告和事件探查器控件。 先决条件 Python 2.7、3.6+ Django 1.8以上 安装 pip install django-speedinfo 从1.x升级 升级后,旧的分析数据将不可用。 不要忘记提前导出数据。 设置存储后端之一,如下面“的第4节所示。 SPEEDINFO_PROFILING_CONDITIONS默认为空。 如果在项目中使用SPEEDINFO_EXCLUDE_URLS ,则需要显式初始化条件列表: SPEEDINFO_PROFILING_CONDITIONS = ["speedinfo.conditions.exclude_urls.ExcludeURLCondition"] SPEEDINFO_REPORT_COLUMNS和SPEEDINFO_R
资源推荐
资源详情
资源评论
收起资源包目录
django-speedinfo-master.zip (48个子文件)
django-speedinfo-master
.travis.yml 783B
poetry.lock 7KB
pyproject.toml 1KB
screenshots
main.png 65KB
tests
test_middleware.py 5KB
test_profiler.py 692B
test_conditions.py 2KB
__init__.py 0B
test_storage.py 5KB
settings.py 2KB
test_apps.py 3KB
views.py 779B
urls.py 523B
test_admin.py 5KB
test_models.py 809B
LICENSE 1KB
speedinfo
models.py 3KB
managers.py 503B
conf.py 1KB
apps.py 3KB
backends.py 1KB
utils.py 611B
templates
admin
speedinfo
change_list.html 889B
conditions
__init__.py 0B
exclude_urls.py 1KB
dispatcher.py 580B
base.py 738B
middleware.py 6KB
profiler.py 1KB
static
speedinfo
css
admin.css 569B
img
icon-turned-off.svg 151B
icon-turned-on.svg 151B
js
jquery.fixed-table-header.js 1KB
storage
cache
storage.py 3KB
__init__.py 0B
database
models.py 798B
storage.py 2KB
__init__.py 0B
migrations
__init__.py 0B
0001_initial.py 1KB
__init__.py 0B
base.py 1KB
__init__.py 134B
admin.py 4KB
runtests.py 385B
.gitignore 36B
README.md 9KB
.flake8 331B
共 48 条
- 1
资源评论
xianzhang
- 粉丝: 20
- 资源: 4594
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功