简体中文 | English
LMeterX is a professional large language model performance testing platform that supports comprehensive load testing for any LLM service. Through an intuitive Web interface, users can easily create and manage test tasks, monitor testing processes in real-time, and obtain detailed performance analysis reports, providing reliable data support for model deployment and performance optimization.
- Full Model Compatibility - Supports mainstream LLMs like GPT, Claude, and Llama with one-click stress testing
- High-Load Stress Testing - Simulates high-concurrency requests to accurately detect model performance limits
- Multi-Scenario Coverage - Supports streaming/non-streaming, supports text/multimodal/custom datasets
- Professional Metrics - Core performance metrics including first token latency, throughput(RPS、TPS), and success rate
- AI Smart Reports - AI-powered performance analysis
, multi-dimensional model comparison and visualization
- Web Console - One-stop management for task creation, stopping, status tracking, and full-chain log monitoring
- Enterprise-level Deployment - Docker containerization with elastic scaling and distributed deployment support
LMeterX adopts a microservices architecture design, consisting of four core components:
- Backend Service: FastAPI-based REST API service responsible for task management and result storage
- Load Testing Engine: Locust-based load testing engine that executes actual performance testing tasks
- Frontend Interface: Modern Web interface based on React + TypeScript + Ant Design
- MySQL Database: Stores test tasks, result data, and configuration information
- Docker 20.10.0+
- Docker Compose 2.0.0+
- At least 4GB available memory
- At least 5GB available disk space
Complete Deployment Guide: See Complete Deployment Guide for detailed instructions on all deployment methods
Use pre-built Docker images to start all services with one click:
# Download and run one-click deployment script
curl -fsSL https://raw.githubusercontent.com/MigoXLab/LMeterX/main/quick-start.sh | bash- Access Web Interface: http://localhost:8080
- Create Test Task:
- Configure target API address and model parameters
- Select test type (text conversation/image-text conversation)
- Set concurrent user count and test duration
- Configure other advanced parameters (optional)
- Monitor Test Process: Real-time view of test logs and performance metrics
- View and Export Test Results: View detailed performance results and export reports.
- AI Summary: After configuring the AI service on the System Configuration page, you can perform AI-powered evaluation and summary of performance results on the Task Results page.
SECRET_KEY=your_secret_key_here # Application security key
FLASK_DEBUG=false # Debug mode switchDB_HOST=mysql # Database host address
DB_PORT=3306 # Database port
DB_USER=lmeterx # Database username
DB_PASSWORD=lmeterx_password # Database password
DB_NAME=lmeterx # Database nameVITE_API_BASE_URL=/api # API base pathWe welcome all forms of contributions! Please read our Contributing Guide for details.
LMeterX adopts a modern technology stack to ensure system reliability and maintainability:
- Backend Service: Python + FastAPI + SQLAlchemy + MySQL
- Load Testing Engine: Python + Locust + Custom Extensions
- Frontend Interface: React + TypeScript + Ant Design + Vite
- Deployment & Operations: Docker + Docker Compose + Nginx
LMeterX/
├── backend/ # Backend service
├── st_engine/ # Load testing engine service
├── frontend/ # Frontend service
├── docs/ # Documentation directory
├── docker-compose.yml # Docker Compose configuration
├── Makefile # Run complete code checks
├── README.md # English README
- Fork the Project to your GitHub account
- Clone Your Fork, create a development branch for development
- Follow Code Standards, use clear commit messages (follow conventional commit standards)
- Run Code Checks: Before submitting PR, ensure code checks, formatting, and tests all pass, you can run
make all - Write Clear Documentation: Write corresponding documentation for new features or changes
- Actively Participate in Review: Actively respond to feedback during the review process
- Support for client resource monitoring
- CLI command-line tool
- Deployment Guide - Detailed deployment instructions and configuration guide
- Contributing Guide - How to participate in project development and contribute code
Thanks to all developers who have contributed to the LMeterX project:
- @LuckyYC - Project maintainer & Core developer
- @del-zhenwu - Core developer
This project is licensed under the Apache 2.0 License.

