npx remotion benchmark
available from v3.2.28
Measures render time by running a render multiple times, if desired with multiple compositions and concurrency values to compare against each other.
bash
npx remotion benchmark src/index.tsx [composition-ids]
bash
npx remotion benchmark src/index.tsx [composition-ids]
You can provide multiple composition IDs separated by comma, ex: npx remotion benchmark ./src/index --codec=h264 Main,Canvas,CSS
Flags
--runs
optional. Default is 3
Specify how many times video must be rendered. Default value is 3.
--concurrencies
optional
You can specify which concurrency value should be used while rendering the video. Multiple concurrency values can be passed separated by comma. Learn more about concurrency
--codec
optional
Inherited from npx remotion render
--crf
optional
Inherited from npx remotion render
--ffmpeg-executable
optional
Inherited from npx remotion render
--ffprobe-executable
optional
Inherited from npx remotion render
--frames
optional
Inherited from npx remotion render
--image-format
optional
Inherited from npx remotion render
--pixel-format
optional
Inherited from npx remotion render
--props
optional
Inherited from npx remotion render
--prores-profile
optional
Inherited from npx remotion render
--quality
optional
Inherited from npx remotion render
--log
optional
Inherited from npx remotion render
--ignore-certificate-errors
optional
Inherited from npx remotion render
--disable-web-security
optional
Inherited from npx remotion render
--disable-headless
optional
Inherited from npx remotion render
--gl
optional
Inherited from npx remotion render
--timeout
optional
Inherited from npx remotion render
--scale
optional
Inherited from npx remotion render
--port
optional
Inherited from npx remotion render
--number-of-gif-loops
optional
Inherited from npx remotion render
--every-nth-frame
optional
Inherited from npx remotion render
--log
optional
Inherited from npx remotion render
--muted
optional
Inherited from npx remotion render
--enforce-audio-track
optional
Inherited from npx remotion render
--browser-executable
optional
Inherited from npx remotion render
--public-dir
optional
Inherited from npx remotion render
--config
optional
Inherited from npx remotion render
--bundle-cache
optional
Inherited from npx remotion render
--video-bitrate
optional
Inherited from npx remotion render
--audio-bitrate
optional
Inherited from npx remotion render