kivi icon indicating copy to clipboard operation
kivi copied to clipboard

Vanilla-js still faster than kivi

Open jklmli opened this issue 8 years ago • 3 comments

http://vanilla-js.com/ is a serious opponent - how do we beat them? I see we've made significant progress in the last benchmark round, how can we do better next time?:

http://stefankrause.net/js-frameworks-benchmark4/webdriver-ts/table.html http://stefankrause.net/js-frameworks-benchmark5/webdriver-ts/table.html

How do we plan to catch up?

jklmli avatar Feb 17 '17 00:02 jklmli

We don't need to beat them :)

This benchmark is using test cases that are easy to implement in vanilla. And for some test cases like "delete" it still requires some tricks that aren't many people know about, and I can't imagine that someone will write real application this way.

uibench has way much more test cases, and it would be extremely hard to create efficient vanilla implementation for this benchmark.

localvoid avatar Feb 17 '17 01:02 localvoid

I see we've made significant progress in the last benchmark round

kivi implementation hasn't changed since round4. This benchmark had some serious problems before round5 and this table was completely useless to the wide audience because it compared implementations that preserve internal state against implementations that are losing it.

localvoid avatar Feb 17 '17 01:02 localvoid

@localvoid can probably beat vanillaJS with his bear hands :D

in Soviet Russia...

every-zoo-is-a-petting-zoo-bear

leeoniya avatar Feb 17 '17 01:02 leeoniya