Skip to content

Instantly share code, notes, and snippets.

View samosad's full-sized avatar

Aleksei Tabakman samosad

View GitHub Profile
@samosad
samosad / index.html
Created November 15, 2016 09:48 — forked from RubaXa/index.html
arguments: Array#slice, Array#apply, Array.from, fo, while and rest #jsbench #jsperf (http://jsbench.github.io/#1e36f485d47f9cf8009eec50a1b80457) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>arguments: Array#slice, Array#apply, Array.from, fo, while and rest #jsbench #jsperf</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>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>data-init</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>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>randoms groups</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>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>add jquery</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>
var isInFrame = function() {
try {
return window.self !== window.top;
} catch (error) {
return true;
}
};