We recently ran an experiment using KSP at airbnb I did some analysis on the results:
https://docs.google.com/document/d/1zqQ5cMeucvAZtzN94YIcryvaNK_8KiJwF0Uyof4x5rw/edit#
Quick summary:
• ~660/900 modules were eligible to use ksp
• KSP helped most builds by about 10% in most percentiles, but dropped the performance of P95 builds
P95 drop in performance is likely from remote cache incompatibility and worse incremental compilation than kapt (ksp.incremental.intermodule=true just landed to address this)
👍 2
t
Ting-Yuan Huang
07/28/2021, 9:39 PM
Thanks for sharing! The release containing
ksp.incremental.intermodule
is coming in a couple of hours. Please stay tuned 😄
🙌 1
b
Ben Schwab
07/28/2021, 9:40 PM
Excited to try it out!
Is the remote cache compatibility able to get prioritized https://github.com/google/ksp/issues/490? I think it’s just a one liner, and should make a big difference in build performance for non-incremental builds.
t
Ting-Yuan Huang
07/28/2021, 9:47 PM
Yes. We'll prioritize it and make sure the fix included in next release.