jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.

jsperf.com URLs are mirrored at the same path, e.g:

https://jsperf.com/negative-modulo/2

Can be accessed at:

https://jsperf.app/negative-modulo/2

```
var y = new Float32Array(1);
var i = new Int32Array(y.buffer);
var fastInvSqrt_typed = function(n) {
var n2 = n * 0.5;
y[0] = n;
i[0] = 0x5f375a86 - (i[0] >> 1);
n = y[0];
return n * (1.5 - (n2 * n * n));
};
var random = Math.random;
var sqrt = Math.sqrt;
```

Ready to run.

Test | Ops/sec | |
---|---|---|

Math.sqrt |
| ready |

cached Math.sqrt |
| ready |

Pow 0.5 |
| ready |

fast inverse sqrt |
| ready |

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

- Revision 1: published on
- Revision 2: published on
- Revision 3: published on
- Revision 4: published on
- Revision 5: published by Timo on
- Revision 6: published on
- Revision 7: published on
- Revision 8: published on