Skip to content

Commit

Permalink
chore(replicache-perf): Cleanup build (#2580)
Browse files Browse the repository at this point in the history
- Use tsx for build script and remove build for runner.
- Fix typescript errors
- Move idb brenchmark enumeration to idb file.
  • Loading branch information
arv authored Oct 7, 2024
1 parent e2b271d commit fe4f73f
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 142 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/perf-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
working-directory: packages/replicache-perf
run: |
npm run build
node out/runner.js --format=json --run='populate 1024x1000 \(clean, indexes: 0\)'
npx tsx src/runner.ts --format=json --run='populate 1024x1000 \(clean, indexes: 0\)'
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/perf-v2.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
working-directory: packages/replicache-perf
run: |
npm run build
node out/runner.js --format=json | tee perf-temp-output.json
npx tsx src/runner.ts --format=json | tee perf-temp-output.json
node tool/split-perf.js perf-temp-output.json perf-v2-output.json perf-v2-p95-output.json
shell: bash

Expand Down
Loading

0 comments on commit fe4f73f

Please sign in to comment.