GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Remove RTR from ReactProfiler-test by jackpope · Pull Request #28407 · react/react Conversation
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was an error while loading. Please reload this page.
|
Comparing: 56e2005...c00d104 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
52b6489 to
6d766ed
Compare
| @@ -0,0 +1,137 @@ | |||
| /** | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Split this set of tests out into separate module because mixing ReactDOM and ReactNoop within the same test module can cause failures that are tough to debug.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| }; | ||
| } | ||
|
|
||
| describe('Profiler', () => { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Moved to ReactProfilerComponent tests
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| assertLog([ | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| ]); | ||
| } else { | ||
| assertLog([ | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', | ||
| 'read current time', |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
These assertions have changed after moving from RTR to ReactNoop
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This is why we have the TODO above: https://github.com/facebook/react/pull/28407/files#diff-76a6c246baa2e1b7bb2de34aede8bf83b69884efcef1fecab903a7e0053b479fR167-R168
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // commit time | ||
| expect(mountCall[5]).toBe( | ||
| expect(mountCall[4]).toBe( | ||
| __DEV__ && replayFailedUnitOfWorkWithInvokeGuardedCallback | ||
| ? 54 | ||
| : 44, | ||
| ); | ||
| // commit time | ||
| expect(mountCall[5]).toBe( | ||
| __DEV__ && replayFailedUnitOfWorkWithInvokeGuardedCallback | ||
| ? 103 | ||
| : 83, | ||
| ); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Additional timing changes
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| expect(mountCall[3]).toBe(2); | ||
| // start time | ||
| expect(mountCall[4]).toBe(5); | ||
| expect(mountCall[4]).toBe( |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Timing changes after moving to ReactNoop
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // commit time: 5 initially + 14 of work | ||
| // Add an additional 3 (ThrowsError) if we replayed the failed work |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This should be updated to reflect the changed behavior.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| // commit time: 19 (startTime) + 2 (ErrorBoundary) + 20 (AdvanceTime) | ||
| // Add an additional 3 (ThrowsError) if we replayed the failed work |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Also outdated
Sorry, something went wrong.
There was an error while loading. Please reload this page.
30ed8a5 to
c00d104
Compare
- react/react#28596 - react/react#28625 - react/react#28616 - react/react#28491 - react/react#28583 - react/react#28427 - react/react#28613 - react/react#28599 - react/react#28611 - react/react#28610 - react/react#28606 - react/react#28598 - react/react#28549 - react/react#28557 - react/react#28467 - react/react#28591 - react/react#28459 - react/react#28590 - react/react#28564 - react/react#28582 - react/react#28579 - react/react#28578 - react/react#28521 - react/react#28550 - react/react#28576 - react/react#28577 - react/react#28571 - react/react#28572 - react/react#28560 - react/react#28569 - react/react#28573 - react/react#28546 - react/react#28568 - react/react#28562 - react/react#28566 - react/react#28565 - react/react#28559 - react/react#28508 - react/react#20432 - react/react#28555 - react/react#24730 - react/react#28472 - react/react#27991 - react/react#28514 - react/react#28548 - react/react#28526 - react/react#28515 - react/react#28533 - react/react#28532 - react/react#28531 - react/react#28407 - react/react#28522 - react/react#28538 - react/react#28509 - react/react#28534 - react/react#28527 - react/react#28528 - react/react#28519 - react/react#28411 - react/react#28520 - react/react#28518 - react/react#28493 - react/react#28504 - react/react#28499 - react/react#28501 - react/react#28496 - react/react#28471 - react/react#28351 - react/react#28486 - react/react#28490 - react/react#28488 - react/react#28468 - react/react#28321 - react/react#28477 - react/react#28479 - react/react#28480 - react/react#28478 - react/react#28464 - react/react#28475 - react/react#28456 - react/react#28319 - react/react#28345 - react/react#28337 - react/react#28335 - react/react#28466 - react/react#28462 - react/react#28322 - react/react#28444 - react/react#28448 - react/react#28449 - react/react#28446 - react/react#28447 - react/react#24580
## Summary Internal cleanup of ReactTestRenderer ## How did you test this change? `yarn test packages/react/src/__tests__/ReactProfiler-test.internal.js`
## Summary Internal cleanup of ReactTestRenderer ## How did you test this change? `yarn test packages/react/src/__tests__/ReactProfiler-test.internal.js` DiffTrain build for commit eebdbf4.
## Summary Internal cleanup of ReactTestRenderer ## How did you test this change? `yarn test packages/react/src/__tests__/ReactProfiler-test.internal.js`
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.