mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-17 16:10:08 +01:00
Add benchmarks
This commit is contained in:
parent
823663a076
commit
6372cb3633
2 changed files with 8 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
|
@ -240,6 +240,13 @@ jobs:
|
|||
poetry run make benchmarks
|
||||
shell: bash
|
||||
|
||||
- name: Store benchmark results
|
||||
uses: benchmark-action/github-action-benchmark@v1
|
||||
with:
|
||||
tool: 'pytest'
|
||||
output-file-path: benchmarks.json
|
||||
|
||||
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -41,7 +41,7 @@ test: buzz/whisper_cpp.py translation_mo
|
|||
pytest -vv --cov=buzz --cov-report=xml --cov-report=html --benchmark-skip
|
||||
|
||||
benchmarks: buzz/whisper_cpp.py translation_mo
|
||||
pytest -vv --benchmark-only
|
||||
pytest -vv --benchmark-only --benchmark-json benchmarks.json
|
||||
|
||||
dist/Buzz dist/Buzz.app: buzz/whisper_cpp.py translation_mo
|
||||
pyinstaller --noconfirm Buzz.spec
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue