Closed rsoesemann closed 3 years ago
G'day @rsoesemann Do you have specific numbers of increased DML statements when using UOW verses when not using UOW??
My bad. fflib uow is using ONE more Dml for setSavepoint() that's all. I had a bug that doubled it. Closing this.
sounds good. Thanks for the update.
I'm trying to convince a team to use fflib UoW for test record creation and made some points regarding redability of tests but they show me some benchmarks and it shows CPU time and especially DmlRows are much higher with fflib and UOW.
I created two tests which show there is more Dml Rows than without UOW.
` @IsTest private static void twoDmlRowsForSingleRecord() {
See full UOW Test class here: https://github.com/rsoesemann/apex-domainbuilder/commit/0746d579793ffc56528cd7c179d7b9f037645e63