Container Analysis
Learn how to analyze container performance and identify optimization opportunities with BenchTest.
Container Configuration
BenchTest allows you to analyze any container by specifying its image, tag, and port configuration. You can test both public and private container images.
Supported Container Types:
- Docker containers
- Kubernetes pods
- Custom container runtimes
Test Configuration
Configure your test parameters to simulate real-world usage patterns and load conditions.
Load Testing Parameters
- Virtual Users: Number of concurrent users to simulate
- Duration: How long to run the test
- Ramp-up Period: Gradually increase load over time
- Endpoints: API endpoints or URLs to test
Example Configuration
Here's a simple test configuration example:
{ "stages": [ { "duration": "30s", "target": 10 } ], "requests": [ { "path": "/api", "method": "get" } ] }
This configuration runs a 30-second test with 10 virtual users making GET requests to the "/api" endpoint.
Resource Monitoring
- CPU Metrics: Track CPU usage, system time, and user time
- Memory Metrics: Monitor memory usage, cache, and RSS
- Network Metrics: Measure throughput and latency
Running Tests
BenchTest provides multiple ways to run container analysis tests:
• Web Interface
Use the BenchTest dashboard to configure and run tests with a user-friendly interface. Monitor test progress in real-time and view results as they come in.
• API Integration (coming soon)
Use the BenchTest API to programmatically run tests and retrieve results. Integrate with your existing tools and workflows.