repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb19f6
)
build: fix eslint configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 19 Jun 2023 13:00:29 +0000
(15:00 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 19 Jun 2023 13:00:29 +0000
(15:00 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc.js
patch
|
blob
|
blame
|
history
benchmarks/versus-external-pools/dynamic-tinypool.mjs
patch
|
blob
|
blame
|
history
benchmarks/versus-external-pools/fixed-tinypool.mjs
patch
|
blob
|
blame
|
history
diff --git
a/.eslintrc.js
b/.eslintrc.js
index 4d8c7ffd0ddd57278e18605e916fb20076accb3a..6be6f2d4b1893ba03698282b876caad509ed1613 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-137,7
+137,7
@@
module.exports = defineConfig({
}
},
{
- files: ['benchmarks/**/*.js'],
+ files: ['benchmarks/**/*.js'
, 'benchmarks/**/*.mjs'
],
rules: {
'jsdoc/require-jsdoc': 'off'
}
@@
-148,6
+148,12
@@
module.exports = defineConfig({
'n/no-missing-require': 'off'
}
},
+ {
+ files: ['benchmarks/versus-external-pools/**/*.mjs'],
+ rules: {
+ 'n/no-missing-import': 'off'
+ }
+ },
{
files: ['examples/**/*.js'],
rules: {
diff --git
a/benchmarks/versus-external-pools/dynamic-tinypool.mjs
b/benchmarks/versus-external-pools/dynamic-tinypool.mjs
index 18e3866b460bf941b760ca27fece771c27ddbc74..68d73b67381f4c5a987221693a98fd84a5a1a28b 100644
(file)
--- a/
benchmarks/versus-external-pools/dynamic-tinypool.mjs
+++ b/
benchmarks/versus-external-pools/dynamic-tinypool.mjs
@@
-16,9
+16,6
@@
const tinypool = new Tinypool({
idleTimeout: 60000 // this is the same as poolifier default
})
-/**
- *
- */
async function run () {
const promises = []
for (let i = 0; i < iterations; i++) {
diff --git
a/benchmarks/versus-external-pools/fixed-tinypool.mjs
b/benchmarks/versus-external-pools/fixed-tinypool.mjs
index c6e7c04996964aaf1c6f51940c698a336aff2ed1..0875e3f4d513b1a737a908da80bf44d5d46548e9 100644
(file)
--- a/
benchmarks/versus-external-pools/fixed-tinypool.mjs
+++ b/
benchmarks/versus-external-pools/fixed-tinypool.mjs
@@
-16,9
+16,6
@@
const tinypool = new Tinypool({
idleTimeout: 60000 // this is the same as poolifier default
})
-/**
- *
- */
async function run () {
const promises = []
for (let i = 0; i < iterations; i++) {