These are chat archives for ractivejs/ractive

13th
Apr 2018
Chris Reeves
@evs-chris
Apr 13 2018 19:17
playing around with the js-framework-benchmark, I think I may have come up with a ~10% render performance improvement
looks like by setting up static attributes so that they only have to be dealt with at element render rather than keeping them as separate entities, we drop a bit of memory requirement and render time
kouts
@kouts
Apr 13 2018 19:20
nice to hear! :clap:
Chris Reeves
@evs-chris
Apr 13 2018 19:22
also makes class-foo and class="some static classes" and style-display="block" and style="color: green; font-weight: 600;" basically free
because ractive will glom them together and not have to worry about them updating at some point in the future
it's amazing how difference you can get between runs of that benchmark suite
especially if thermal load is a factor e.g. with a laptop
moral of the story is, once again, take benchmark results with a big 'ol chunk of salt
kouts
@kouts
Apr 13 2018 19:50
I've never took benchmarks as a deciding factor, for me Ractive's weakness is the size, 215kb minified whilst for example Vue+Vuex+Vue Router minified weighs 125kb minified
Chris Reeves
@evs-chris
Apr 13 2018 19:51
that's fair
ractive is a bit overweight
hopefully we can reduce that a fair amount by splitting out some plugins in the near future
there's a lot of stuff that's a little bit overkill in core
kouts
@kouts
Apr 13 2018 19:52
There's too much functionality crammed in there :smile:
I'm sure I'm using just 30 - 40%
of what is available
Chris Reeves
@evs-chris
Apr 13 2018 19:53
I think I hit ~50-60%
I still get surprised by an issue every now and then
"wait, I didn't know it did that"
kouts
@kouts
Apr 13 2018 19:55
interesting to hear that from you @evs-chris :smile:
I thought you knew everything
Chris Reeves
@evs-chris
Apr 13 2018 19:56
oh, no
you could fill station wagons with 1tb micro sd cards with the things I don't know :smile:
kouts
@kouts
Apr 13 2018 19:57
hahhaha :smile:
wait, do 1TB micro sd cards actually exist?
I see that they do!
Chris Reeves
@evs-chris
Apr 13 2018 19:59
fairly new
I was amazed when the 1gb ones came out
"you mean I could accidentally inhale a full 1080p movie!?"
kouts
@kouts
Apr 13 2018 20:00
:smile: