I modified the fiddle to loop 100 times; this will partially account for
cachine, and MV optimizations.  By the last round:

idLookup: 2ms
dataLookup: 15ms

Still, tiny amounts of time.




On Thu, Nov 8, 2012 at 4:45 AM, Lance Java <lance.j...@googlemail.com>wrote:

> Here's a first attempt at benchmarking the differences:
> http://jsfiddle.net/xPVy6/6/
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/5-4-JavaScript-Explicit-vs-Unobtrusive-initialization-tp5717787p5717818.html
> Sent from the Tapestry - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to