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

Compilation speed instrumentation per AST element / method / class #9614

Closed
scabug opened this issue Jan 7, 2016 · 2 comments
Closed

Compilation speed instrumentation per AST element / method / class #9614

scabug opened this issue Jan 7, 2016 · 2 comments

Comments

@scabug
Copy link

scabug commented Jan 7, 2016

Currently tracking bottle-necks in code compilation is pretty much impossible (especially for improving compilation time by reducing e.g. implicits or macros usage).

What we want is tool to tracking amount of time spend on compiling given node in AST (at best). We are aware that it can be almost impossible for multiple reason:

  1. To much information to track - we can also live with method or even class level information
  2. Impossible to assign time to given place in AST (e.g. cycle dependencies) - this time can be logged (if possible) as "other"

I know could not be accurate but this should be better then nothing. I think current counters/trimmers should be suitable for this.

@scabug
Copy link
Author

scabug commented Jan 7, 2016

Imported From: https://issues.scala-lang.org/browse/SI-9614?orig=1
Reporter: @romanowski

@SethTisue
Copy link
Member

stale ticket, and scala/bug is focused more on bugs than enhancements. but work in this vein is happening, someone want to provide links?

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

No branches or pull requests

2 participants