Commit Graph
11 Commits
Author SHA1 Message Date
Brian VaughnandGitHub 1b7ff9ea3a Update scheduling profiler Webpack config (#20867)
Use the pre-built scheduler (which includes a check for 'window' being defined in order to load the right scheduler implementation) rather than just directly importing a version of the scheduler that relies on window. Since the scheduling profiler's code runs partially in a web worker, it can't rely on window.
2021-02-23 12:15:36 -05:00
Brian VaughnandGitHub ba7f5ce1b2 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
E-Liang TanandGitHub a5a175f4a9 Add scheduling profiler deployment CI job (#19874)
* Add vercel to scheduling profiler dev deps
* Add vercel.json
* Add CD job
* Add CD setup instructions
2020-09-22 08:34:06 -04:00
b9e6297d93 Enable source maps for DevTools production builds (#19773)
Co-authored-by: Brian Vaughn <[email protected]>
2020-09-18 10:07:22 -04:00
E-Liang TanandGitHub 18f5522989 Scheduling Profiler: Move preprocessing to web worker and add loading indicator (#19759)
* Move preprocessData into a web worker
* Add UI feedback for loading/import error states
* Terminate worker when done handling profile
* Add display density CSS variables
2020-09-04 10:57:32 -04:00
e388fe3fd8 Scheduling Profiler: Redesign with DevTools styling (#19707)
Co-authored-by: Brian Vaughn <[email protected]>
2020-09-03 12:08:40 -04:00
E-Liang TanandGitHub 73a1268be7 Scheduling Profiler: Extract and test scroll state from horizontal pan and zoom view (#19682)
* Extract reusable scroll logic from HorizontalPanAndZoomView

* Change VerticalScrollView to use scrollState

* Clarify test name
2020-09-03 10:27:35 -04:00
E-Liang TanandGitHub 4ced226570 Scheduling Profiler: Add Fast Refresh (#19757) 2020-09-03 09:17:57 -04:00
b3a8666a23 Tweaked landing page styles (#19665)
* Tweaked landing page styles

* Update GitHub link

Co-authored-by: E-Liang Tan <[email protected]>
2020-08-21 14:06:01 -04:00
Brian VaughnandGitHub 921d63fe74 Visually distinguish user timing marks from React events (#19663) 2020-08-20 14:43:40 -04:00
7d0dee6981 Import React Concurrent Mode Profiler (#19634)
Co-authored-by: Brian Vaughn <[email protected]>
Co-authored-by: Kartik Choudhary <[email protected]>
2020-08-20 14:06:28 -04:00