commit 175a3f4de2fe836647df59e4ea73058ed4764c56 Author: Stu Hood Date: Thu Aug 20 07:24:20 2015 -0700 Remove log options from the zinc Setup to fix performance issue The `Setup` object is used as a cache key for compiler instances, and it turns out that missing the cache for compiler instances causes a more than 2x slowdown. In this case, as soon as the filters were non-empty, the `Regex` object would fail to match (doesn't implement equals.) - Remove log options from the Setup, since they are passed into the compile method each time anyway. Testing Done: https://github.com/pantsbuild/pants/pull/2031 manually verified that the slowdown with filters is gone, and that filtering still works Reviewed at https://rbcommons.com/s/twitter/r/2666/ src/scala/org/pantsbuild/zinc/Compiler.scala | 14 ++------------ src/scala/org/pantsbuild/zinc/Main.scala | 8 +++++++- src/scala/org/pantsbuild/zinc/Setup.scala | 13 ++++++------- 3 files changed, 15 insertions(+), 20 deletions(-)