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

RSC Compile performance is 12.5% faster under 2.11 vs 2.12 #48

Open
rorygraves opened this issue Feb 1, 2018 · 0 comments
Open

RSC Compile performance is 12.5% faster under 2.11 vs 2.12 #48

rorygraves opened this issue Feb 1, 2018 · 0 comments
Assignees

Comments

@rorygraves
Copy link
Owner

When running RSC with 2.12.4 vs 2.11.12 (i.e. RSC itself is compiled with 2.12 - I observe a 12.5% performance drop

The code is very vanilla - and whlist this is not directly 'compiler' related it is worth investigating and it might flag something interesting.

In RSC build.sbt
Change:
scalaVersion := versions.scala211, to scalaVersion := versions.scala212,

In Sbt:

 rscJVM/clean
benchRscJVM/clean
benchRscJVM/jmh:run HotRscTypecheck
2.11
[info] # Warmup Iteration   9: 24.509 ±(99.9%) 0.191 ms/op
[info] # Warmup Iteration  10: 24.555 ±(99.9%) 0.201 ms/op
2.12
[info] # Warmup Iteration   8: 27.486 ±(99.9%) 0.292 ms/op
[info] # Warmup Iteration   9: 27.423 ±(99.9%) 0.451 ms/op
@rorygraves rorygraves self-assigned this Feb 1, 2018
pkukielka pushed a commit that referenced this issue Apr 30, 2018
Flatten and interaction between flatMap and Options
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

1 participant