Performance Efficient

Hi, I'm Deb...

Soumya "Debloper" Deb

JavaScript

Performance Efficient

On a Scale of Hello-World to Ninja

What's your favorite avatar?

NameSpaces

a.k.a "please think of the children"

Strings

cut 'em, or tie 'em... but do it right

Keywords

carefully eval with delete

DOM

#omDomDom

Libraries

"To use, or not to use... that is the question!"

Timers

...are of the essence

Closures

are unicorns in disguise

Reflows

less, the better - really!

Web Workers

because, slavery laws don't apply to JS

PreProcess

[CoffeeScript, TypeScript, LiveScript, ...]

PreCompile

Get Awesome with asm.js
assembly language for the web we love!

E.X.P.E.R.I.M.E.N.T.

then Benchmark, then Share

REPEAT...

Thanks!

Soumya "Debloper" Deb

slides.com/debloper/betterjs

CC-BY-NC-SA

Performance Efficient JavaScript

By debloper

Performance Efficient JavaScript

In pursuit of easiness, familiarity & eye-candy, we often give up or forget to prioritize performance. The ever increasing processing power of devices encourages us to write bloated codes and still be passable. Our apps and websites could suck less, if we care for it a little. May it be bandwidth consumption, underoptimized routines, user experience gotchas or else - knowing what makes JavaScript work better across platforms helps create a better web for everyone. BONUS: it makes you a better programmer!

  • 764