Skip to content

Instantly share code, notes, and snippets.

@Rewopp
Rewopp / index.html
Created August 28, 2020 16:41
String Replace VS concatenation (http://jsbench.github.io/#807915f825e25b74d1182b2742ed91e2) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>String Replace VS concatenation </title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>