-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9d908f
commit 85af262
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
// @ts-nocheck | ||
import analyze from '@tracerbench/tracerbench-compare-action'; | ||
import config from './perf-test-config.json'; | ||
import fs from 'node:fs/promises'; | ||
import path from 'node:path'; | ||
|
||
const __dirname = new URL('.', import.meta.url).pathname; | ||
const root = path.resolve(__dirname, '..'); | ||
|
||
const configFile = await fs.readFile(path.resolve(root, 'bin/perf-test-config.json')); | ||
const config = JSON.parse(configFile); | ||
|
||
analyze(config); |