Files
react/packages/react-devtools-scheduling-profiler
Brian Vaughn e5f6b91d29 Add Lane labels to scheduling profiler marks (#20808)
This commit changes scheduling profiler marks from a format like '--schedule-render-1' to '--schedule-render-1-Sync' (where 1 is the numeric value of the Sync lane). This will enable the profiler itself to show more meaningful labels for updates and render work.

The commit also refactors and adds additional tests for the scheduling profiler package.

It also updates the preprocessor to 'support' instant events. These are no-ops for us, but adding recognition of the event type will prevent profiles imported from e.g. Chrome Canary from throwing with an 'unrecognized event' error. (This will resolve issue #20767.)
2021-02-23 11:31:29 -05:00
..

Experimental React Concurrent Mode Profiler

https://react-devtools-scheduling-profiler.vercel.app/

Setting up continuous deployment with CircleCI and Vercel

These instructions are intended for internal use, but may be useful if you are setting up a custom production deployment of the scheduling profiler.

  1. Create a Vercel token at https://vercel.com/account/tokens.
  2. Configure CircleCI:
    1. In CircleCI, navigate to the repository's Project Settings.
    2. In the Advanced tab, ensure that "Pass secrets to builds from forked pull requests" is set to false.
    3. In the Environment Variables tab, add the Vercel token as a new SCHEDULING_PROFILER_DEPLOY_VERCEL_TOKEN environment variable.

The Vercel project will be created when the deploy job runs.