spierce710/18/2020, 6:37 PM
wasyl10/18/2020, 6:44 PM
spierce710/18/2020, 6:57 PM
Overall 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?
wasyl10/18/2020, 7:02 PM
In 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 Applin10/19/2020, 2:53 PM
wasyl10/19/2020, 4:02 PM
Jacob Applin10/19/2020, 4:04 PM
Jiaxiang10/20/2020, 2:37 AM