Perf Investigation: Video Capture while spec is loading #21976
Labels
stale
no activity on this issue for a long period
topic: video 📹
type: performance 🏃♀️
Performance related
Summary
Currently the video starts as soon as the browser opens, and ffmpeg eats up a ton of CPU. The webpack / esbuild preprocessor is also CPU intensive, so by nature of recording a video, it makes the time to initial test significantly slow, especially in component testing.
You can reproduce by running CT or E2E tests in run mode with/without video (
--config video=false
) and watch the CPU usage of theCypress: Config Manager
process andffmpeg
There are also flags that we might be missing to help with the recording performance: https://github.com/microsoft/playwright/blob/5d8aa8d5cfdd6169c4eaad0ebaf53502f43de8df/packages/playwright-core/src/server/chromium/videoRecorder.ts#L59-L96
Acceptance Criteria
┆Issue is synchronized with this Jira Task by Unito
┆author: Tim Griesser
┆epic: Testing / Quality
┆friendlyId: UNIFY-985
┆priority: Low
┆sprint: Backlog
┆taskType: Task
The text was updated successfully, but these errors were encountered: