Skip to content
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

Make dotc faster #9498

Open
4 of 7 tasks
odersky opened this issue Aug 5, 2020 · 1 comment
Open
4 of 7 tasks

Make dotc faster #9498

odersky opened this issue Aug 5, 2020 · 1 comment
Assignees

Comments

@odersky
Copy link
Contributor

odersky commented Aug 5, 2020

This issue collects items that should be looked at in the work to improve performance of dotc.

The following items should definitely be worked on:

  • Port the improvements to classpath handling from scalac 2.13
  • Port the improvements to classfile parsing from scalac 2.13
  • Write class files in parallel, like scalac 2.13
  • Finish the implementation of function specialization. Profiles show that we get quite a bit of unexpected boxings in the compiler due to the fact that function types are not yet specialized.
  • Go through the previous benchmark results and identify the (top 20-30) commits that caused a performance loss.

The following items are more for exploration:

  • See whether we can replace some usages of lists with arrays, with the aim of getting better locaility
  • See whether we can parallelize more code
@liufengyun
Copy link
Contributor

liufengyun commented Aug 14, 2020

Some commits that cause regression

@liufengyun liufengyun self-assigned this Aug 18, 2020
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

No branches or pull requests

2 participants