Performance Analysis for react compoennts
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src Updated to ES6 Jul 16, 2017
.babelrc
.gitignore Updated to ES6 Jul 16, 2017
README.md Updated readme and site instructions Jul 16, 2017
package.json Updated readme and site instructions Jul 16, 2017

README.md

Performance Regression tests for React

View Test Results

Running the tests

  1. Install dependencies using npm install
  2. Start up CouchDB and Chromedriver
  3. Run npm test <version> to test all versions of React and store results in the couchdb server
  4. To view results, look at http://<couchdbServer:5984>/<dbname>/_design/site/index.html
  5. Update UI for site using node node_modules/perfjankie/lib/cli.js --couch-database=react-perf --only-update-site --couch-server=http://localhost:5984 --couch-user=admin_user --couch-pwd=admin_pass

Other notes

  • All other test parameters are located in .\lib\pjRunner.js
  • Individual test apps are present at the location specified in .\lib\reactVersions.js
    • The source for the apps are in a branch of this repo
    • To run the app, the test runner in this branch downloads the branch as a zip from github, does npm install, and runs the server.js
    • Once the tests are finished, the server is killed.