Skip to content

FIx source of performance regression in #3961 #4480

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

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki changed the title Wind source of performance regression Find source of performance regression May 8, 2018
@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@nicolasstucki
Copy link
Contributor Author

test performance please

@dottybot
Copy link
Member

dottybot commented May 8, 2018

performance test scheduled: 3 job(s) in queue, 1 running.

1 similar comment
@dottybot
Copy link
Member

dottybot commented May 8, 2018

performance test scheduled: 3 job(s) in queue, 1 running.

@nicolasstucki nicolasstucki changed the title Find source of performance regression Find source of performance regression in #3961 May 8, 2018
@nicolasstucki nicolasstucki self-assigned this May 8, 2018
@dottybot
Copy link
Member

dottybot commented May 8, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (eb4d2c8)

@nicolasstucki nicolasstucki force-pushed the performance-regression-on-quotes branch from 6c41dfb to 0ee13ca Compare May 9, 2018 06:37
@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 0 running.

@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 0 running.

@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 0 running.

@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 1 running.

@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

1 similar comment
@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

@nicolasstucki nicolasstucki force-pushed the performance-regression-on-quotes branch from 0d8a423 to 842c90f Compare May 9, 2018 07:34
@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 0 running.

@nicolasstucki
Copy link
Contributor Author

test performance please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 1 running.

@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

@nicolasstucki nicolasstucki force-pushed the performance-regression-on-quotes branch from 842c90f to 2df97c4 Compare May 9, 2018 09:17
@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

dottybot commented May 9, 2018

performance test scheduled: 1 job(s) in queue, 1 running.

@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

1 similar comment
@dottybot
Copy link
Member

dottybot commented May 9, 2018

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (474e79a)

@nicolasstucki nicolasstucki changed the title Find source of performance regression in #3961 FIx source of performance regression in #3961 May 9, 2018
@nicolasstucki nicolasstucki requested a review from liufengyun May 9, 2018 11:23
@nicolasstucki
Copy link
Contributor Author

test performance with #quotes please

@dottybot
Copy link
Member

performance test scheduled: 3 job(s) in queue, 1 running.

Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM

case _ => None
}
} else None
tree match {
Copy link
Contributor

Choose a reason for hiding this comment

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

A minor issue: the object name SOrRawInterpolator doesn't strictly correspond to what is in the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is not logic I made, I did not choose that name. Do you want me to change it to something else?

Copy link
Contributor

Choose a reason for hiding this comment

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

It used to reflect what was in the code. Not anymore. I would just inline this extractor in StringContextIntrinsic

Copy link
Contributor

Choose a reason for hiding this comment

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

Before the change, it's. After the symbolic equality checks are removed, it wasn't. But as we are going to remove local optimisations, it's fine to keep it as it is now.

Copy link
Contributor

Choose a reason for hiding this comment

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

@liufengyun This is not part of the local optimisations that will be removed. Scalac does something similar

@dottybot
Copy link
Member

Performance test finished successfully:

Visit http://dotty-bench.epfl.ch/4480/ to see the changes.

Benchmarks is based on merging with master (ecf95c1)

@nicolasstucki nicolasstucki merged commit 97f4155 into scala:master May 11, 2018
@allanrenucci allanrenucci deleted the performance-regression-on-quotes branch May 11, 2018 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants