Comments (12)
Another potential source: the JS framework benchmarks repo at https://github.com/krausest/js-framework-benchmark .
from react-redux-benchmarks.
@markerikson i can start implementing https://github.com/mweststrate/redux-todomvc and refer your stockticker benchmark example
from react-redux-benchmarks.
@Avi98: sure, go ahead, thanks!
from react-redux-benchmarks.
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
from react-redux-benchmarks.
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.
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.
@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.
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.
Hm, it doesn't seem to work as expected. Sorry.
from react-redux-benchmarks.
It works now.
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.
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.
@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.
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)
- Port existing benchmark logic HOT 3
- react.production.min.js is broken HOT 1
- Results? HOT 2
- Tweak benchmark setup scripts
- How to interpret results HOT 2
- Come up with more metrics to measure HOT 1
- Investigate using the speedracer library to run benchmarks
- Do some hand-profiling with React 16.5
- Make existing benchmarks more realistic HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-redux-benchmarks.