Add benchmarks
This commit is contained in:
@@ -27,6 +27,7 @@ test = [
|
||||
"coverage-badge>=1.1.2",
|
||||
"pytest-html>=4.1.1",
|
||||
"sqlparse>=0.5.4",
|
||||
"pytest-benchmark[histogram]>=5.2.3",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
@@ -40,3 +41,22 @@ line-length = 100
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 100
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = [
|
||||
"--cov=dibbler.lib",
|
||||
"--cov=dibbler.models",
|
||||
"--cov=dibbler.queries",
|
||||
"--cov-report=html",
|
||||
"--cov-branch",
|
||||
|
||||
"--self-contained-html",
|
||||
"--html=./test-report/index.html",
|
||||
|
||||
"--benchmark-skip",
|
||||
"--benchmark-autosave",
|
||||
"--benchmark-save=default",
|
||||
"--benchmark-verbose",
|
||||
"--benchmark-storage=benchmark",
|
||||
"--benchmark-histogram=benchmark/histogram",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user