fixup! Add benchmarks
Run tests / run-tests (push) Successful in 2m1s
Run benchmarks / run-tests (push) Failing after 10m57s

This commit is contained in:
2025-12-13 16:19:54 +09:00
parent c7480c6392
commit af4b6ed16a
8 changed files with 38 additions and 23 deletions
@@ -3,6 +3,7 @@ from sqlalchemy.orm import Session
from dibbler.models import Product, User
from dibbler.queries import transaction_log
from tests.benchmark.benchmark_settings import BENCHMARK_ITERATIONS, BENCHMARK_ROUNDS
from tests.benchmark.helpers import generate_random_transactions, insert_users_and_products
@@ -33,8 +34,8 @@ def test_benchmark_transaction_log(benchmark, sql_session: Session, transaction_
products,
users,
),
iterations=10,
rounds=5,
iterations=BENCHMARK_ITERATIONS,
rounds=BENCHMARK_ROUNDS,
)