Category Archives: Performance

Parallel Downloading HTML Assets

Question: Image - inline Script - image, are the images parallel? Souders just posted the following tweet. Someone out in #webperf land should test how inline scripts block downloads - eg, image - inline script - image - are the images parallel? So here is my response to the question...
Posted in JavaScript, Performance | Tagged as: , | 1 Comment

$(“#ID”) is fast enough

We all know that the fastest selector to use is the ID. Something like $("#id") is better than using a class. However, after looking at the last test we did on The Great Assumption - JavaScript I noticed a large discrepancy in $("#ID") versus the native document.getElementById(). Now, I always assumed it was slower, but [...]
Posted in Do This, Not That, jQuery, Performance | Tagged as: , | 6 Comments

The Great Assumption – Javascript

A couple of weeks ago I was sitting down with a Google Frontend Engineer friend of mine, talking about some of the JavaScript best practices we all have come to know and abide by. I found myself in agreement with 90% of everything we were talking about. However, something kept eating at me. Why do [...]
Posted in Do This, Not That, jQuery, Performance | Tagged as: , | Leave a comment

JavaScript Performance Testing – An Indispensable Tool

Over the course of the last couple of weeks I have been looking into various tools to test Javascript Pefromance. I needed a way to test various JavaScript code snippets to see the overall latency/run time of each. I started looking for a way to manage the tests and be able to reference them in [...]

Posted in Performance | Tagged as: , | 2 Comments