JSON, XML performance
labs.mudynamics.com
labs.mudynamics.com
(Lesson learned: make sure you can serve pages without ad and tracking scripts to show the customer that you are fast as hell, that it is their "money-maker dependencies" that kill snappiness)
Javascript can often be hidden behind some user-initiated click, where it "feels" okay to have 1 or 2 sec of delay given that some feedback is given directly, such as changing the mouse pointer or the color of the button pressed.
I wish github would let me be the initiator of more of their page updates, because those pages can be really slow to finish using my weaker machines.
The real chart he should be referring to is here: http://ejohn.org/apps/jsonvxml2/json-speeds.png
and here's the appropriate comment:
// In the third stage we use the eval function to compile the text into a
// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
// in JavaScript: it can begin a block or an object literal. We wrap the text
// in parens to eliminate the ambiguity.
So um, json.js does use eval, same as jQuery.On http://www.pcapr.net, we use tons of javascript and I've noticed returning "large" JSON arrays makes quite a few different browsers croak.
http://blog.mozilla.com/webdev/2009/02/12/native-json-in-fir...
Which could make the speed comparable, but just on FF31