Documentation
¶
Overview ¶
Command pgoload is a heavy, concurrent load generator for a running Gopherstack server. It exists to capture a representative CPU profile for Profile-Guided Optimization (PGO): it drives DynamoDB (on a table with both a GSI and an LSI) and S3 hard and concurrently, so the profile reflects the real hot paths — index maintenance, item marshaling, lockmetrics map operations, and S3 storage/listing.
Usage:
pgoload -endpoint http://localhost:8000 -duration 90s -concurrency 8
Flags fall back to environment variables (PGOLOAD_ENDPOINT, PGOLOAD_DURATION, PGOLOAD_CONCURRENCY) when unset.
Click to show internal directories.
Click to hide internal directories.