developit
Fast Deferral
Testing out a bunch of common implementations of a fast deferral. The most common is Node's setImme...
++ VS +=
It's a pretty stupid test....
Array De-Duplication
Find the fastest method of removing duplicate entries in an Array....
className VS classList
Type Checking
What's faster? instanceof, own-property existence check, or prototype property existence check?...
Test Bench
Don't look but this is stored via Dokku...
Emptying a Node
From jsperf.com/emptying-a-node...
ES6 Hidden Class Performance
Do "hidden classes" really affect performance that much compared to Plain Old JavaScript Objects? C...
Array.from Implementations
typeof string
Is it worth avoiding?...
Node Text Content
textContent and variants...
Hyperscript Reviver
Various implementation tweaks for Preact's h() function, which gets called more than just about anyt...
Own Property
Removing an item from an array
Object Clone
Flush Callback Queue
Conditional Allocation
Memoize
Object Speed
Object Key Renaming
Sparse Arrays VS splice()
Related to https://github.com/developit/preact/pull/99...
Concat Speed
Serialized data over postMessage
Object to CSS String
Array Loops
Object Shape
Component Constructor
Object.create(null)
Style Performance
cssText vs properties
Existence Checks
String startsWith
Array Length Caching
Document Fragments
setAttribute vs setAttributeNS
Recursively Flatten an Array
This is an interesting problem, since most solutions rely on recursion, but it can also be solved in...
String Coercion
shallowEqual
Hyperscript Reviver 2
Various implementation tweaks for Preact's h() function, which gets called more than just about anyt...
equality
isArray
Object key fuzzy renaming
Allocation of Empty Arrays
String concat 2
D3 Path Arc
Whitespace-Only String Check
TreeWalker
Wrapped try/catch
Does wrapping a function in a try/catch wrapper function (still) have a negative effect on perf?...
Is SVG Element
Hyperscript Reviver 3
Can we push hyperscript further?...