spierce7
10/18/2020, 6:37 PMwasyl
10/18/2020, 6:44 PMspierce7
10/18/2020, 6:57 PMOverall the build is fasterIsn’t it 4% slower? Faster thank kapt you mean?
the overhead on kotlinc is pretty big thoughWhere are you getting that from out of curiosity?
wasyl
10/18/2020, 7:02 PMIn our codebase we measured that modules using Dagger build 65% faster with this new Anvil feature compared to using the Dagger annotation processor:And later on
For full builds of applications we measured savings of 16% on average.The Kotlinc overhead I’m getting from the table, where with regular Dagger, kotlinc took 10s while with Anvil/KSP it takes almost 18 seconds. That’s not strictly KSP overhead though, as some logic has moved from Dagger to KSP (and is now executed in kotlinc) so this 8 additional seconds is some real work that needs to be done too
Jacob Applin
10/19/2020, 2:53 PMwasyl
10/19/2020, 4:02 PM@Inject
and @Provides
annotationsJacob Applin
10/19/2020, 4:04 PMJiaxiang
10/20/2020, 2:37 AM