-
-
Notifications
You must be signed in to change notification settings - Fork 457
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
perf(transformer/arrow-functions): store state of whether arguments needs transform #7321
perf(transformer/arrow-functions): store state of whether arguments needs transform #7321
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #7321 will create unknown performance changesComparing Summary
Benchmarks breakdown
|
b2a68ee
to
5f4e91e
Compare
Merge activity
|
6b7a223
to
fd2e3d8
Compare
f54762c
to
02f345e
Compare
… aid inlining (#7322) Move the cheap "does arguments need to be transformed" checks introduced in #7321 into `enter_identifier_reference` and `enter_binding_identifier`, and mark those methods `#[inline]`. These hot paths can then usually execute without a function call. This wins back the other half of the perf hit of #7234.
fd2e3d8
to
1995686
Compare
02f345e
to
1ac362d
Compare
… aid inlining (#7322) Move the cheap "does arguments need to be transformed" checks introduced in #7321 into `enter_identifier_reference` and `enter_binding_identifier`, and mark those methods `#[inline]`. These hot paths can then usually execute without a function call. This wins back the other half of the perf hit of #7234.
1995686
to
871e19b
Compare
1ac362d
to
905d8b8
Compare
… aid inlining (#7322) Move the cheap "does arguments need to be transformed" checks introduced in #7321 into `enter_identifier_reference` and `enter_binding_identifier`, and mark those methods `#[inline]`. These hot paths can then usually execute without a function call. This wins back the other half of the perf hit of #7234.
905d8b8
to
26d3e96
Compare
… aid inlining (#7322) Move the cheap "does arguments need to be transformed" checks introduced in #7321 into `enter_identifier_reference` and `enter_binding_identifier`, and mark those methods `#[inline]`. These hot paths can then usually execute without a function call. This wins back the other half of the perf hit of #7234.
Track whether
arguments
needs to be transformed. If it doesn't, can skip expensive checks for whetherIdentifierReference
s andBindingIdentifier
s names arearguments
or not.This recovers about half the performance hit of #7234.