packages/docs/docs/cli/benchmark.mdx
Measures render time by running a render multiple times, if desired with multiple compositions and concurrency values to compare against each other.
npx remotion benchmark src/index.ts [composition-ids]
You can provide multiple composition IDs separated by comma, ex: npx remotion benchmark src/index.ts --codec=h264 Main,Canvas,CSS
If composition-ids is not passed, Remotion will let you select compositions from a list.
--runs--concurrencies--codecInherited from npx remotion render
--audio-codec<AvailableFrom v="3.3.42" />--crfInherited from npx remotion render
--framesInherited from npx remotion render
--image-formatInherited from npx remotion render
--pixel-formatInherited from npx remotion render
--propsInherited from npx remotion render
--prores-profileInherited from npx remotion render
--jpeg-quality<AvailableFrom v="4.0.0" />Inherited from npx remotion render
--qualityRemoved in v4.0.0. Renamed to --jpeg-quality.
--logInherited from npx remotion render
--ignore-certificate-errorsInherited from npx remotion render
--disable-web-securityInherited from npx remotion render
--dark-mode<AvailableFrom v="4.0.381"/>--disable-headless--enable-multiprocess-on-linux<AvailableFrom v="4.0.42"/>--gl--chrome-mode<AvailableFrom v="4.0.248" />--timeoutInherited from npx remotion render
--scaleInherited from npx remotion render
--portInherited from npx remotion render
--number-of-gif-loops--every-nth-frameInherited from npx remotion render
--logInherited from npx remotion render
--mutedInherited from npx remotion render
--enforce-audio-trackInherited from npx remotion render
--disallow-parallel-encoding<AvailableFrom v="4.0.315" />Inherited from npx remotion render
--browser-executableInherited from npx remotion render
--public-dirInherited from npx remotion render
--configInherited from npx remotion render
--bundle-cacheInherited from npx remotion render
--video-bitrateInherited from npx remotion render
--audio-bitrateInherited from npx remotion render
--color-space<AvailableFrom v="4.0.28"/>--hardware-acceleration<AvailableFrom v="4.0.228" />--offthreadvideo-cache-size-in-bytes<AvailableFrom v="4.0.23"/>--media-cache-size-in-bytes<AvailableFrom v="4.0.352"/>--binaries-directory<AvailableFrom v="4.0.120" />--experimental-rspack<AvailableFrom v="4.0.426" />--ffmpeg-executableRemoved in v4.0. Inherited from npx remotion render
--ffprobe-executableRemoved in v4.0. Inherited from npx remotion render