Thursday 15 April 2010

knockout.js - Are components really faster compared to templates? -



knockout.js - Are components really faster compared to templates? -

i decided compare speed of components ko 3.2 versus other template engines adding components test in next jsperf:

http://jsperf.com/knockout-template-engines/19

the results puzzling me, since see components 98% faster regular templates. sense doing wrong, unable figure out.

can expert shed lite on this? performance real or seeing wrong benchmark results?

it's hard compare async performance other templates, hacked ko component test case (very ugly hack, sorry) check it's done on setinterval: http://jsperf.com/knockout-template-engines/21 idea. seems perform comparably others.

a real-world illustration shows not performance bottleneck: https://metrics.wmflabs.org/static/public/dash/

knockout.js knockout-components

No comments:

Post a Comment