Imports Benchmark Times Not representative

This commit is contained in:
Elijah 2024-05-30 17:16:24 +00:00
parent d99c40a763
commit 2ea59b6363

View File

@ -111,7 +111,7 @@ jobs:
run: cargo install hyperfine
- name: Benchmark imports
working-directory: ./reflex-examples/counter
run: hyperfine --warmup 3 "export POETRY_VIRTUALENVS_PATH=../../.venv; poetry run python counter/counter.py" --show-output --export-json "${{ env.OUTPUT_FILE }}" --shell bash
run: hyperfine --warmup 5 "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: