simplex noise comparison (v6)

Revision 6 of this benchmark created on


Preparation HTML

<script src="https://rawgithub.com/joshforisha/fast-simplex-noise-js/master/main.js"></script>
<script src="https://rawgithub.com/jwagner/simplex-noise.js/master/simplex-noise.js"></script>

Setup

simplex = new SimplexNoise();
    fastSimplex = new FastSimplexNoise();

Test runner

Ready to run.

Testing in
TestOps/sec
simplex-noise
a = 0;
for(var x = 0; x < 32; x++){
  for(var y = 0; y < 32; y++){
    for(var z = 0; z < 32; z++){
      a += simplex.noise3D(x/8, y/8, z/8);
    }
  }
}
ready
fast-simplex-noise
b = 0;
for(var x = 0; x < 32; x++){
  for(var y = 0; y < 32; y++){
    for(var z = 0; z < 32; z++){
      b += fastSimplex.in3d(x/8, y/8, z/8);
    }
  }
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.