Git Product home page Git Product logo

flux-perf's Introduction

React Perf Comparison

Compares action->dispatcher->store flow between Alt, Flux, Flummox, and Fluxible in both "isomorphic" and singleton modes. Flux's "isomorphic" mode is just resetting the store each time it's called.

Check out the travis builds for results: Build Status

Note: I'm not an expert in all of these flux implementations so the accuracy is not guaranteed. PRs welcome. I will not be maintaining this or adding new flux implementations.

Install

npm install

Run

npm test

flux-perf's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flux-perf's Issues

Error when running test

I'm running into the following problem while running the test. I'm on the latest npm and node.

/Users/me/Projects/React/example/flux-perf/flummox/index.js:13
function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.proto = superClass; }
^

TypeError: Super expression must either be null or a function, not undefined
at _inherits (/Users/me/Projects/React/example/flux-perf/flummox/index.js:13:113)
at /Users/me/Projects/React/example/flux-perf/flummox/index.js:3:21
at Object. (/Users/me/Projects/React/example/flux-perf/flummox/index.js:3:21)
at Module._compile (module.js:413:34)
at normalLoader (/Users/me/Projects/React/example/flux-perf/node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) as .js
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/5.11.0/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v5.11.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: NODE_ENV=production node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'NODE_ENV=production node index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the flux-perf package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=production node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs flux-perf
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls flux-perf
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/me/Projects/React/example/flux-perf/npm-debug.log
npm ERR! Test failed. See above for more details.

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.