@luis-neira/dockdash
v1.0.8
Published
CLI to measure Docker service startup performance
Downloads
28
Readme
DockDash
DockDash is a CLI tool to measure the startup performance of a Dockerized service. It monitors server readiness, measures page load metrics, and presents results in a clean table.
Features
- Start Docker services via
docker compose. - Poll server readiness (HTTP status) with automatic retries.
- Measure page load metrics using Puppeteer:
- DOMContentLoaded
- Full page load (
window.load)
- Verbose logging option for detailed output.
- Results displayed in a formatted table.
Installation
npm install -g @luis-neira/dockdashNotes
- The tool uses Puppeteer for page load metrics.
- Server readiness checks use undici (native HTTP/HTTPS requests).
- Supports self-signed HTTPS certificates with automatic bypass.
- Verbose mode prints each attempt and Puppeteer actions.
- All metrics are aggregated and printed in a table using cli-table3.
