-
The test that capped each channel at 1,000 to split a budget of 20
One test built 80,000 budget totals to read one. A cap that could never bind, plus two bit-identical fit fixes, took the suite from 10.5 s to 5.1 s.
-
The same power, computed once per guess instead of once per week
Hoisting one Math.pow out of our ad-spend optimizer's curve-fit loop cut fit time by a quarter, and every answer stayed bit-identical.
-
Two thirds of a loop was skipping: the ad budget optimiser's test drops from 21 s to 6 s
The ad spend optimiser's exact budget split mostly checked totals no channels could reach. Bounding the loop made a test 3.4x faster, same answers.