Imports Benchmark Times Not representative

This commit is contained in:
Elijah 2024-05-30 17:22:44 +00:00
parent 2ea59b6363
commit 212fa0c49f

View File

@ -111,7 +111,7 @@ jobs:
run: cargo install hyperfine
- name: Benchmark imports
working-directory: ./reflex-examples/counter
run: hyperfine --warmup 5 "export POETRY_VIRTUALENVS_PATH=../../.venv; poetry run python counter/counter.py" --show-output --export-json "${{ env.OUTPUT_FILE }}" --shell bash
run: hyperfine --warmup 10 "export POETRY_VIRTUALENVS_PATH=../../.venv; poetry run python counter/counter.py" --show-output --export-json "${{ env.OUTPUT_FILE }}" --shell bash
- name: Upload Benchmarks
if : ${{ env.DATABASE_URL }}
run: