Skip to content

Comment on Are mobile web apps slow?parent

Comments

great app. Did you use any framework to build the app (I mean frameworks like sencha, enyos, etc)?

No, I didn't use any framework, but I am using Zepto library. I may remove zepto in the future as all these libraries are very slow on mobile. When I replaced $.html() with dom .innerHTML, rendering time improved by 50% in some cases.

Native fragment technique is even faster than innerHTML in Chrome/Firefox: http://jsperf.com/innertext-vs-fragment/19

this is an awesome insight. any chance you could share more of these lessons?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.