Skip to content

Instantly share code, notes, and snippets.

@Neonit
Neonit / index.html
Created May 3, 2017 07:42
Manual HTML building vs. innerHTML (https://jsbench.github.io/#1d9b78eaa605a481f7612df151527ff4) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Manual HTML building vs. innerHTML</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>