euank/node-noop

Benchmark against () => {}

Opened this issue · 0 comments

Some people argue that () => {} is simpler. But in fact it's twice slower and it allocates memory, so contributes to GC pressure. See here: https://www.reddit.com/r/programming/comments/5si3aw/everything_that_is_wrong_with_the_node_ecosystem/ddfgye5/