Actually, javac itself is plenty fast, pretty similar to Go's (it also barely does any optimization)
It's usually the build systems that add quite some overhead.