Skip to content

Commit

Permalink
More bench fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Nov 2, 2024
1 parent 36d541c commit 2742428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/setup-bench.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if (!REUSE_CONTROL) {
await $`rm -rf ./benchmark`;
await $`cp -r ${BENCHMARK_FOLDER} ./benchmark`;

console.info(`$ pnpm install --frozen-lockfile ${chalk.gray('[control]')}`);
console.info(`$ pnpm install --no-frozen-lockfile ${chalk.gray('[control]')}`);
await spinner(async () => await $`pnpm install --no-frozen-lockfile`.pipe(process.stderr));
console.info(`$ pnpm build ${chalk.gray('[control]')}`);
await spinner(() => $`pnpm build`.pipe(process.stderr));
Expand Down Expand Up @@ -133,7 +133,7 @@ await within(async () => {
await $`rm -rf ./benchmark`;
await $`cp -r ${BENCHMARK_FOLDER} ./benchmark`;

console.info(`$ pnpm install --frozen-lockfile ${chalk.gray('[experiment]')}`);
console.info(`$ pnpm install --no-frozen-lockfile ${chalk.gray('[experiment]')}`);
const install = () => $`pnpm install --no-frozen-lockfile`.pipe(process.stderr);
await spinner(install);
console.info(`$ pnpm build ${chalk.gray('[experiment]')}`);
Expand Down

0 comments on commit 2742428

Please sign in to comment.