Git Product home page Git Product logo

Comments (3)

krausest avatar krausest commented on June 15, 2024

What's your conclusion? Seems like neither inferno nor react benefit from mobX/redux for this benchmark.

from js-framework-benchmark.

lyonlai avatar lyonlai commented on June 15, 2024

You are right. mobX/redux are actually extra layer on top of inferno and react so they won't do any good for the benchmarks. But they are the libraries people will use along with inferno/redux. This is more to see which flux implementation is more efficient under this benchmark.

The result for mobX vs redux is different when they are used under inferno and react. I've attached it with this comment.

When used under react, mobX is slightly faster than redux (with immutable + pure-render-mixin case) in the following cases:

  • partial update
  • select row
  • swap rows
  • remove rows
  • append rows to large table

When it comes to inferno, mobX seems to be slightly slower than redux (with immutable + pure-render-mixin case).

screencapture-localhost-8080-webdriver-ts-table-html-1473809254910

from js-framework-benchmark.

krausest avatar krausest commented on June 15, 2024

Thought about it for a while ;-) and decided to add redux + immutable.js + pure render mixin version to the list of benchmarks, since redux is quite popular, and this version is the fastest redux version and it's interesting to see that immutable.js doesn't cost much. Results are here.

from js-framework-benchmark.

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.