Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
thekingshorses
12y ago
0 comments
Save
Share
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.
0 comments
2 comments · 2 top-level
top
newest
oldest
nreece
12y ago
Native fragment technique is even faster than innerHTML in Chrome/Firefox:
http://jsperf.com/innertext-vs-fragment/19
panabee
12y ago
this is an awesome insight. any chance you could share more of these lessons?
j
/
k
navigate · click thread line to collapse