# general


04/07/2017, 3:39 PM
hi - does anyone have any tips for improving speed of java compilation? with an empty cache, compiling our java codebase with pants can easily take an hour or more. Our previous ant build took ~10-13 minutes. With pants we have mostly one BUILD per package, where the ant build would compile all .java files in a directory in one step. With the cache enabled, things are better, but change a file with lots of dependencies and building is slow.