Skip to content

Instantly share code, notes, and snippets.

@ga2mer
ga2mer / index.html
Last active January 15, 2017 17:25
standard condition vs some condition vs callback some condition (http://jsbench.github.io/#7c0becf38d7493fef97f841318550a7e) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>standard condition vs some condition vs callback some condition</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>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>
// ==UserScript==
// @name New Moon With Face for vk.com
// @namespace http://ga2mer.github.io
// @version 0.1
// @description 🌚
// @author ga2mer
// @match https://vk.com/*
// @grant GM_addStyle
// ==/UserScript==
GM_addStyle(`.moon {