Skip to content

Optimize scala2Mode #4335

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
Apr 20, 2018
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 18, 2018

Profile showed that scala2Mode takes about 1% of compute time when run on dotc/typer/*.scala.
We can reduce this by caching previously computed results.

Profile showed that `scala2Mode` takes about 1% of compute type when run on dotc/typer/*.scala.
We can reduce this by caching previously computed results.
@odersky odersky requested a review from nicolasstucki April 18, 2018 11:14
@nicolasstucki
Copy link
Contributor

test performance please

@dottybot
Copy link
Member

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

@dottybot
Copy link
Member

Performance test finished successfully:

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

Benchmarks is based on merging with master (553ead0)

@nicolasstucki nicolasstucki merged commit 9c83d27 into scala:master Apr 20, 2018
@Blaisorblade Blaisorblade deleted the opt-scala2Mode branch April 20, 2018 18:54
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.

3 participants