dillon1000/react

Commit

refactor[react-devtools/fiber/renderer]: optimize durations resolution (#31118)

Stacked on https://github.com/facebook/react/pull/31117. 

No need for sending long float numbers and to have resolution less than
a microsecond, we end up formatting it on a Frontend side:

https://github.com/facebook/react/blob/6c7b41da3de12be2d95c60181b3fe896f824f13a/packages/react-devtools-shared/src/devtools/views/Profiler/utils.js#L359-L360
Browse files
Changed paths2 files
First-parent comparison
M packages/react-devtools-shared/src/backend/fiber/renderer.js ModifiedM packages/react-devtools-shared/src/backend/utils/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…