Archive for August, 2006

The RND Benchmark Update Redux

Sunday, August 13th, 2006

Yesterday I posted some updated benchmarks which put a new JavaScript templating system called RND up against basic DOM manipulation, AJS, and the use of innerHTML.

Today Amix has posted what I believe is a much fairer comparison. However the basic DOM manipulation code seemed slower than it should be to me. So I decided to optimize it.

Let me stress again that I believe the updated benchmark that Amix has on his blog is entirely fair as it is written exactly how most people would write it.

That being said, I wanted to see what optimization of the DOM example could do against string concatination!
Get the zip here.

(more…)

Updated RND Benchmarks

Saturday, August 12th, 2006

Since the original author was curious about the results from my updated benchmarks here they are. I will only report results from test-fixed.html as I do consider test-unfairdom.html to be unfair in favor of the dom example. Then again I did make it so you already knew that. ;)

Read on for my results!

(more…)

The RND benchmarks

Saturday, August 12th, 2006

Recently, a digg article featured a Javascript templating system called RND.

RND is touted as a “fast and simple JS template system”. I can categorically state that it is indeed fast and simple. Those are exactly the reasons why I like it.

You’re probably asking yourself “Well how fast is it?” . So fast in fact, that the author decided to post benchmarks of his solution against similar solutions written using innerHTML, the W3C DOM functions, and AmiJS. His benchmarks showed time and time again that his solution was notably faster than the pure DOM function methods! This surprised me to say the least, so I decided to take a look.
(more…)