Skip to content

Instantly share code, notes, and snippets.

View jaszczw's full-sized avatar

Wojciech Jaszczak jaszczw

View GitHub Profile
@jaszczw
jaszczw / index.html
Last active October 9, 2016 10:24 — forked from Spyryto/index.html
Sum with reference from closure, and without. (http://jsbench.github.io/#b60d1a2e540ba0224b01f330bdb7ec7c) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Sum with reference from closure, and without.</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>