Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

Improve compilation time #35

Open
djspiewak opened this issue May 10, 2019 · 1 comment · May be fixed by #68
Open

Improve compilation time #35

djspiewak opened this issue May 10, 2019 · 1 comment · May be fixed by #68

Comments

@djspiewak
Copy link
Owner

This is a decent exemplar: https://github.com/slamdata/quasar/pull/4127#discussion_r282934462

Shims imposes some noticeable compile-time overhead during implicit search. In some scopes, this can result in some very dramatic differences. Considering that the whole implicit search process is effectively controlled by the custom macro, it should be possible for us to do better on this front.

@djspiewak
Copy link
Owner Author

Early returns are not promising:

2.1.0

sbt:quasar-qsu> compile
[info] Compiling 1 Scala source to /Users/daniel/Development/slamdata/quasar/qsu/target/scala-2.12/classes ...
[success] Total time: 19 s, completed Oct 23, 2019 6:27:56 PM
sbt:quasar-qsu> compile
[info] Compiling 1 Scala source to /Users/daniel/Development/slamdata/quasar/qsu/target/scala-2.12/classes ...
[success] Total time: 1 s, completed Oct 23, 2019 6:28:02 PM


2.1-1aafef6

sbt:quasar-qsu> compile
[info] Compiling 1 Scala source to /Users/daniel/Development/slamdata/quasar/qsu/target/scala-2.12/classes ...
[success] Total time: 30 s, completed Oct 23, 2019 6:33:47 PM
sbt:quasar-qsu> compile
[info] Compiling 1 Scala source to /Users/daniel/Development/slamdata/quasar/qsu/target/scala-2.12/classes ...
[success] Total time: 2 s, completed Oct 23, 2019 6:33:53 PM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant