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

Create new Compiler Task that can be Forked from Gradle #57

Merged
merged 5 commits into from
Jul 9, 2020

Conversation

davydotcom
Copy link
Contributor

GSP Still uses ANT inside the groovy daemon for compiling. This causes huge performance issues when compiling a large amount of classes. This is now forked using the GroovyPageCompilerForkTask...grails PR to follow"
[patch-forked-compile-task 943c2aa] GSP Still uses ANT inside the groovy daemon for compiling. This causes huge performance issues when compiling a large amount of classes. This is now forked using the GroovyPageCompilerForkTask...grails PR to follow

…s huge performance issues when compiling a large amount of classes. This is now forked using the GroovyPageCompilerForkTask...grails PR to follow
@graemerocher
Copy link
Member

Might want to cleanup the commented out code. If it is not necessary anymore it shouldn't be there

@davydotcom
Copy link
Contributor Author

Agreed, I was waiting to be sure you guys were ok with removing the debug logs as the fork seems to output ALL logs

… to compile...Fixed issues in Forked Compiler...Removed need to write to temporary directory groovy files reducing I/O
@davydotcom
Copy link
Contributor Author

Added Multithreaded support with a ThreadPool...Improved compile time performance by ~40%

@puneetbehl
Copy link
Contributor

@davydotcom I am not sure if I understand why the debug logs are removed? Does it print all logs irrespective of the Logger configuration?

Personally, I find logs very helpful while debugging.

Thanks!

@davydotcom
Copy link
Contributor Author

yes it does...this is why grails-views also has no Logger use because a forked config tends to do that. Also several of these arent really needed.

… of threads. This reduces stack memory overhead by a large margin
@davydotcom davydotcom added this to the grails-4.0.4 milestone Jul 6, 2020
…ore efficient on iterative things like token parsing
@puneetbehl puneetbehl merged commit fbefbc7 into grails:master Jul 9, 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

Successfully merging this pull request may close these issues.

None yet

3 participants