Four routes measured on one frozen contract at one session's container size, with RAM and CPU as first-class results: in-process pywayland is ~1.5x faster (78 vs 117 ms), uses ~2.8x less of our own CPU, and nearly halves the compositor's per-frame CPU (67 vs 116 ms). grim-rs buys nothing and costs 746 MB RSS. ext-image-copy-capture measures identical to screencopy and appears in a compositor crash stack, so the deprecated-but-working protocol is the pick. Also fixes the client's unclean exit (pywayland teardown segfaulted after the result was printed, 16 times, one batch coinciding with a compositor crash).
2 lines
819 B
Plaintext
2 lines
819 B
Plaintext
{"route": "pywayland-in-process", "language": "python", "protocol": "ext-image-copy-capture-v1", "output": "hh-chromium-52w2dm", "geometry": [1280, 720], "mode": "raw", "warmup": 10, "frames": 200, "frame_ms": {"min": 14.303, "p50": 68.229, "mean": 89.063, "p95": 175.379, "max": 197.257}, "stage_ms": {"capture": 89.052, "encode": 0.0, "stitch": 0.0}, "fps_sustained": 11.23, "wall_ms": 17812.7, "bytes_p50": null, "persistent": true, "notes": "one connection, buffers reused, turbojpeg q80 in-process; 1 output(s); forcing a repaint per frame", "cpu_ms_per_frame": 0.321, "rss_peak_mb": 24.57, "rss_peak_kb_raw": 25156, "system_cpu_ms_per_frame": 176.8, "compositor_cpu_ms_per_frame": 85.85, "machine_cpu_pct": 198.5, "machine_cpu_pct_of_all_cores": 99.3, "frames_bytes_allocated_p50": 3686400, "resource_notes": ""}
|