pytest-austin:使用Austin进行Python性能测试

时间:2021-02-06 11:11:44
【文件属性】:
文件名称:pytest-austin:使用Austin进行Python性能测试
文件大小:122KB
文件格式:ZIP
更新时间:2021-02-06 11:11:44
python testing performance profiling TestingPython 使用Austin进行Python性能测试 •••• 概要 该pytest奥斯汀插件带来了Python的性能测试到您的权利CI管道。 它使用无需任何检测即可描述您的测试运行。 您要做的只是简单地标记要在其上执行检查以防止性能下降的测试。 import pytest @ pytest . mark . total_time ( td ( milliseconds = 50 ), function = "fibonacci" ) @ pytest . mark . total_time ( "99%" , line = 8 ) @ pytest . mark . total_time ( "50
【文件预览】:
pytest-austin-master
----.travis.yml(791B)
----poetry.lock(27KB)
----CODE-OF-CONDUCT.md(3KB)
----pyproject.toml(2KB)
----art()
--------logo2.svg(17KB)
--------logo.svg(133KB)
--------logo.png(28KB)
----pytest_austin()
--------__init__.py(9KB)
--------markers.py(6KB)
--------plugin.py(5KB)
----.github()
--------FUNDING.yml(86B)
--------PULL_REQUEST_TEMPLATE.md(1KB)
--------ISSUE_TEMPLATE.md(571B)
--------workflows()
----test()
--------test_pytest_austin.py(3KB)
--------conftest.py(30B)
----noxfile.py(2KB)
----LICENSE(34KB)
----CONTRIBUTING.md(915B)
----.gitignore(2KB)
----README.md(12KB)
----.flake8(252B)

网友评论