Skip to content

Instantly share code, notes, and snippets.

View will-russell's full-sized avatar

Will Russell will-russell

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Untitled benchmark</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>
@will-russell
will-russell / index.html
Created December 19, 2016 16:24
Apply vs. Call for function (https://jsbench.github.io/#9cca0d3627369c62441578d3066b386f) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Apply vs. Call for function</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>
@will-russell
will-russell / index.html
Created December 19, 2016 16:05
Test hasOwnPoperty vs. Null property check (https://jsbench.github.io/#140ccbb06553d7cd81d033167dc6654e) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Test hasOwnPoperty vs. Null property check</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>