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 March 27, 2017 12:52
split string various lengths (http://jsbench.github.io/#d70fc60aeaed28f321133c4c840e6ad6) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>split string various lengths</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 March 27, 2017 19:03
look-up table vs Function-switch object (http://jsbench.github.io/#8189f091cefafb2999c9779ecac45da4) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>look-up table vs Function-switch object</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>Filling indices</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 June 27, 2017 14:00
LZString 1.4.4 vs pull request #98 (http://jsbench.github.io/#4deae0e6fb7495a50f438080a685c91d) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98</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 June 27, 2017 14:18
LZString 1.4.4 vs pull request #98 - compress (http://jsbench.github.io/#2a07fd14b55d44291da4b06d3ba6e5c3) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - compress</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:43
LZString 1.4.4 vs pull request #98 - decompression (http://jsbench.github.io/#da32b5d1100c24c7744bb58ca3fff440) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - 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 June 27, 2017 14:44
LZString 1.4.4 vs pull request #98 - UTF16 #jsbench #jsperf (http://jsbench.github.io/#4029cae03b1e2fc06ad44e35f5bfca6b) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - UTF16 #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 June 27, 2017 14:24
LZString 1.4.4 vs pull request #98 - Uint8 #jsbench #jsperf (http://jsbench.github.io/#14395aeb1f452cefa52b5f86b0f644c5) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - Uint8 #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
Created June 27, 2017 14:24
LZString 1.4.4 vs pull request #98 - URI (http://jsbench.github.io/#54c40822dabdbd46a93fb0b7ff6832d9) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>LZString 1.4.4 vs pull request #98 - URI</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 16:14
charAt vs charCodeAt hashmap #jsbench #jsperf (http://jsbench.github.io/#a5c234621b81cd41b26e31d7f92f62d4) #jsbench #jsperf
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>charAt vs charCodeAt hashmap #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>