Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jwagner committed Jul 23, 2022
1 parent 37771e2 commit b491b2c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions perf/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const {noiseFunction2D, noiseFunction3D, noiseFunction4D} = require('..');

const invocationsPerRun = 8*8*8;
const rnd = () => new Alea('seed');
//console.log(rnd()());
const noise2D = noiseFunction2D(rnd());
const noise3D = noiseFunction3D(rnd());
const noise4D = noiseFunction4D(rnd());
Expand All @@ -14,15 +13,6 @@ const noise4D = noiseFunction4D(rnd());
let sideEffect = 0.0;

new Benchmark.Suite('simplex-noise')
// .add('init2D', function() {
// noiseFunction2D();
// })
// .add('init3D', function() {
// noiseFunction3D();
// })
// .add('init4D', function() {
// noiseFunction4D();
// })
.add('noise2D', function() {
let a = 0.0;
for (let x = 0; x < 8; x++) {
Expand Down

0 comments on commit b491b2c

Please sign in to comment.