repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bd0e5c4
)
Consolidate benchmarks documentation (#350)
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 10 May 2021 09:55:15 +0000
(11:55 +0200)
committer
GitHub
<noreply@github.com>
Mon, 10 May 2021 09:55:15 +0000
(11:55 +0200)
benchmarks/README.md
patch
|
blob
|
blame
|
history
benchmarks/versus-external-pools/BENCH-100000.md
patch
|
blob
|
blame
|
history
benchmarks/versus-external-pools/README.md
patch
|
blob
|
blame
|
history
package-lock.json
patch
|
blob
|
blame
|
history
package.json
patch
|
blob
|
blame
|
history
diff --git
a/benchmarks/README.md
b/benchmarks/README.md
index 66b7abb26a2997cea9977dcdd537da7be4a6e9dd..92357060579a0c554e2ea090244aa9b612a3a546 100644
(file)
--- a/
benchmarks/README.md
+++ b/
benchmarks/README.md
@@
-35,9
+35,4
@@
To run the internal benchmark you just need to navigate to the root of poolifier
## Versus other pools
## Versus other pools
-To run the benchmark versus other pools you will need to:
-
-- [Install hyperfine](https://github.com/sharkdp/hyperfine#installation)
-- Run the `./bench.sh` into the `versus-external-pools` folder
-
-> :warning: **Please be sure to use a quite PC when you run the benchmarks**
+Read [README.md](./versus-external-pools/README.md)
diff --git
a/benchmarks/versus-external-pools/BENCH-100000.md
b/benchmarks/versus-external-pools/BENCH-100000.md
index 5fed6586333ab38790bb4f01b8a3989ba8b71a62..0bb2f47275f22337ab57c1806c5cff72aa5c257b 100644
(file)
--- a/
benchmarks/versus-external-pools/BENCH-100000.md
+++ b/
benchmarks/versus-external-pools/BENCH-100000.md
@@
-1,5
+1,5
@@
| Command | Mean [s] | Min [s] | Max [s] | Relative |
| Command | Mean [s] | Min [s] | Max [s] | Relative |
-|
:-----------------------------------------------------|---------------:|--------:|--------:|------------:
|
+|
:--------------------------------------------------- | -------------: | ------: | ------: | ----------:
|
| `node dynamic-piscina.js` | 18.364 ± 0.203 | 18.050 | 18.737 | 1.07 ± 0.02 |
| `node fixed-piscina.js` | 18.222 ± 0.519 | 17.529 | 19.164 | 1.06 ± 0.03 |
| `node dynamic-poolifier.js` | 17.135 ± 0.256 | 16.926 | 17.755 | 1.00 |
| `node dynamic-piscina.js` | 18.364 ± 0.203 | 18.050 | 18.737 | 1.07 ± 0.02 |
| `node fixed-piscina.js` | 18.222 ± 0.519 | 17.529 | 19.164 | 1.06 ± 0.03 |
| `node dynamic-poolifier.js` | 17.135 ± 0.256 | 16.926 | 17.755 | 1.00 |
diff --git
a/benchmarks/versus-external-pools/README.md
b/benchmarks/versus-external-pools/README.md
index 02ba1a6798a82def4f885e6cfb92dbdeb5b0c1bc..faecde878aa7c0b3328c1264d5c13e6c7f285a82 100644
(file)
--- a/
benchmarks/versus-external-pools/README.md
+++ b/
benchmarks/versus-external-pools/README.md
@@
-1,7
+1,9
@@
-# Poolifier
Benchmark
s
+# Poolifier
benchmarks versus other pool
s
To run the benchmark versus other pools you will need to:
- [Install hyperfine](https://github.com/sharkdp/hyperfine#installation)
To run the benchmark versus other pools you will need to:
- [Install hyperfine](https://github.com/sharkdp/hyperfine#installation)
-- Run `npm install`
+- Run `npm install`
into the `versus-external-pools` folder
- Run the `./bench.sh` into the `versus-external-pools` folder
- Run the `./bench.sh` into the `versus-external-pools` folder
+
+> :warning: **Please be sure to use a quite PC when you run the benchmarks**
diff --git
a/package-lock.json
b/package-lock.json
index 7b24e47215454e6c30ecbc52c7792d422599526a..eb3f87c9c071ce82bf2452978f001dc579551f3b 100644
(file)
--- a/
package-lock.json
+++ b/
package-lock.json
@@
-352,9
+352,9
@@
}
},
"@es-joy/jsdoccomment": {
}
},
"@es-joy/jsdoccomment": {
- "version": "0.4.
3
",
- "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.4.
3
.tgz",
- "integrity": "sha512-
t0JWZfQiG+Qkr6+tl05dlGcgE/MMPqs7QfNlFkTsbpcCu2Zfukcan/fIiHKTc0iOs4Yh3cnfklMayJnlmKaOwQ
==",
+ "version": "0.4.
4
",
+ "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.4.
4
.tgz",
+ "integrity": "sha512-
ua4qDt9dQb4qt5OI38eCZcQZYE5Bq3P0GzgvDARdT8Lt0mAUpxKTPy8JGGqEvF77tG1irKDZ3WreeezEa3P43w
==",
"dev": true,
"requires": {
"comment-parser": "^1.1.5",
"dev": true,
"requires": {
"comment-parser": "^1.1.5",
@@
-1703,12
+1703,12
@@
}
},
"eslint-plugin-jsdoc": {
}
},
"eslint-plugin-jsdoc": {
- "version": "33.1.
0
",
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-33.1.
0
.tgz",
- "integrity": "sha512-
nyH1qAj5f4uDnDpg4aiAS65wJSfxfBDf0lIgNfxtew31z3VRaM8WsVmpe4UhI2u27oOD/ChRuye6KAzzuHn6Jw
==",
+ "version": "33.1.
1
",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-33.1.
1
.tgz",
+ "integrity": "sha512-
6Avc2czg/mh0zmuU3H4v2xTXOALl9OiMGpn55nBDydhU684cVgvn2VtXm1JgH+2TW5SxEDnX3o/FUgda7LgVYA
==",
"dev": true,
"requires": {
"dev": true,
"requires": {
- "@es-joy/jsdoccomment": "^0.4.
3
",
+ "@es-joy/jsdoccomment": "^0.4.
4
",
"comment-parser": "1.1.5",
"debug": "^4.3.1",
"esquery": "^1.4.0",
"comment-parser": "1.1.5",
"debug": "^4.3.1",
"esquery": "^1.4.0",
@@
-4044,9
+4044,9
@@
"dev": true
},
"prettier": {
"dev": true
},
"prettier": {
- "version": "2.
2.1
",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.
2.1
.tgz",
- "integrity": "sha512-
PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q
==",
+ "version": "2.
3.0
",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.
3.0
.tgz",
+ "integrity": "sha512-
kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w
==",
"dev": true
},
"prettier-linter-helpers": {
"dev": true
},
"prettier-linter-helpers": {
diff --git
a/package.json
b/package.json
index b2d6f9ffa444b143029294896b7433434dc60c44..35e30ecd5729ce35fc834e1185b2314630987836 100644
(file)
--- a/
package.json
+++ b/
package.json
@@
-71,7
+71,7
@@
"eslint-config-standard": "^16.0.2",
"eslint-define-config": "^1.0.8",
"eslint-plugin-import": "^2.22.1",
"eslint-config-standard": "^16.0.2",
"eslint-define-config": "^1.0.8",
"eslint-plugin-import": "^2.22.1",
- "eslint-plugin-jsdoc": "^33.1.
0
",
+ "eslint-plugin-jsdoc": "^33.1.
1
",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettierx": "^0.17.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettierx": "^0.17.1",
"eslint-plugin-promise": "^5.1.0",
@@
-80,7
+80,7
@@
"microtime": "^3.0.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"microtime": "^3.0.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
- "prettier": "^2.
2.1
",
+ "prettier": "^2.
3.0
",
"prettier-plugin-organize-imports": "^2.0.0",
"prettierx": "^0.18.0",
"rollup": "^2.47.0",
"prettier-plugin-organize-imports": "^2.0.0",
"prettierx": "^0.18.0",
"rollup": "^2.47.0",