How is virtual-dom powered discourse widgets compares to glimmer2 , on android now ?
You would need to ask @eviltrout but last time we checked, many times faster still.
Since we are building a chat-room , i guess we will need it. But we will try smoke and mirror first . Why SnM is not applicable for discourse ?
The vdom hot path of the codebase was about 6x faster across the board, so even with recent ember improvements it doesn’t make sense to rewrite it in glimmer 2.
Having said that, it would be lovely if in the future ember got so fast that I could ditch that code - it’s much harder to write the HTML widgets by hand than using handlebars is
We do the occlusion stuff ourself in the vdom part. Before that we had our own system for doing that which I called cloaking. It’s much faster to only render what’s on screen, but it’s even faster still to have vdom stuff.
Very interesting , any chance of releasing that as an addon ?
Any news on this problem ?
Chrome 59 is now out with TurboFan and Ignition working:
Improvements are kind of modest on Android phones, though… up to about 20%, less so on older devices.
Not very good results with a so powerful chipset
Qualcomm is years behind Apple on raw performance, unfortunately. Even their latest SoC is just not very fast in absolute terms.
Anyway it’s mainly a V8 issue if I understand correctly
Partially, but the software side is now more or less resolved (scroll up and look at the screenshots I posted). As for hardware, look at geekbench 4 single threaded results (all JS is single threaded) and compare. Apple is at 2x what Qualcomm can deliver. Most Qualcomm SoCs in phones today are barely at iPhone 6 perf levels.
Not true; look up benchmarks on the Apple iPhone 7. It’s damn near a laptop processor at this point. And the iPhone 8 (A11) has yet to be released, not to mention iPhones 9 and 10…
iPhone 8 benchmarks are out and here’s a summary…
The “bad news” is that iPhone 7 was already so fast that for Ember, we’ve definitely reached the point of saturation where further perf increases on the iOS side aren’t getting us much.
Checking my prior results for ember 2.10, render complex list, using Chrome latest on each:
Nexus 5 – 413ms → 325ms
Nexus 7 – 673ms → 585ms
Nexus 6p – 212ms → 150ms
OnePlus 5 – 90ms → 75ms