I’ve prepared jsperf tests of most the example code from the article so you can judge by yourself:
As you can see for yourself some tips are solid, while others are just not true, but overall theres just one tip I would truly recommend to you and that is that DOM operations are expensive. So dont focus on minor optimiziations, focus on what matters;
That being said, some of these tips are good to maintain performance in older browsers. String building through arrays perform far better in old browsers, while its quite well optimized in your normal every day web developers chosen browser. You also need to think about who you are targeting; If you need to cater for a bunch of IE8 users you need a different optimization focus than for Chrome Canary users.
Explore the new iTerm2 Python API to automate terminal workflowsRead full post →
How we built a fun LED lighted, internet controllable Stranger Things inspired ouija board for halloweenRead full post →
You don’t need a designer. You need a new way of thinking.Read full post →