Skip to content

Instantly share code, notes, and snippets.

View JobLeonard's full-sized avatar

Job van der Zwan JobLeonard

  • IxD/supporting programmer at Linnarsson Lab
  • Malmö
View GitHub Profile
@JobLeonard
JobLeonard / index.html
Last active June 28, 2017 20:10
char vs charCode combined with object vs Map lookup (http://jsbench.github.io/#f1f9afdba2eac615645c80335c48ed10) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>char vs charCode combined with object vs Map lookup</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>
@JobLeonard
JobLeonard / index.html
Last active June 28, 2017 20:12
char vs charCode combined with object vs Map hasOwnProperty #jsbench #jsperf (http://jsbench.github.io/#8345886c28796a6d825c292900d01777) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>char vs charCode combined with object vs Map hasOwnProperty #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>
@JobLeonard
JobLeonard / index.html
Last active July 6, 2017 08:37
LZString old vs new compression short repetitive string #jsbench #jsperf (http://jsbench.github.io/#e25c445d987295b0114407e457dde9ad) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString old vs new compression short repetitive string #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>
@JobLeonard
JobLeonard / index.html
Last active July 1, 2017 23:13
LZString old vs new decompression (http://jsbench.github.io/#c049a255e8f551dd5c4c4cab8656bae3) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString old vs new decompression</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>
@JobLeonard
JobLeonard / index.html
Last active July 6, 2017 08:33
LZString old vs new compression short repetitive string #jsbench #jsperf #jsbench #jsperf (http://jsbench.github.io/#4a2ca3e9e3e9ee544f5b76acc7699ef8) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString old vs new compression short repetitive string #jsbench #jsperf #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>
@JobLeonard
JobLeonard / index.html
Last active July 5, 2017 15:45
LZString 1.4.4 vs pull request #98 - base64 decompression (http://jsbench.github.io/#7af663013ca789a1141980fbcec43871) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - base64 decompression</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>
@JobLeonard
JobLeonard / index.html
Last active July 5, 2017 15:47
LZString 1.4.4 vs pull request #98 - uint8 decompression #jsbench #jsperf (http://jsbench.github.io/#4d328bb9d7c5b83a7a5f11c7778c1d16) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - uint8 decompression #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>
@JobLeonard
JobLeonard / index.html
Last active July 11, 2017 16:39
object vs two array lookups vs inlined ASCII array (http://jsbench.github.io/#f90bf23a39841a3da071c51af082aaab) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>object vs two array lookups vs inlined ASCII 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>
@JobLeonard
JobLeonard / index.html
Created July 11, 2017 17:23
object vs two array vs inlined ASCII array insertion (http://jsbench.github.io/#5a054fcfadc140bff6d563010c9fccc2) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>object vs two array vs inlined ASCII array insertion</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>
@JobLeonard
JobLeonard / index.html
Last active July 16, 2017 17:58
js-search searching index #jsbench #jsperf (http://jsbench.github.io/#9b70178989d5bd6c77a3245629c5d0ae) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>js-search searching index #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>