Skip to content

Conversation

@jimkang
Copy link

@jimkang jimkang commented Mar 11, 2017

V8 will deoptimize functions that pass arguments outside of a function, which happen in defer.

Some discussion about it:

GoogleChrome/devtools-docs#53 (comment)
http://stackoverflow.com/a/29200041/87798

While this has not been a critical performance issue for me yet, it does put warning icons in the DevTools profiler, which is really distracting, and seems fairly straightforward to address, so I made the change here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant