-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V1.5.20 - Optimizations All Around (#356)
* Swapping from Type.forName to Schema.describeSObjects where appropriate to save on speed thanks to research done by @jkranz-rk * Fixing end-time range for NEXT_90_DAYS date literal * Optimizing CPU time for full recalcs * Making order by field readonly on Rollup__mdt since it's been deprecated for a while now * CPU time improvements, particularly for rollups with many operatios defined * Continuing to optimize Rollup flow code paths to reduce synchronous CPU time usage * Cleaning up some of the code surrounding how synchronous full recalc rollups get passed through the rollup composite framework * Fixes #329 by ensuring CurrencyIsoCode is queried for on all ultimate parent records * Refactor to make retrieveAdditionalCalcItems less chaotic. Introduced additional guard clause to prevent full recalc processors that have already been processed from being accidentally deferred * Optimizing merge code path for SObject deletes * CPU usage optimizations within RollupQueryBuilder - much better string handling in place (still some room for improvement, though) * Optimizing reparenting logic for non-REFRESH based rollups * Fixing hour edge case with NEXT_N_MONTHS date literal * Finishing up retrieveAdditionalCalcItems optimization work in RollupAsyncProcessor * Fixes a typo reported by @solo-1234 in the Nebula Logger adapter readme * Correctly strips CurrencyIsoCode from aggregate queries in multi-currency orgs * Updating RollupNebulaLoggerAdapter to Nebula Logger 4.8.0 Summer 22 release - thanks to @jongpie's hard work, this allows us to set Apex Rollup as the Log__c.LogScenario__c, as well as successfully repressing rollup logger classes from showing in stacktraces/LogEntry__c.OriginLocation__c fields * Further optimizing rollup code paths by caching the default RollupControl__mdt record retrieved by Apex Rollup * Optimizing how many times RollupLogger.Instance.save() is called in any given async processor route * Full recalcs no longer try to re-queue when already in an async context * Incorporating code review feedback from @jongpie * Updating field & flow labels as per @solo-1234's suggestion to move from calc/lookup notation to child/parent
- Loading branch information
1 parent
c276469
commit 963659c
Showing
58 changed files
with
906 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.