Code Monkey home page Code Monkey logo

Comments (7)

jorgebucaran avatar jorgebucaran commented on April 27, 2024 8

@leeoniya Thanks! I sent a PR to the js-repaint-perfs repo, let's hope to see it merged.

The good news are, benchmarks indicate that HyperApp is on the fast track. Careful examination of the gif seems to favor the following order for this particular test.

Inferno/HyperApp β†’ Elm/CycleJS+Snabbdom/VueJS β†’ morphodom

Inferno seems to do slightly better, but both Inferno and HyperApp outmatch Cycle/Vue and morphodom (but not by much). Morphodom is particularly slow though.

2017-02-03 13 55 46

I think even faster than that is domvm, vidom, maybe mithril?

from hyperapp.

leeoniya avatar leeoniya commented on April 27, 2024 1

2017 sufficient performance is a given

certainly you don't need to be the fastest. but it helps to assure people you're not the slowest either. nothing wrong with objectivity, regardless of what year it is.

mobile performance differences are still enormous between libs. disclaimer: i've got a pretty fast horse in the game, too [1] ;)

[1] https://github.com/leeoniya/domvm

from hyperapp.

leeoniya avatar leeoniya commented on April 27, 2024 1

yeah, the original comment was meant to be tongue-in-cheek for this reason.

nevertheless, the benchmarks are hugely helpful (even if just to catch accidental lib perf regressions). if you can believe it, there are apps out there for which Backbone is grossly insufficient. if you've never had perf issues with Backbone, no one is prying it or jQuery from your hands, heh πŸ˜†

from hyperapp.

sotojuan avatar sotojuan commented on April 27, 2024

The docs seem to lack any mention of "blazing fast" or similar :D

Probably a positive thing. In 2017 sufficient performance is a givenβ€”I care more about ergonomics and fun.

from hyperapp.

sotojuan avatar sotojuan commented on April 27, 2024

I guess I'm just tired of new libraries claiming they're "blazing fast!!111!!!!" and focusing on that instead of other features. I mean IDK, Backbone was fast enough for me πŸ˜…

from hyperapp.

jorgebucaran avatar jorgebucaran commented on April 27, 2024

Going to close here in favor of #75.

from hyperapp.

jorgebucaran avatar jorgebucaran commented on April 27, 2024

V2's new patch algorithm (based on Superfine) is signifcantly faster than V1. Here are the benchmark results. To maximize performance, the benchmarked example app makes use of memoization to boost the rendering perf of table rows that are not affected by state changes. This technique will eventually make it into core as described in #721.

Superfine

from hyperapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.