https://pantsbuild.org/ logo
#general
Title
# general
m

mysterious-waiter-14207

09/26/2022, 11:59 AM
For JVM languages, I wonder why pants chose to produce jar files and not class files? I think some performance will be gained by not zipping the class files, stripping the jar file and then for the scalac/javac to uncompress the jars. Plus I think if Pants will eventually want to batch the compilation phase, splitting the class files in a digest might be easier than splitting a jar file. I tried that locally and the switch was pretty simple, numbers look too good at the moment (50%) so I try to figure out the real improvement (I changed the cache scope of scalac to PerSession to test the improvement).
maybe just setting the compression level of the zip files to no compression, or to have that as parameter for the jvm subsystem?
5 Views