Testing, Performance Analysis and jQuery 1.4
Published February 22nd, 2010 Under Javascript, Open Source Tools | Leave a Comment
In the first part of the talk, John reviewed the range of tools available to frontend engineers for unit testing and for analyzing the performance of code. In the latter case, he argues for going beyond pure speed-based benchmarks to structural analyses of performance. By looking at structure, the jQuery team was able to identify and correct bottlenecks, resulting in major performance improvements in the upcoming 1.4 release. In the second part of the talk (beginning at 49:20 in the video), John reviews some of those jQuery 1.4 changes. In the short third section (beginning at 1:03:15), he looks at some interesting trends he’s noticed in the practical application of new HTML 5 elements — especially in older browsers.
Extreme JS Performance
Published February 3rd, 2010 Under General, Javascript | Leave a Comment
You serve up your code gzipped. Your caches are properly configured. Your data (and scripts) are loaded on-demand. That’s awesome—so don’t stop there. Runtime is another source of slowdowns, and you can learn to conquer those, too. Learn how to profile & benchmark your code to isolate performance issues, and what to do when you find them. The techniques you’ll learn range from the normal (clean up after yourself) to the extreme (unrolling loops).
JavaScript: Measuring Performance, Games and Distributed Testing
Published January 28th, 2010 Under General, Javascript | Leave a Comment
John Resig touches three JavaScript issues:
* performance measuring: calling getTime() or using a browser extension like Firebug, plus performing complexity analysis,
* creating games: should be multiplayer, hard to cheat, available on all devices, and addictive,
* performing distributed testing to evaluate how a program or game works in a real set.
http://www.infoq.com/presentations/JavaScript-Performance-Games-Distributed-Testing
Introducing YSlow
Published February 6th, 2009 Under Open Source Tools | Leave a Comment
An interview/screencast with Steve Souders of the Yahoo! Exceptional Performance team and YDN, discussing YSlow. YSlow analyzes web pages and tells you why they’re slow based on the rules for high performance web sites. YSlow is a Firefox add-on integrated with the popular Firebug web development tool.
High-performance JavaScript: Why Everything You’ve Been Taught is Wrong
Published September 9th, 2008 Under Javascript | Leave a Comment
Joseph Smarr is the Chief Platform Architect at Plaxo, Inc., where he’s led the engineering of Plaxo’s address-book integration application. In the course of building Plaxo 3.0, which involved an ambitious foray into rich internet application design, Joseph and learned a host of lessons about the importance of performance and the means by which it can be achieved. Many of those lessons (“premature optimization is the root of all evil”) will be familiar. But some run contrary to what are commonly thought of as best practice in frontend engineering. In this talk, Smarr explores the core lessons that he and his Plaxo team have learned and the details of how they leveraged maximum performance from the web browser in the creation of Plaxo 3.0.
keep looking »