Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add benchmark for getPlannedRateChanges and perf improvement
The results are: benchmark old ns/op new ns/op delta BenchmarkGetPlannedRateChanges-4 4140227 2710011 -34.54% BenchmarkGetPlannedRateChanges-4 3531805 2397757 -32.11% BenchmarkGetPlannedRateChanges-4 3337196 2277776 -31.75% BenchmarkGetPlannedRateChanges-4 2984674 2192676 -26.54% BenchmarkGetPlannedRateChanges-4 2900849 2492187 -14.09% benchmark old allocs new allocs delta BenchmarkGetPlannedRateChanges-4 72977 56205 -22.98% BenchmarkGetPlannedRateChanges-4 72977 56205 -22.98% BenchmarkGetPlannedRateChanges-4 72977 56205 -22.98% BenchmarkGetPlannedRateChanges-4 72977 56205 -22.98% BenchmarkGetPlannedRateChanges-4 72977 56205 -22.98% benchmark old bytes new bytes delta BenchmarkGetPlannedRateChanges-4 1503784 1254588 -16.57% BenchmarkGetPlannedRateChanges-4 1503780 1254585 -16.57% BenchmarkGetPlannedRateChanges-4 1503780 1254588 -16.57% BenchmarkGetPlannedRateChanges-4 1503771 1254584 -16.57% BenchmarkGetPlannedRateChanges-4 1503775 1254588 -16.57%
- Loading branch information