We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
delay
1 parent c6ee4ca commit a8cf590Copy full SHA for a8cf590
benchmark.js
@@ -5,9 +5,10 @@ const { spawn } = require('child_process')
5
const { promisify } = require('node:util')
6
const sget = promisify(require('simple-get').concat)
7
const autocannon = require('autocannon')
8
-const delay = require('delay')
9
const { join } = require('node:path')
10
+const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
11
+
12
const benchmarkDir = join(__dirname, 'benchmark')
13
14
// Keep track of spawned processes and kill if runner killed
package.json
@@ -49,7 +49,6 @@
49
"art-template": "^4.13.2",
50
"autocannon": "^7.15.0",
51
"cross-env": "^7.0.2",
52
- "delay": "^6.0.0",
53
"dot": "^1.1.3",
54
"ejs": "^3.1.8",
55
"eta": "^3.0.3",
0 commit comments