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.
1 parent 6c226d9 commit 88ff589Copy full SHA for 88ff589
package.json
@@ -8,8 +8,9 @@
8
9
"devDependencies": {
10
"buster": "~0.7.8",
11
- "benchmark": "~1.0.0",
12
- "microtime": "~0.3.1"
+ "buster": "~0.6.2",
+ "benchmark": "~2.1.0",
13
+ "microtime": "~2.0.0"
14
},
15
"bugs": {
16
"url": "https://github.com/jwagner/simplex-noise.js/issues"
perf/benchmark.sh
@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+sudo cpufreq-set -g performance
3
+# use core 0 + 4 (which is hyperthreading for core 0)
4
+sudo nice -n -10 sudo -u $USER taskset -c 0,4 `which node` --random_seed=1 --hash_seed=1 --expose-gc benchmark.js
5
+sudo cpufreq-set -g powersave
0 commit comments