These are chat archives for riot/riot

10th
Aug 2015
Claudio Holanda
@kazzkiq
Aug 10 2015 01:49
Indeed, it was some quirk of my phone (or perhaps its 5.473 apps opened), after closing most apps, no more crashes happened.
rhysallister
@rhysallister
Aug 10 2015 04:36
how does one make non object arrays work with coffeescript...the example given in the docs throws an error cuz its not proper cs.
nino-porcino
@nippur72
Aug 10 2015 12:32
on my S3 phone, stock browser hangs on both, chrome for android loads them ok
avimar
@avimar
Aug 10 2015 13:57
just curious did someone let https://twitter.com/aerotwist know about the riot example https://github.com/kazzkiq/samples/tree/gh-pages/perf/dom-riot-vs-vanilla ? I don't use twitter.
Claudio Holanda
@kazzkiq
Aug 10 2015 15:13
He was mentioned in @GianlucaGuarini tweet: https://twitter.com/gianlucaguarini/status/630462323610755072
Tim Davis
@thebearingedge
Aug 10 2015 15:53
Both versions work on my nexus 5. Have to jump through some hoops to get the csv files though.
Tim Davis
@thebearingedge
Aug 10 2015 15:58
That's mobile chrome
Claudio Holanda
@kazzkiq
Aug 10 2015 16:15
For a better representation of the results, here are two graphs comparing Riot vs React vs Vanilla
This message was deleted
"Desktop": Macbook Pro Retina 2014 2,3 GHz i7
DESKTOP.png
Mobile: Sony Xperia Z3
MOBILE.png
Claudio Holanda
@kazzkiq
Aug 10 2015 16:21
Each "image" added consists of 7 new HTML elements on the DOM
Sylvain Pollet-Villard
@sylvainpolletvillard
Aug 10 2015 16:51
these are lovely graphs to put in my next team meeting ;)
Claudio Holanda
@kazzkiq
Aug 10 2015 17:05
the funny thing is that the number of lines of code in Riot were (literally) half of those in React
At the end I was like "How is this even running?! I've certainly forgot to add some code complexity here" hehe