Repository navigation
Latency Analyzer 0.3
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.3-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's new
- Host present → photon, by stage: each run's report now shows where the time goes, as one stacked bar for frames turning white and one for black. The bars are built from the stages' medians and end at the measured host present → photon. Host, network, client and client display each have their own colour, and hovering a segment shows its stage. The comparison report draws the same bars for each run.
- The network on its own: with Sunshine's frame log and Moonlight's pacing trace, Sunshine's send times are placed on the client's clock through Moonlight's clock sync. This adds two stages: header sent → first packet and last sent → last packet. Sunshine sends while it is still encoding, so the bars show the network twice, once before the first packet arrives and once before the last.
- Sunshine session traces: the analysis reads a Sunshine session trace folder (
--session-trace, or the onelatency-test.exenoted next to the recording):host-frames.csvandclient-pacing.csv, including its later segments. The trace's ID is recorded in the summary. latency-test.exenotes the traced session it runs in, fromSUNSHINE_SESSION_TRACE_IDandSUNSHINE_SESSION_TRACE_DIR, next to each recording inNAME.session-trace.json. Analysing the recording again then finds the trace on its own.- Latency Cam is unchanged from 0.2.1 and is attached again so this release has everything you need.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.3 tag (the APK was built from v0.2.1). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)