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

Different ways to concatenate strings together

```
<script>
var one = String.fromCharCode(Math.floor(Math.random() * 128));
var two = String.fromCharCode(Math.floor(Math.random() * 128));
var three = String.fromCharCode(Math.floor(Math.random() * 128));
var four = String.fromCharCode(Math.floor(Math.random() * 128));
var arr = [one, two, three, four]
</script>
```

Ready to run.

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

Direct concatenation |
| ready |

Individual += statements |
| ready |

Individual statements |
| ready |

Using Array#join |
| ready |

Single individual statement |
| ready |

Function based (for) |
| 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 7: published on
- Revision 8: published on
- Revision 10: published on
- Revision 14: published by Redger on
- Revision 15: published by collibra on
- Revision 16: published on
- Revision 17: published on
- Revision 18: published on
- Revision 19: published on
- Revision 20: published on
- Revision 21: published on
- Revision 23: published on
- Revision 25: published by Hans on
- Revision 26: published on
- Revision 27: published on
- Revision 28: published on
- Revision 29: published on
- Revision 31: published on
- Revision 32: published on
- Revision 33: published on
- Revision 34: published on
- Revision 35: published on
- Revision 36: published on
- Revision 37: published on
- Revision 38: published on
- Revision 39: published on
- Revision 40: published by ichi on
- Revision 41: published on
- Revision 42: published on
- Revision 44: published on
- Revision 45: published on
- Revision 46: published on
- Revision 47: published on
- Revision 48: published by stringconcat on
- Revision 50: published by JoeSimmons on
- Revision 51: published on
- Revision 52: published on
- Revision 53: published on
- Revision 55: published by Dan on
- Revision 56: published on
- Revision 57: published on
- Revision 59: published by GarrettS on
- Revision 60: published by TNO on
- Revision 61: published on
- Revision 62: published on
- Revision 63: published on
- Revision 64: published on
- Revision 65: published on
- Revision 66: published on
- Revision 67: published by Rafael Soares on
- Revision 68: published on
- Revision 69: published by Fuwei Chin on
- Revision 71: published on
- Revision 72: published on
- Revision 73: published on
- Revision 74: published on
- Revision 75: published by Arjun on
- Revision 77: published by Oleksandr Kelepko on
- Revision 78: published on
- Revision 79: published on
- Revision 81: published by hiasltiasl on
- Revision 82: published on
- Revision 83: published on
- Revision 84: published on
- Revision 85: published by madreason on
- Revision 87: published by ger on
- Revision 89: published by oleg on
- Revision 91: published on
- Revision 92: published on
- Revision 93: published on
- Revision 94: published on
- Revision 95: published on
- Revision 96: published by Manast on
- Revision 97: published on
- Revision 98: published on
- Revision 99: published on