Review Request #2270 — Created May 27, 2015 and submitted
Using BufferedOutputStream significantly speeds up the JAR creation. See testing section for an example.
Green CI: https://travis-ci.org/pantsbuild/pants/builds/64236409
I used this command for benchmarking (+ flushing caches):sudo /usr/sbin/purge && ls -alR > /dev/null && ./pants binary --no-use-nailgun macaw-swift/web-app::
Without BOS, the jar-tool step took 105, 112, and 123 seconds.
With BOS, the jar-tool step took 77, 80, and 85 seconds.
Thanks Sergey - this is a nice win. In master @ https://github.com/pantsbuild/pants/commit/3b3f85a458bb2964a4c6ab9ffef79ce63b77e496 I'll do a publish presently then send up an upgrade RB when the jar is live on maven central. Please mark this review as submitted.