🎥 Make videos programmatically with React
Update benchmark.ts
Jonny Burger29eccfd31e1d
diff --git a/packages/cli/src/benchmark.ts b/packages/cli/src/benchmark.tsindex 6bdb9432e4..1d86a6b77b 100644--- a/packages/cli/src/benchmark.ts+++ b/packages/cli/src/benchmark.ts@@ -212,13 +212,15 @@ export const benchmarkCommand = async (const puppeteerInstance = await browserInstance;+ const serializedInputPropsWithCustomSchema = Internals.serializeJSONWithDate({+ data: inputProps ?? {},+ indent: undefined,+ staticBase: null,+ }).serializedString;+const comps = await RenderInternals.internalGetCompositions({serveUrlOrWebpackUrl: bundleLocation,- serializedInputPropsWithCustomSchema: Internals.serializeJSONWithDate({- data: inputProps ?? {},- indent: undefined,- staticBase: null,- }).serializedString,+ serializedInputPropsWithCustomSchema,envVariables,chromiumOptions,timeoutInMilliseconds: puppeteerTimeout,@@ -303,7 +305,7 @@ export const benchmarkCommand = async (codec,uiImageFormat: null,}),- serializedInputPropsWithCustomSchema: JSON.stringify(inputProps),+ serializedInputPropsWithCustomSchema,overwrite,pixelFormat,proResProfile,