gorgeous-soccer-57984
08/25/2025, 6:19 AMtall-airline-16756
08/25/2025, 6:19 AMtall-airline-16756
08/25/2025, 6:19 AMlk perf agent-load-test command is perfect for this.
Here’s a quick example you can try out:
lk perf agent-load-test \
--rooms 5 \
--agent-name test-agent \
--echo-speech-delay 10s \
--duration 5m
What this does is:
• Creates 5 separate rooms for testing.
• Sends the agent named test-agent into each room.
• Simulates an echo participant in each room that plays back the agent's audio after a 10-second delay.
Just make sure your agent is already up and running with the right name set. Each room works on its own, and when the test wraps up, you’ll get detailed stats like how long it took to dispatch the agent, join delays, and track subscription info.
This is a great way to see how your agent handles multiple rooms at once, all while using the same agent instance. If you have any questions or need a hand setting it up, I’m here to help!
Sources: pkg/loadtester/loadtester.go | Deployment and scaling | LiveKit Docsgorgeous-soccer-57984
08/25/2025, 6:44 AMtall-airline-16756
08/25/2025, 6:45 AMlk perf agent-load-test command.
If you're looking to test transcription performance specifically, you might want to create a custom solution using the LiveKit Agents SDK. Just let me know if you'd like some help or pointers on how to get started—I’m here for you!
Sources: pkg/loadtester/agentloadtester.go | basics/repeater.py