Skip to content

Instantly share code, notes, and snippets.

@DerekZiemba
DerekZiemba / index.html
Created April 24, 2020 19:56
Javascript Property Access Performance (http://jsbench.github.io/#4ef29e47641e4fa1fdb8af48b2a7fe12) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Javascript Property Access Performance</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>
@DerekZiemba
DerekZiemba / index.html
Last active April 15, 2020 21:55
Fastest way to filter/compact array (https://jsbench.github.io/#7e604d68c13fb1b41e441a963cb9b764) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Fastest way to filter/compact array</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>
@DerekZiemba
DerekZiemba / index.html
Last active May 20, 2021 17:20
Object Shape: Different methods for backing fields (https://jsbench.github.io/#5c4e4ed52ce564de7d07231f9e44d687) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Object Shape: Different methods for backing fields</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>
Derek@DEREK-WIN10 B:\HomeVideos\VHSTapes
> icacls TestVideo.mkv
TestVideo.mkv DEREK-WIN10\Derek:(I)(F)
BUILTIN\Administrators:(I)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\Authenticated Users:(I)(M)
BUILTIN\Users:(I)(RX)
Successfully processed 1 files; Failed processing 0 files
@DerekZiemba
DerekZiemba / index.html
Last active March 24, 2018 05:40
Benchmark to find fastest way to create new HTMLElements and test jQuery version 1, 2, and 3. (https://jsbench.github.io/#02fe05ed4fdd9ff6582f364b01673425) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Benchmark to find fastest way to create new HTMLElements and test jQuery version 1, 2, and 3. </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>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
namespace ExampleILGeneratorShallowCopy {
@DerekZiemba
DerekZiemba / index.html
Last active March 9, 2018 11:42
Fastest method to slice arguments at index 2 (https://jsbench.github.io/#e68458777bae1f89c06b8ff325c7e67a) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Fastest method to slice arguments at index 2</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>
@DerekZiemba
DerekZiemba / index.html
Last active February 4, 2020 01:39
Fastest way to convert arguments to array (https://jsbench.github.io/#23acc7fe843ce3d2cf009ed0cec10428) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Fastest way to convert arguments to array</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>
@DerekZiemba
DerekZiemba / index.html
Last active March 13, 2020 23:56
ES6 Classes vs Closures vs ES5 "Classes" (http://jsbench.github.io/#b5d3ec32e4fae1606cafae8f309659aa) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>ES6 Classes vs Closures vs ES5 "Classes"</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>