-
Notifications
You must be signed in to change notification settings - Fork 47.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduling profiler: Unrecognized event type from Chrome Canary #20767
Comments
bvaughn
pushed a commit
to bvaughn/react
that referenced
this issue
Feb 23, 2021
Also fixed a small hiccup caused by Chrome Canary adding an unrecognized profiling event into the data. (This will resolve issue facebook#20767.)
bvaughn
pushed a commit
to bvaughn/react
that referenced
this issue
Feb 23, 2021
These are no-ops for us, but adding recognition of the event type will prevent profiles imported from e.g. Chrome Canary from thorwing with an "unrecognized event" error. (This will resolve issue facebook#20767.)
bvaughn
pushed a commit
to bvaughn/react
that referenced
this issue
Feb 23, 2021
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 sceduling 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 thorwing with an 'unrecognized event' error. (This will resolve issue facebook#20767.)
bvaughn
pushed a commit
to bvaughn/react
that referenced
this issue
Feb 23, 2021
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 sceduling 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 thorwing with an 'unrecognized event' error. (This will resolve issue facebook#20767.)
bvaughn
pushed a commit
that referenced
this issue
Feb 23, 2021
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.)
koto
pushed a commit
to koto/react
that referenced
this issue
Jun 15, 2021
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 facebook#20767.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Importing a profile recorded with Chrome Canary (v90) triggers this error check code:
react/packages/react-devtools-scheduling-profiler/src/import-worker/preprocessData.js
Lines 371 to 378 in 6c526c5
Here's one such example event:
Looks like there's at least one new type, "I", which I assume will eventually affect Chrome stable (currently v88).
The text was updated successfully, but these errors were encountered: