Skip to content

Commit

Permalink
chore: remove throw errors in benches
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed May 3, 2024
1 parent 3cd7a0b commit 4c10b7c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ console.log('process.execPath', process.execPath)
console.log('process.execArgv', process.execArgv)
console.log('process.argv', process.argv)
console.log('process.env', JSON.stringify(process.env, null, 2))
throw new Error('stop')

let suite = withCodSpeed(new Benchmark.Suite('typescript')).add('client generation ~50 Models', {
defer: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ console.log('process.execPath', process.execPath)
console.log('process.execArgv', process.execArgv)
console.log('process.argv', process.argv)
console.log('process.env', JSON.stringify(process.env, null, 2))
throw new Error('stop')

const suite = withCodSpeed(new Benchmark.Suite('typescript'))
// @ts-ignore
Expand Down
1 change: 0 additions & 1 deletion packages/get-platform/bench/get-platform.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ console.log('process.execPath', process.execPath)
console.log('process.execArgv', process.execArgv)
console.log('process.argv', process.argv)
console.log('process.env', JSON.stringify(process.env, null, 2))
throw new Error('stop')

void withCodSpeed(new Benchmark.Suite('get-platform'))
.add('getBinaryTargetForCurrentPlatform', {
Expand Down

0 comments on commit 4c10b7c

Please sign in to comment.