Skip to content

Instantly share code, notes, and snippets.

View ziriax's full-sized avatar

Peter Verswyvelen ziriax

View GitHub Profile
@ziriax
ziriax / index.html
Last active December 7, 2019 11:05 — forked from DerekZiemba/index.html
ES6 Classes vs Closures vs ES5 "Classes" (http://jsbench.github.io/#68b5db1b478dbb447abec7af4dd2af51) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>ES6 Classes vs Closures vs ES5 "Classes"</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>