mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
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.)
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.
- Create a Vercel token at https://vercel.com/account/tokens.
- Configure CircleCI:
- In CircleCI, navigate to the repository's Project Settings.
- In the Advanced tab, ensure that "Pass secrets to builds from forked pull requests" is set to false.
- In the Environment Variables tab, add the Vercel token as a new
SCHEDULING_PROFILER_DEPLOY_VERCEL_TOKENenvironment variable.
The Vercel project will be created when the deploy job runs.