Skip to content

Commit fe4f73f

Browse files
authored
chore(replicache-perf): Cleanup build (#2580)
- Use tsx for build script and remove build for runner. - Fix typescript errors - Move idb brenchmark enumeration to idb file.
1 parent e2b271d commit fe4f73f

File tree

10 files changed

+68
-142
lines changed

10 files changed

+68
-142
lines changed

.github/workflows/perf-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
working-directory: packages/replicache-perf
3030
run: |
3131
npm run build
32-
node out/runner.js --format=json --run='populate 1024x1000 \(clean, indexes: 0\)'
32+
npx tsx src/runner.ts --format=json --run='populate 1024x1000 \(clean, indexes: 0\)'
3333
shell: bash

.github/workflows/perf-v2.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
working-directory: packages/replicache-perf
3333
run: |
3434
npm run build
35-
node out/runner.js --format=json | tee perf-temp-output.json
35+
npx tsx src/runner.ts --format=json | tee perf-temp-output.json
3636
node tool/split-perf.js perf-temp-output.json perf-v2-output.json perf-v2-p95-output.json
3737
shell: bash
3838

0 commit comments

Comments
 (0)