🎥 Make videos programmatically with React
add useful timing
Jonny Burger4397002730e0
diff --git a/packages/cloudrun/src/admin/bundle-installer.ts b/packages/cloudrun/src/admin/bundle-installer.tsindex 77dc19c9d6..d06775d1a6 100644--- a/packages/cloudrun/src/admin/bundle-installer.ts+++ b/packages/cloudrun/src/admin/bundle-installer.ts@@ -45,7 +45,7 @@ export const bundleInstaller = async () => {// A reproducible build will lead to no pending change in Gitif (hasGTar()) {- console.log('Making reproducible build with gtar');+ console.time('Made reproducible build with gtar');execSync(`gtar --mtime='2023-01-01 00:00Z' --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime ${tarArgs}`,{@@ -53,12 +53,14 @@ export const bundleInstaller = async () => {cwd: outdir,},);+ console.timeEnd('Made reproducible build with gtar');} else {- console.log('Making non-reproducible build with tar.');+ console.time('Made non-reproducible build with tar.');execSync(`tar ${tarArgs}`, {stdio: 'inherit',cwd: outdir,});+ console.timeEnd('Made non-reproducible build with tar.');}rmSync(outdir, {recursive: true});diff --git a/packages/cloudrun/src/admin/bundle-renderLogic.ts b/packages/cloudrun/src/admin/bundle-renderLogic.tsindex b1e6bcc77f..b3fdff88ff 100644--- a/packages/cloudrun/src/admin/bundle-renderLogic.ts+++ b/packages/cloudrun/src/admin/bundle-renderLogic.ts@@ -52,6 +52,4 @@ export const bundleRenderLogic = async () => {),`${outdir}/mappings.wasm`,);-- console.log('distribution bundled.');};