Repository navigation
Benchmark
github-actions[bot] edited this page Nov 29, 2026
·
1 revision
How much one QASight team server holds, measured with scripts/benchmark.py, so a team can check the numbers on its own hardware instead of taking ours.
python scripts/benchmark.py # 1,000,000 results, SQLite, 1 worker
python scripts/benchmark.py --workers 4 # four API worker processes
python scripts/benchmark.py --database-url postgresql+psycopg://u:p@localhost/qasight
python scripts/benchmark.py --results 100000 # a quicker runIt starts qasight-api on a free port with a new database, then:
-
Fill: uploads the results as JUnit XML through
POST /api/v1/ingest, 200 runs of one cycle with 5,000 tests each, four uploads at a time. About 1 in 500 tests fails in a run, and some flip between runs (flaky). - Agents: eight ReportPortal launches of 250 tests each report at the same time through the ReportPortal-compatible endpoint, one call per test start and finish, the way agents do.
- Reads: opens the runs list, the dashboard, a run's failures, flaky tests and a test search 20 times each, and reports the median (p50) and p95.
It prints a Markdown table and writes the numbers to --out (JSON).
A 4-CPU Linux container, Python 3.13, SQLite (write-ahead mode), the 1.6 code plus Surpass ReportPortal - 2026-11-16.
| Step | 4 workers | 1 worker |
|---|---|---|
| Store 1,000,000 results (200 runs) | 372 s, 2,685 results/s | 648 s, 1,542 results/s |
| 8 agents at once, 4,032 calls | 19 s, 209 calls/s | 39 s, 103 calls/s |
| Runs list | p50 9.6 ms, p95 10.0 ms | p50 7.1 ms, p95 11.3 ms |
| Dashboard | p50 9.8 ms, p95 15.9 ms | p50 6.9 ms, p95 7.2 ms |
| A run's failures | p50 2.5 s, p95 2.7 s | p50 2.1 s, p95 2.6 s |
| Flaky tests | p50 2.9 s, p95 3.3 s | p50 2.5 s, p95 2.7 s |
| Test search | p50 2.8 s, p95 3.4 s | p50 2.6 s, p95 2.8 s |
What it means:
- One machine stores a million results in about six minutes, and keeps taking agents' calls while it does; a team uploading a few thousand results a minute is far below that.
- Four workers store results 1.7 times as fast as one and take agents' calls twice as fast; reads don't get faster, since one page is one request.
- The runs list and dashboard stay near 10 ms with a million results.
- The pages that read a cycle's recent results (a run's failures, flaky tests, test search) take 2 to 3 seconds at 5,000 tests per run, because they read the stored result files of the last runs. They are the next thing to speed up.
- The machine has four CPUs and the benchmark's own clients share them, so more workers help less here than on a server of its own. Postgres on its own machine takes the database work off the API's CPUs.
Generated from docs/Processes & Guides/Benchmark.md. Edit it there; changes made in the wiki are overwritten.
Architecture
CLI Commands
Processes & Guides
- Benchmark
- Beta Case Study Kit
- CI-CD Pipeline Setup
- Closed Network Install
- E2E Harness Operations Guide
- GitLab Pages Demo
- Moving from ReportPortal
- Publishing Docker Images
- Publishing to Artifactory
- Publishing to PyPI
- Setup Snippets
- Shared Resource Pools
- Stability and Deprecation Policy
- Team Server
- Upload Without Python
Prompts & Snippets
Roadmap & Strategy
- Feature Gaps and Quick Wins - 2026-10-31
- New User Journey Audit - 2026-11-01
- Paid Features to Offer Free - 2026-10-31
- Product Roadmap
Specs & ADRs
- Adoption Blockers - 2026-11-12
- Affected Test Selection - 2026-10-30
- Agent-Ready Failures and Evidence Checks - 2026-11-28
- Alerts Where Developers Look - 2026-10-22
- Architecture Consolidation - 2026-10-06
- Architecture Review - 2026-10-31
- Automation and Unification - 2026-11-12
- BehaveX Reports - 2026-10-21
- Better Flaky Signal - 2026-11-01
- CLI-Only Bug Hunt - 2026-11-15
- Closed Network Install - 2026-11-15
- Closed-Network Monorepo Rollout - 2026-11-20
- Command Adapter and JUnit Import - 2026-09-25
- Config JSON Schema - 2026-10-22
- Contributors Cleanup - 2026-11-15
- Crash Detection - 2026-10-31
- Delta Comparison Policy
- Docs Site - 2026-10-19
- Docs Vault and Wiki Sync - 2026-10-07
- Easy Setup - 2026-11-01
- Engine Fixes - 2026-11-01
- Engineering Health Review - 2026-10-31
- Exporting Results - 2026-11-01
- External Audit Tools - 2026-11-11
- Flaky Test Issues - 2026-11-01
- Flaky Test Quarantine - 2026-10-22
- Focus Review - 2026-11-20
- Free Copies of Paid Features - 2026-11-01
- GitHub Action PR Comment - 2026-10-19
- Go Uploader - 2026-11-20
- Human-Run Resource Provider - 2026-10-30
- Importer and Integration Bug Hunt - 2026-10-31
- Ingest and Team Server - 2026-10-22
- Interview Readiness Fixes - 2026-10-07
- Library Packaging
- Lifecycle Fixes - 2026-11-02
- MCP Server - 2026-11-01
- Menu by Question - 2026-11-12
- Merge and Automate - 2026-11-20
- New User Journey Automation - 2026-11-01
- Open Source Features - 2026-10-19
- OpenTelemetry Export - 2026-10-30
- Phase 3 Delta Comparison Engine Plan
- Phase 3 Unified Dashboard Plan
- Phase 4 BYOK and Failure Analysis
- Phase 5 UI Redesign - Cycles-First Navigation
- Playwright Adapter - 2026-10-19
- Playwright JSON Import - 2026-10-22
- Plug and Play - 2026-11-12
- Plugin API - 2026-10-19
- Product Roadmap Work - 2026-10-25
- Product to Ten - 2026-10-25
- Project Health - 2026-10-26
- QASight Logo - 2026-11-05
- Qualflare Follow-ups - 2026-10-26
- Quarantine From the UI - 2026-11-01
- Specs & ADRs
- Release Gate - 2026-11-12
- Release Scorecard - 2026-11-12
- Rename to QASight - 2026-11-04
- Repository Pattern - Database-Agnostic Refactor
- Resource Lifecycle Hooks - 2026-10-26
- Resource Pools and Leases - 2026-10-26
- Run Deletion and Stop - 2026-11-02
- Runner Coverage - 2026-10-26
- Scale Runs and Stages - 2026-10-24
- Scorecard on MegaLinter - 2026-11-12
- Security and Install Review - 2026-10-31
- Standards Compliance - 2026-11-12
- Stress Test - 2026-11-20
- Surpass ReportPortal - 2026-11-16
- Switchable Team Features - 2026-10-24
- Test Delivery Metrics - 2026-11-02
- Test Labels, Environments and Releases - 2026-11-02
- Test Source in AI Summaries - 2026-11-01
- Throwaway Stage Containers - 2026-10-24
- Tidy Cards and Demo Examples - 2026-11-05
- UI Design Review - 2026-10-31
- UI Polish - 2026-11-08
- UI Restyle - 2026-10-19
- UI Review Fixes - 2026-11-01
Testing Workflows
Vault