sbt-header
sbt-header copied to clipboard
Possible performance issue
I have configured sbt-header to create headers on every compile. With the new sbt 1.3.0-RC3 super shell, which displays actively running tasks, I can see that the headerCreate task shows up quite often. For example it takes around 3-4 seconds in headerCreate task under various scopes until sbt starts compiling sources.
Could the performance be improved by introducing incremental cache for files that have headers checked? (similar to the one in sbt-scalafmt: https://github.com/scalameta/sbt-scalafmt/pull/13)
Thanks a lot for this observation. I guess a cache would indeed help. PRs welcome.