dillon1000/react

Commit

Disable Profiler commit filtering (#18862)

* Disable Profiler commit filtering

We used to filter "empty" DevTools commits, but it was error prone (see #18798). A commit may appear to be empty (no actual durations) because of component filters, but filtering these empty commits causes interaction commit indices to be off by N. This not only corrupts the resulting data, but also potentially causes runtime errors.

For that matter, hiding "empty" commits might cause confusion too. A commit *did happen* even if none of the components the Profiler is showing were involved.

* Restart flaky CI
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-shared/src/__tests__/__snapshots__/profilingCache-test.js.snap ModifiedM packages/react-devtools-shared/src/devtools/views/Profiler/utils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…