The maintainer has not written a description at the source.
Repo open-webui/benchmark, read from GitHub 41 min ago. open-webui has not joined Take My Repo.
open-webui/benchmark is a public repo on GitHub by open-webui. It declares the MIT license on GitHub. It is written mainly in Python, has 27 stars and last changed on 2026-01-28. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
A comprehensive benchmarking framework for testing Open WebUI performance under various load conditions.
This benchmark suite is designed to:
cd benchmark
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .
# Install Playwright browsers (required for UI benchmarks)
playwright install chromium
Copy the example environment file and configure your admin credentials:
cp .env.example .env
Edit .env with your Open WebUI admin credentials:
OPEN_WEBUI_URL=http://localhost:8080
ADMIN_USER_EMAIL=your-admin@example.com
ADMIN_USER_PASSWORD=your-password
cd docker
./run.sh default # Use the default compute profile (2 CPU, 8GB RAM)
# Run the default benchmark (chat-ui with auto-scaling), which automatically finds max sustainable users based on P95 response time
owb run
# Set a custom response time threshold (default: 1000ms)
owb run --response-threshold 2000
# Run with a fixed number of users (disables auto-scaling)
owb run -m 50
# Run with visible browsers for debugging
owb run --headed
owb run --headed --slow-mo 500 # Slow down for visual inspection
owb list
# API-based chat benchmark (no browser)
owb run chat-api -m 50
# Channel API concurrency
owb run channels-api -m 50
# Channel WebSocket benchmark
owb run channels-ws -m 50
# Run all benchmarks
owb run all
Results are organized by benchmark name and timestamp:
results/
└── chat_ui_concurrency/
└── 20260126_014205/
├── result.json # Detailed benchmark data
├── results.csv # Tabular results
└── summary.txt # Human-readable summary
Compute profiles define the resource constraints for the Open WebUI container:
| Profile | CPUs | Memory | Use Case |
|---|---|---|---|
default |
2 | 8GB | Local MacBook testing |
minimal |
1 | 4GB | Testing lower bounds |
cloud_small |
2 | 4GB | Small cloud VM |
cloud_medium |
4 | 8GB | Medium cloud VM |
cloud_large |
8 | 16GB | Large cloud VM |
List available profiles:
owb profiles
chat-api)Tests concurrent AI chat performance via the OpenAI-compatible API:
/api/chat endpointUsage:
owb run chat-api -m 50 --model gpt-4o-mini
chat-ui) - DefaultTests concurrent AI chat performance through actual browser UI using Playwright. This is the default benchmark and runs in auto-scale mode by default.
Auto-scale mode (default):
Fixed mode:
--max-users / -mHow it works:
Usage:
# Auto-scale mode (default) - finds max sustainable users
owb run
owb run --response-threshold 2000 # Custom threshold (default: 1000ms)
# Fixed mode - test specific user count
owb run -m 50
owb run -m 50 --model gpt-4o-mini
# Debugging options
owb run --headed # Visible browsers
owb run --headed --slow-mo 500 # Slow down for inspection
Configuration:
chat_ui:
headless: true # Run browsers in headless mode
slow_mo: 0 # Slow down operations by ms (debugging)
viewport_width: 1280 # Browser viewport width
viewport_height: 720 # Browser viewport height
browser_timeout: 30000 # Default timeout in ms
screenshot_on_error: true # Capture screenshots on failure
use_isolated_browsers: false # Use separate browser instances vs contexts
Notes:
channels-api)Tests concurrent user capacity in Open WebUI Channels:
Configuration options:
channels:
max_concurrent_users: 100 # Maximum users to test
user_step_size: 10 # Increment users by this amount
sustain_time: 30 # Seconds to run at each level
message_frequency: 0.5 # Messages per second per user
channels-ws)Tests WebSocket scalability for real-time message delivery in Channels:
Configuration files are located in config/:
benchmark_config.yaml - Main benchmark settingscompute_profiles.yaml - Resource profiles for Docker containersAll configuration can be set via environment variables (loaded from .env file):
| Variable | Description | Default |
|---|---|---|
OPEN_WEBUI_URL |
Open WebUI URL for benchmarking | http://localhost:8080 |
| Variable | Description | Default |
| ---------- | ------------- | --------- |
OPEN_WEBUI_URL |
Open WebUI URL | http://localhost:8080 |
OLLAMA_BASE_URL |
Ollama API URL | http://host.docker.internal:11434 |
ENABLE_CHANNELS |
Enable Channels feature | true |
ADMIN_USER_EMAIL |
Admin email | - |
ADMIN_USER_PASSWORD |
Admin password | - |
MAX_CONCURRENT_USERS |
Max concurrent users | 50 |
USER_STEP_SIZE |
User increment step | 10 |
SUSTAIN_TIME_SECONDS |
Test duration per level | 30 |
MESSAGE_FREQUENCY |
Messages/sec per user | 0.5 |
OPEN_WEBUI_PORT |
Container port | 8080 |
CPU_LIMIT |
CPU limit | 2.0 |
MEMORY_LIMIT |
Memory limit | 8g |
benchmark/scenarios/:from benchmark.core.base import BaseBenchmark
from benchmark.core.metrics import BenchmarkResult
class MyNewBenchmark(BaseBenchmark):
name = "My New Benchmark"
description = "Tests something new"
version = "1.0.0"
async def setup(self) -> None:
# Set up test environment
pass
async def run(self) -> BenchmarkResult:
# Execute the benchmark
# Use self.metrics to record timings
return self.metrics.get_result(self.name)
async def teardown(self) -> None:
# Clean up
pass
Register the benchmark in benchmark/cli.py
Add configuration options if needed in config/benchmark_config.yaml
from benchmark.core.metrics import MetricsCollector
metrics = MetricsCollector()
metrics.start()
# Time individual operations
with metrics.time_operation("my_operation"):
await do_something()
# Or record manually
metrics.record_timing(
operation="api_call",
duration_ms=150.5,
success=True,
)
metrics.stop()
result = metrics.get_result("My Benchmark")
| Metric | Description | Good Threshold |
|---|---|---|
avg_response_time_ms |
Average response time | < 2000ms |
p95_response_time_ms |
95th percentile response time | < 3000ms |
error_rate_percent |
Percentage of failed requests | < 1% |
requests_per_second |
Throughput | > 10 |
*.json - Detailed results for each benchmark runbenchmark_results_*.csv - Combined results in CSV formatsummary_*.txt - Human-readable summaryThe chat-ui benchmark in auto-scale mode reports:
Example auto-scale result:
Auto-Scale Results
┏━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Users ┃ P95 (ms) ┃ Avg (ms) ┃ % of Threshold ┃ Errors ┃
┡━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ 10 │ 731 │ 662 │ 37% │ 0.0% │
│ 30 │ 881 │ 748 │ 44% │ 0.0% │
│ 50 │ 1178 │ 1064 │ 59% │ 0.0% │
│ 70 │ 2133 │ 1854 │ 107% │ 0.8% │
└───────┴──────────┴──────────┴────────────────┴────────┘
P95 Threshold: 2000ms
Maximum Sustainable Users: 50
The channel benchmark reports:
Example result analysis:
Users: 10 | P95: 150ms | Errors: 0% | ✓ PASS
Users: 20 | P95: 280ms | Errors: 0.1% | ✓ PASS
Users: 30 | P95: 520ms | Errors: 0.3% | ✓ PASS
Users: 40 | P95: 1200ms | Errors: 0.8% | ✓ PASS
Users: 50 | P95: 3500ms | Errors: 2.1% | ✗ FAIL
Maximum sustainable users: 40
benchmark/
├── benchmark/
│ ├── core/ # Core framework
│ │ ├── base.py # Base benchmark class
│ │ ├── config.py # Configuration management
│ │ ├── metrics.py # Metrics collection
│ │ └── runner.py # Benchmark orchestration
│ ├── clients/ # API clients
│ │ ├── http_client.py # HTTP/REST client
│ │ ├── websocket_client.py # WebSocket client
│ │ └── browser_client.py # Playwright browser automation
│ ├── scenarios/ # Benchmark implementations
│ │ ├── channels.py # Channel benchmarks
│ │ └── chat_ui.py # Browser-based chat benchmark
│ ├── utils/ # Utilities
│ │ └── docker.py # Docker management
│ └── cli.py # Command-line interface
├── config/ # Configuration files
├── docker/ # Docker Compose for benchmarking
└── results/ # Benchmark output organized by {benchmark}/{timestamp}/
The benchmark suite reuses Open WebUI dependencies where possible:
From Open WebUI:
httpx - HTTP clientaiohttp - Async HTTPpython-socketio - WebSocket clientpydantic - Data validationpandas - Data analysisBenchmark-specific:
playwright - Browser automation for UI testinglocust - Load testing (optional, for advanced scenarios)rich - Terminal outputdocker - Docker SDKmatplotlib - Plotting resultswebsocket_timeout in configplaywright install chromium to install browsers.env has correct ADMIN_USER_NAME (with quotes if it contains spaces)--headless mode and ensure sufficient system resourcesSet logging level to DEBUG:
export BENCHMARK_LOG_LEVEL=DEBUG
owb run channels
When adding new benchmarks:
BaseBenchmark interfaceMIT License - See LICENSE file
open-webui/benchmark is a public repo on GitHub by open-webui. Its maker has not written a description.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-01-28. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A simple, secure MCP-to-OpenAPI proxy server

Pipelines: Versatile, UI-Agnostic OpenAI-Compatible Plugin Framework
Take My Repo has not tested this on your machine. Requirements come from the project's own documentation.