mirror of https://github.com/sbt/sbt.git
I was surprised to find this method in a flamegraph* so I optimized it. TaskProgress was actually on the hotpath of task evaluation so every single task was slower to be enqueued with the CompletionService. After this change, containsSkipTasks dropped out of the flamegraph. *The flamegraph was for a compile loop where sbt constantly modified a single source file and re-compiled it. The containsSkipTasks method appeared in over 2% of the method calls. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||