5 ms·
Having no experiences with it. The author calmed that is faster but the benchmark result in below chart was shown different word: http://www.stefankrause.net/j
by KayL 10y ago
Having no experiences with it. The author calmed that is faster but the benchmark result in below chart was shown different word:
http://www.stefankrause.net/js-frameworks-benchmark5/webdriver-ts/table.html http://www.stefankrause.net/js-frameworks-benchmark5/webdriv...
- yangbo 10y agoGiven a component that contains n elements, and you want to update k elements at a time, ReactJS requires O(n) time for virtual DOM differentiation, and Binding.scala only takes O(k) time. As a result, Binding.scala is fast when k < n (aka partial updating), even faster than vanillajs written by a common human for some cases. Check the rows "partial update", "select row", "swap rows", "remove row" in the benchmark.
- localvoid 10y agoNobody cares when it is 6ms instead of 3ms for partial updates. What is really important is how fast you can create and remove huge amount of nodes (switching pages in SPA, etc), because it is already takes a huge amount of time, and Binding.scala just adds a huge overhead to this cases.