Skip to content

Commit

Permalink
ci: reduce the total number of linter benchmarks (#3172)
Browse files Browse the repository at this point in the history
closes #2981
  • Loading branch information
Boshen authored May 6, 2024
1 parent a84454c commit 8fbba03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
fixture: 0
- component: linter
fixture: 1
- component: linter
fixture: 2
- component: linter
fixture: 3
- component: linter
fixture: 4
steps:
- name: Checkout Branch
uses: taiki-e/checkout-action@v1
Expand Down
6 changes: 3 additions & 3 deletions tasks/benchmark/codspeed/capture.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
* HTTP server to intercept benchmark data from Codspeed runner.
*
*
* Codspeed runner makes 2 API calls:
* 1. Uploading metadata
* 2. Uploading archive of CPU profile files
*
*
* Server starts on an available port, saves the files sent by Codspeed runner to a directory,
* then shuts itself down.
*/
Expand All @@ -20,7 +20,7 @@ const DEFAULT_PORT = 3000,
LISTEN_ATTEMPTS = 10;

// Create directory for saving assets
const rand = Math.round(Math.random() * 1000000000000000000).toString(16),
const rand = Math.round(Math.random() * 100000000000000).toString(16),
dataDir = `/tmp/oxc_bench_data_${rand}`;
await fs.mkdir(dataDir);

Expand Down

0 comments on commit 8fbba03

Please sign in to comment.