mirror of https://github.com/sbt/sbt.git
It can easily take 2ms or more to parse a command depending on state's combined parser. There are some commands that sbt requires to work that we can handle in microseconds instead of milliseconds by special casing them. After this change, I saw the performance of https://github.com/eatkins/scala-build-watch-performance improve by a consistent 4-5ms in the 3 source file example which was a drop from 120ms to 115ms. While not necessarily earth shattering, this difference could theoretically be much worse in other projects that have a lot of plugins and custom tasks/commands. I think it's worth the modest maintenance cost. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||