Skip to content

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

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

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

acdlite
Copy link
Collaborator

@acdlite acdlite commented Sep 23, 2019

Copy link
Collaborator

@sebmarkbage sebmarkbage left a comment

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
Copy link

sizebot commented Sep 23, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against a1c9437

@gaearon
Copy link
Collaborator

gaearon commented Sep 23, 2019

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

@acdlite
Copy link
Collaborator Author

acdlite commented Sep 23, 2019

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 facebook: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