Skip to content

Commit

Permalink
chore(benchmark): remove delay dependency (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweberxyz authored Feb 19, 2024
1 parent c6ee4ca commit a8cf590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ const { spawn } = require('child_process')
const { promisify } = require('node:util')
const sget = promisify(require('simple-get').concat)
const autocannon = require('autocannon')
const delay = require('delay')
const { join } = require('node:path')

const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms))

const benchmarkDir = join(__dirname, 'benchmark')

// Keep track of spawned processes and kill if runner killed
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"art-template": "^4.13.2",
"autocannon": "^7.15.0",
"cross-env": "^7.0.2",
"delay": "^6.0.0",
"dot": "^1.1.3",
"ejs": "^3.1.8",
"eta": "^3.0.3",
Expand Down

0 comments on commit a8cf590

Please sign in to comment.