Re:Evergreen: a React UI Framework built by Segment
by ergo14 on Wednesday October 17, 2018 @08:47AM
(#18238406)
Lit-html is faster than react + vdom - and has 6kb instead of 60kb. And back in the time everyone used jquery, the arguments are always the same.
[ Parent
| on HN ]
Re:Evergreen: a React UI Framework built by Segment
by 49para on Wednesday October 17, 2018 @09:57AM
(#18239008)
heh, I've worked for companies that hit the max on cookie size (which I think is around 60kb). For an entire framework to be 60kb would be amazing for these companies :)
Re:Evergreen: a React UI Framework built by Segment
by ergo14 on Wednesday October 17, 2018 @10:17AM
(#18239257)
Wow - 60kb for cookies is crazy.
Re:Evergreen: a React UI Framework built by Segment
by naasking on Wednesday October 17, 2018 @09:31AM
(#18238730)
Where's the benchmark showing this?
Re:Evergreen: a React UI Framework built by Segment
by ergo14 on Wednesday October 17, 2018 @10:10AM
(#18239170)
https://stefankrause.net/js-frameworks-benchmark8/table.html - thats old lit release there vs react 16 (react pre 16 would be slower and everyone agrees its generally fast already), on slack channel I believe I saw newer release benchmarks that are better (it also depends at which specific test you look at).
New version of repeat is interesting:
Re:Evergreen: a React UI Framework built by Segment
by naasking on Wednesday October 17, 2018 @10:17AM
(#18239256)
I compared my usual candidates: vue, inferno, Surplus and vanillajs, and lit-html was dead last overall in almost every category. Also slower than Preact now that I checked, so I'm not sure that performance benefits are one of lit-html's unique strengths.
Re:Evergreen: a React UI Framework built by Segment
by ergo14 on Wednesday October 17, 2018 @10:26AM
(#18239364)
Yup, notice that from the slack screenshot that I posted it has speed mark 1.18 that puts it before Vue in terms of speed (which makes it plenty fast IMO, and its not even stable yet), I never claimed it is the fastest one of the bunch.
Nicoburns said that "performance question is not solved" - I think we can agree than svelte and lit are fast in general, that was the point I wanted to make that it is the implementation that matters here.
Re:Evergreen: a React UI Framework built by Segment
by ergo14 on Wednesday October 17, 2018 @06:01PM
(#18244249)
There you go, https://rawgit.com/krausest/js-framework-benchmark/master/we..., much faster than vue and react (still not inferno speed yet, but the gap is closing).