Giter VIP home page Giter VIP logo

Comments (12)

markerikson avatar markerikson commented on May 19, 2024

Another potential source: the JS framework benchmarks repo at https://github.com/krausest/js-framework-benchmark .

from react-redux-benchmarks.

Avi98 avatar Avi98 commented on May 19, 2024

@markerikson i can start implementing https://github.com/mweststrate/redux-todomvc and refer your stockticker benchmark example

from react-redux-benchmarks.

markerikson avatar markerikson commented on May 19, 2024

@Avi98: sure, go ahead, thanks!

from react-redux-benchmarks.

Avi98 avatar Avi98 commented on May 19, 2024

Hi @markerikson, i need your help in providing some direction for setting up "react-redux-benchmarks" . I followed steps provided in the README.md. but while running this command " npm run initialize" i'm getting the following error. please help me. Thank you
screen shot 2018-10-04 at 11 33 50 pm

from react-redux-benchmarks.

markerikson avatar markerikson commented on May 19, 2024

Hmm. Not exactly sure what's going on there. Looks like NPM was having trouble copying a file during the install process. Does this happen every time?

from react-redux-benchmarks.

Avi98 avatar Avi98 commented on May 19, 2024

Yes, steps i followed for setting up the project after cloning it from github
cd react-redux-benchmarks
npm install
npm run initialize
and its still showing the error i have deleted node modules reinstalled it but its no help. Any alternative.
Thank you

from react-redux-benchmarks.

dai-shi avatar dai-shi commented on May 19, 2024

@Avi98 I have the same error and end up with a patch. I'm not sure what is a problem. Hope it's somehow fixed.

diff.txt

git clone https://github.com/reduxjs/react-redux-benchmarks.git
cd react-redux-benchmarks
patch -p1 < ../diff.txt
npm install
npm run initialize
npm start

from react-redux-benchmarks.

dai-shi avatar dai-shi commented on May 19, 2024

Hm, it doesn't seem to work as expected. Sorry.

from react-redux-benchmarks.

dai-shi avatar dai-shi commented on May 19, 2024

It works now.

diff2.txt

git clone https://github.com/reduxjs/react-redux-benchmarks.git
cd react-redux-benchmarks
patch -p1 < ../diff2.txt
curl https://unpkg.com/[email protected]/umd/react.production.min.js > copy-to-public/react.production.min.js
npm install
npm run initialize
BENCHMARKS=twitter-lite npm start -s
Running benchmark twitter-lite
  react-redux version: 5.0.7
    Checking max FPS... (30 seconds)
    Running trace...    (30 seconds)
  react-redux version: 6.0-1000-4855c84
    Checking max FPS... (30 seconds)
    Running trace...    (30 seconds)

Results for benchmark twitter-lite:
┌──────────────────┬─────────┬───────────┬───────────┬──────────┬───────────────────────────────────────────────────────────────────────────────┐
│ Version          │ Avg FPS │ Scripting │ Rendering │ Painting │ FPS Values                                                                    │
├──────────────────┼─────────┼───────────┼───────────┼──────────┼───────────────────────────────────────────────────────────────────────────────┤
│ 5.0.7            │ 45.73   │ 20656.72  │ 3581.47   │ 373.67   │ 54,59,60,57,59,52,59,57,54,45,57,55,51,43,37,42,37,36,32,30,29,28,27          │
├──────────────────┼─────────┼───────────┼───────────┼──────────┼───────────────────────────────────────────────────────────────────────────────┤
│ 6.0-1000-4855c84 │ 31.76   │ 24595.08  │ 2232.00   │ 284.90   │ 49,60,55,59,47,58,49,48,39,35,32,30,29,25,22,24,23,22,21,16,18,17,18,17,16,14 │
└──────────────────┴─────────┴───────────┴───────────┴──────────┴───────────────────────────────────────────────────────────────────────────────┘

I'll file a new issue about the broken file.

from react-redux-benchmarks.

Avi98 avatar Avi98 commented on May 19, 2024

hi @dai-shi, I don't remember but I think I removed all lock file and reinstalled then it started working.
What did you do?

from react-redux-benchmarks.

dai-shi avatar dai-shi commented on May 19, 2024

@Avi98 Is it that easy? I'll try it later.

Anyway, since I already posted a bunch of unrelated comments and you have no problem now,
I'll stop this topic here. If we need further discussions, let's open a new issue.

from react-redux-benchmarks.

markerikson avatar markerikson commented on May 19, 2024

More relevant examples we can draw from:

https://medium.com/@ryansolid/react-hooks-the-most-performant-way-to-write-react-393e135e1cc

from react-redux-benchmarks.

Related Issues (10)

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.