Making
websites
fast



Refresh Austin

Who am I?



Chris Ruppel

frontend dev @ Four Kitchens

twitter.com/rupl

github.com/rupl

Four Kitchens



(we're hiring!)

I contribute to open source stuff:

What is frontend performance about?



Users want performance
over cool effects.



(Even when they don't realize it.)



Mobile devices suffer even worse


Topics covered


Load times:
How do I make pages load faster?


Perception:
How do I make pages seem to load even faster?


Tools:
How do I pull this stuff off?


Load times


How do I make pages load faster?

Workflow tools

JavaScript debugging


JSHint - a JavaScript Code Quality Tool



(or jslint.com if you need more Crockford)

Automation


grunt - task-based command line
build tool for JavaScript


Automates grunt work for you


  • Compile your Sass on filesave
  • Trigger LiveReload/Guard on filesave
  • Run JSHint on filesave
  • Minify files with UglifyJS
  • Concat files and create builds
    of libraries or aggregates
  • Tons of plugins with an
    active community

JS Testing

JSperf


JavaScript performance playground


  • Runs JS code and tests how many ops/sec
  • Integration with BrowserScope
  • Social integration; people can discuss issues



Browse some example tests

Questions?


Contact me:

drupal.org/user/411999

github.com/rupl

twitter.com/rupl

chris ❀ fourkitchens.com