1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00
kobalt/modules
Robert Hencke 713faa7a3f Reduce time spent in JAR/ZIP assembly.
Locally, this reduces a run of kobaltw assemble --noIncremental
on the Kobalt codebase itself from 47 seconds to 25 seconds.

When JarInputStream.nextEntry is invoked, the stream sets its position
and length so that it can directly be used to read the underlying content
associated with the entry.  This avoids the need to call
JarFile(localFile).getInputStream(entry) and the cost associated with it.

addEntry has a slight change of semantics due to this change - it is now
the caller's responsibility to close the associated input stream.  The two
existing calls to the method were adjusted accordingly.
2017-04-08 13:11:41 -04:00
..
kobalt-plugin-api/src/main/kotlin/com/beust/kobalt Reduce time spent in JAR/ZIP assembly. 2017-04-08 13:11:41 -04:00
wrapper/src/main/java/com/beust/kobalt/wrapper Implemented --log 0 2017-03-28 17:16:11 -07:00