Skip to content

[work loop] Prevent work loop from being inlined#16865

Merged
acdlite merged 1 commit into
react:masterfrom
acdlite:no-inline-workloop
Sep 23, 2019
Merged

[work loop] Prevent work loop from being inlined#16865
acdlite merged 1 commit into
react:masterfrom
acdlite:no-inline-workloop

Conversation

@acdlite

@acdlite acdlite commented Sep 23, 2019

Copy link
Copy Markdown
Collaborator

@sebmarkbage sebmarkbage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this is for older versions of VMs where try/catch caused perf cliffs.

@sizebot

sizebot commented Sep 23, 2019

Copy link
Copy Markdown

No significant bundle size changes to report.

Generated by 🚫 dangerJS against a1c9437

@gaearon

gaearon commented Sep 23, 2019

Copy link
Copy Markdown
Collaborator

Check that this actually worked? Rollup might mess with function comments as it moves them around.

@acdlite

acdlite commented Sep 23, 2019

Copy link
Copy Markdown
Collaborator Author

Seems to work

www build:
Screen Shot 2019-09-23 at 11 09 40 AM

npm build:
Screen Shot 2019-09-23 at 11 11 56 AM

@acdlite acdlite merged commit a87d245 into react:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants