Skip to content

Instantly share code, notes, and snippets.

@craigdmckenna
craigdmckenna / index.html
Last active August 7, 2016 05:10 — forked from RubaXa/index.html
for-in vs. Object.keys vs. Сached keys vs. rorEach vs. while (http://jsbench.github.io/#22211482bdf21f09ca4a366227857af0) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>for-in vs. Object.keys vs. Сached keys vs. rorEach vs. while</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>