Skip to content

Sxian/clt 2553/add connection and audio latency tests#56

Merged
xianshijing-lk merged 3 commits intomainfrom
sxian/CLT-2553/add_connection_and_audio_latency_tests
Feb 13, 2026
Merged

Sxian/clt 2553/add connection and audio latency tests#56
xianshijing-lk merged 3 commits intomainfrom
sxian/CLT-2553/add_connection_and_audio_latency_tests

Conversation

@xianshijing-lk
Copy link
Collaborator

For connection latency:
It will measure the time between room.connect() and connected() callback.
repeat the test for 10 times, and report the latency:

./build.sh release-tests

./build-release/bin/livekit_stress_tests --gtest_filter="LatencyMeasurementTest.ConnectionTime"

Connection Time Statistics

Samples: 10
Min: 747.48 ms
Avg: 912.29 ms
P50: 806.10 ms
P95: 1852.40 ms
P99: 1852.40 ms
Max: 1852.40 ms

For Audio Latency Tests:
Sender will send a real-time audio to the receiver, and periodically inject high energy frames to receiver, where it will detect the audio latency

./build-release/bin/livekit_stress_tests --gtest_filter="LatencyMeasurementTest.AudioLatency"

Audio Latency Statistics

Samples: 9
Min: 100.98 ms
Avg: 168.02 ms
P50: 169.59 ms
P95: 211.12 ms
P99: 211.12 ms
Max: 211.12 ms

@xianshijing-lk xianshijing-lk force-pushed the sxian/CLT-2553/add_connection_and_audio_latency_tests branch from 7925d37 to ce6a048 Compare February 12, 2026 00:04
@xianshijing-lk
Copy link
Collaborator Author

Could you please review?

@xianshijing-lk xianshijing-lk merged commit 7c906d2 into main Feb 13, 2026
6 checks passed
@xianshijing-lk xianshijing-lk deleted the sxian/CLT-2553/add_connection_and_audio_latency_tests branch February 13, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant