Skip to content

Port classpath improvements #9615

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 3 commits into from
Aug 24, 2020
Merged

Conversation

liufengyun
Copy link
Contributor

Port classpath improvements

scala/scala#8356

@liufengyun
Copy link
Contributor Author

test performance please

@dottybot
Copy link
Member

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

}

protected def getDir(dirs: mutable.Map[String, DirEntry], entry: ZipEntry): DirEntry = {
protected def getDir(dirs: java.util.Map[String, DirEntry], entry: ZipEntry): DirEntry = {
Copy link
Contributor

@odersky odersky Aug 21, 2020

Choose a reason for hiding this comment

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

I measured that now mutable.HashMap is actually faster than java.util.HashMap. So, no need to change the implementation. This holds for all such changes.

@dottybot
Copy link
Member

Performance test finished successfully:

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

Benchmarks is based on merging with master (1fb07cb)

@liufengyun
Copy link
Contributor Author

test performance please

@dottybot
Copy link
Member

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

@dottybot
Copy link
Member

Performance test finished successfully:

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

Benchmarks is based on merging with master (387c562)

@odersky odersky merged commit ff0d485 into scala:master Aug 24, 2020
@odersky odersky deleted the port-classpath2 branch August 24, 2020 17:05
@sjrd
Copy link
Member

sjrd commented Aug 26, 2020

This PR broke the bootstrapped build on Windows: #9642

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