nextwebgen.com

The Next Generation Web Now

TaskSpeed: More benchmarks for the libraries and browsers

Filed under: Uncategorized — Dion Almaer at 12:07 pm on Tuesday, March 31, 2009

I didn’t want the TaskSpeed library task test suite to be lost in the Dojo 1.3 announcement. Alex called it out:

Pete Higgins has been working on a new set of benchmarks with the help of other toolkit vendors (to ensure fairness) called “TaskSpeed“. Dojo 1.3 wins by a wide margin. Across all the reported browsers so far, Dojo is at least 2 times faster than other toolkits on common DOM operations. We’ve worked very hard over the years to make sure that Dojo’s APIs don’t encourage you to do things that will hurt you later, and TaskSpeed finally shows how much this philosophy pays off:

Given that DOM is the primary bottleneck in most apps, these tests demonstrate how Dojo’s approach to keeping things fast pays off not just on micro benchmarks like CSS selector speed, performance improvements to single toolkit functions, or even file size – but on aggregate performance where it really matters. Dojo’s modern, compact syntax for these common operations doesn’t slow it down, either. For instance, if you go check out the TaskSpeed reporting page, you’ll see that where browsers are slowest (IE6/7/8, etc.), Dojo’s focus on performance pays off most. Why use a toolkit that’s going to hurt you when it really counts, particularly when Dojo so easy to get started with? Dojo’s Core has been designed from the ground up with APIs that encourage you to do things that are fast and keep you from doing things that are slow unless you really know what you’re doing. In some cases, we’ve made hard size-on-the-wire tradeoffs in order to keep actual app performance speedy. That hard engineering doesn’t show up in micro-benchmarks or single test release-over-release improvements or the “my toolkit is smaller” comparisons that some would prefer that web developers focus on. It’s easy to win rigged games, after all. It’s only when you see APIs composed together in real-world ways, across browsers, that you can start to see the real impact of a toolkit’s design philosophy. Dojo is designed to help you make things that are awesome for users, and that means they need to be FAST.

Other toolkits have released performance numbers of late, and most of them have been either reported badly or run without much rigor, so it’s exciting to see everyone finally pitching in to build end-to-end tests that show how library design decisions interact with real-world realities of browsers. The TaskSpeed tests have been designed to be both even-handed and reliable (no times below timer resolution, etc.). The reporting page is also designed to make the results understandable and put them in context. A lot of care has been taken to keep this benchmark honest. JavaScript developers have suffered at the hand of chart junk for far too long.

It is interesting indeed to see the browsers on the graph. I will let you guess which browsers are which, but the visual difference is astounding:

Go and run it yourself and let us know what you see!

Dojo 1.3 Released along with Plugd

Filed under: Uncategorized — Dion Almaer at 11:44 am on Tuesday, March 31, 2009

We have been using Dojo 1.3 release candidates for awhile on Bespin, and today the Dojo team released Dojo 1.3 just in time for Internet Explorer 8.1 (really? some people believed that? I know that it isn’t quite April Fools……).

There are some nice usable APIs added to base such as:

JAVASCRIPT:

  1.  
  2. // create a div.
  3. var n = dojo.create(“div”);
  4.  
  5. // create a div with content and styles
  6. var n = dojo.create(“div”, { innerHTML:“hi!”, style:{ height:“200px” } });
  7. // destroy the node safely
  8. dojo.destroy(n);
  9.  
  10. // place an anchor somewhere, before the node with id="someNodeId"
  11. var a = dojo.create(“a”, { href:“http://dojotoolkit.org” }, “someNodeId”, “before”);
  12.  
  13. // empty the contents of a node safely:
  14. dojo.empty(“someNodeId”);
  15. dojo.query(“.nodes”).empty();
  16.  
  17. // place a new LI in an UL at the first position
  18. dojo.place(“<li>Newly created DOM Node</li>”, “someUl”, “first”);
  19.  
  20. // complex creation in dojo.query. passes through dojo.place
  21. dojo.query(“#myNode”).addContent(“hi there!”, “first”);
  22.  

You can also choose between Acme and Sizzle as the engine that powers dojo.query.

Pete also announced Plugd a very cool plugin that “is available as a standalone “dojo.js” replacement (just throw it in your project on top of dojo.js!) or as a 2k adapter to load a bunch of solid additional base API’s. We’ll be continually working to merge the best parts of plugd back into Dojo land, but for the time being they are provided as a separate entity, and are fully documented.”

With plugd you can write code like this:

JAVASCRIPT:

  1.  
  2. $(“p.baz”)
  3.     .appendTo(“body”)
  4.     .addClass(“bar”)
  5.     .onclick(function(e){
  6.        e.target.innerHTML = “Wow, JavaScript”;
  7.     });
  8.  

Doesn’t look like Dojo does it? :)

I blathered on about this and some other items when I discusses how Alex and Pete kindly indulged me in a scoping exercise that “should never be used in production!” ;)

Mistrial called in Ajax shooting incident – Newsdurhamregion.com

Filed under: Uncategorized — Ajax - Google News at 11:26 am on Tuesday, March 31, 2009
Mistrial called in Ajax shooting incident
Newsdurhamregion.com, Canada
The teenager has been charged with aggravated assault and weapons offences stemming from the shooting of a youth on Shoal Point Road in Ajax on Sept. 16, 2007. Justice Sosna said some comments in the video transcript can't be instructed away.

Ajax-Pickering team hosts OMHA championship tournament – Newsdurhamregion.com

Filed under: Uncategorized — Ajax - Google News at 10:11 am on Tuesday, March 31, 2009
Ajax-Pickering team hosts OMHA championship tournament
Newsdurhamregion.com, Canada
AJAX — The Ajax Pickering Novice triple-A Raiders will host the OMHA Championship tournament this weekend at the Ajax Community Centre. They were chosen as hosts based on the Ajax Pickering Midget triple-A Raiders' winning the OMHA Championship last

Ajax Developer Pimps Out Resume – CIO

Filed under: Uncategorized — Ajax - Google News at 9:00 am on Tuesday, March 31, 2009
Ajax Developer Pimps Out Resume
CIO, MA
That's right, I'll Ajax the crap out of your site. Nothing, and I mean nothing will be static. I'll pull your data asynchronously from every orifice of your server. Your clients will be SOOOOO impressed. What's more, I'll use jQuery to do it all!

Ajax wants Stanislav Manolev and Ivelin Popov – News.bg

Filed under: Uncategorized — Ajax - Google News at 8:51 am on Tuesday, March 31, 2009
Ajax wants Stanislav Manolev and Ivelin Popov
News.bg, Bulgaria
The game with Cyprus could send two of the Bulgarian national football players in the four time European champion “Ajax”, informs “Meridian match” newspaper. The coach of the Dutch team David End will come to the Bulgarian national stadium “Vassil

Integrated ALM goes on-demand – SDTimes.com

Filed under: Uncategorized — Ajax - Google News at 7:41 am on Tuesday, March 31, 2009
Integrated ALM goes on-demand
SDTimes.com, CA
and eventually migrate to an on-premise installation. Both versions use the same browser-based interface, which has been redesigned in Kovair 6.0 for easier navigation. It now uses AJAX, and its custom forms tabs have been replaced by collapsible
Kovair Software Now Offers Choice of SaaS for ALM Market Wire (press release)
all 5 news articles

Donald And Van Der Heijden Set For Ajax Return – Goal.com

Filed under: Uncategorized — Ajax - Google News at 7:16 am on Tuesday, March 31, 2009

Goal.com
Donald And Van Der Heijden Set For Ajax Return
Goal.com, Switzerland
Amsterdam outfit Ajax have received some good news from the injury front. Talented midfielders Jan Arie van der Heijden and Michell Donald have both returned to full training action. The 20-year-old Donald is a product of the Ajax youth academy and

« Previous PageNext Page »