Browse Source
When populating the pivots, only keep the element counts instead of the actual elements. This removes the need to compute the counts in `getMedian`. ``` Benchmark Time CPU Time Old Time New CPU Old CPU New ----------------------------------------------------------------------------------------------------------------------------------- BM_GenerateBlendedLookupTable_pvalue 0.0002 0.0002 U Test, Repetitions: 10 vs 10 BM_GenerateBlendedLookupTable_mean -0.0224 -0.0225 2154569 2106218 2154215 2105837 BM_GenerateBlendedLookupTable_median -0.0224 -0.0225 2154463 2106143 2154147 2105729 BM_GenerateBlendedLookupTable_stddev -0.5094 -0.5714 1153 566 952 408 BM_GenerateBlendedLookupTable_cv -0.4981 -0.5616 0 0 0 0 BM_BuildTree_pvalue 0.0002 0.0002 U Test, Repetitions: 10 vs 10 BM_BuildTree_mean -0.3660 -0.3660 6520 4134 6519 4133 BM_BuildTree_median -0.3659 -0.3659 6519 4134 6518 4133 BM_BuildTree_stddev -0.2606 -0.2381 7 5 6 5 BM_BuildTree_cv +0.1661 +0.2016 0 0 0 0 BM_FindNearestNeighbor_pvalue 0.0002 0.0002 U Test, Repetitions: 10 vs 10 BM_FindNearestNeighbor_mean -0.0181 -0.0181 1980869037 1945027191 1980539225 1944679255 BM_FindNearestNeighbor_median -0.0181 -0.0181 1980930663 1945081501 1980593915 1944736796 BM_FindNearestNeighbor_stddev -0.4920 -0.4921 809594 411280 814962 413885 BM_FindNearestNeighbor_cv -0.4826 -0.4828 0 0 0 0 OVERALL_GEOMEAN -0.1526 -0.1526 0 0 0 0 ```pull/8051/head
1 changed files with 30 additions and 28 deletions
Loading…
Reference in new issue