alamb commented on PR #12269: URL: https://github.com/apache/datafusion/pull/12269#issuecomment-2338869370
TLDR is I ran the benchmarks and it does appear to make a measurable performance improvement on several queries ๐ ``` ++ BENCH_BRANCH_NAME=row-group ++ ./bench.sh compare main_base row-group Comparing main_base and row-group -------------------- Benchmark clickbench_1.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ row-group โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 0.69ms โ 0.70ms โ no change โ โ QQuery 1 โ 68.87ms โ 69.04ms โ no change โ โ QQuery 2 โ 122.40ms โ 122.39ms โ no change โ โ QQuery 3 โ 129.14ms โ 129.84ms โ no change โ โ QQuery 4 โ 958.71ms โ 950.60ms โ no change โ โ QQuery 5 โ 1072.42ms โ 1065.00ms โ no change โ โ QQuery 6 โ 64.15ms โ 65.46ms โ no change โ โ QQuery 7 โ 72.57ms โ 72.23ms โ no change โ โ QQuery 8 โ 1427.25ms โ 1352.90ms โ +1.05x faster โ โ QQuery 9 โ 1328.70ms โ 1333.45ms โ no change โ โ QQuery 10 โ 444.86ms โ 435.72ms โ no change โ โ QQuery 11 โ 493.91ms โ 475.07ms โ no change โ โ QQuery 12 โ 1158.46ms โ 1154.09ms โ no change โ โ QQuery 13 โ 2124.34ms โ 1776.44ms โ +1.20x faster โ โ QQuery 14 โ 1607.17ms โ 1306.73ms โ +1.23x faster โ โ QQuery 15 โ 1078.30ms โ 1062.72ms โ no change โ โ QQuery 16 โ 2885.78ms โ 2525.19ms โ +1.14x faster โ โ QQuery 17 โ 2799.52ms โ 2470.93ms โ +1.13x faster โ โ QQuery 18 โ 5575.63ms โ 5524.24ms โ no change โ โ QQuery 19 โ 119.57ms โ 118.24ms โ no change โ โ QQuery 20 โ 1656.36ms โ 1675.11ms โ no change โ โ QQuery 21 โ 2014.67ms โ 2028.74ms โ no change โ โ QQuery 22 โ 4849.99ms โ 4824.94ms โ no change โ โ QQuery 23 โ 11274.06ms โ 11309.82ms โ no change โ โ QQuery 24 โ 761.95ms โ 754.26ms โ no change โ โ QQuery 25 โ 667.54ms โ 668.69ms โ no change โ โ QQuery 26 โ 821.70ms โ 839.38ms โ no change โ โ QQuery 27 โ 2467.71ms โ 2493.84ms โ no change โ โ QQuery 28 โ 15737.24ms โ 15634.42ms โ no change โ โ QQuery 29 โ 560.78ms โ 551.43ms โ no change โ โ QQuery 30 โ 1296.29ms โ 1242.39ms โ no change โ โ QQuery 31 โ 1318.14ms โ 1291.30ms โ no change โ โ QQuery 32 โ 4569.20ms โ 4241.25ms โ +1.08x faster โ โ QQuery 33 โ 5020.91ms โ 5031.03ms โ no change โ โ QQuery 34 โ 5014.64ms โ 4965.98ms โ no change โ โ QQuery 35 โ 1818.84ms โ 1850.31ms โ no change โ โ QQuery 36 โ 316.76ms โ 302.74ms โ no change โ โ QQuery 37 โ 217.15ms โ 219.32ms โ no change โ โ QQuery 38 โ 188.03ms โ 191.14ms โ no change โ โ QQuery 39 โ 1039.10ms โ 788.09ms โ +1.32x faster โ โ QQuery 40 โ 86.06ms โ 83.63ms โ no change โ โ QQuery 41 โ 77.68ms โ 79.76ms โ no change โ โ QQuery 42 โ 97.39ms โ 91.99ms โ +1.06x faster โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 85404.65ms โ โ Total Time (row-group) โ 83170.54ms โ โ Average Time (main_base) โ 1986.15ms โ โ Average Time (row-group) โ 1934.20ms โ โ Queries Faster โ 8 โ โ Queries Slower โ 0 โ โ Queries with No Change โ 35 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ -------------------- Benchmark clickbench_extended.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโ โ Query โ main_base โ row-group โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 2652.87ms โ 2682.38ms โ no change โ โ QQuery 1 โ 793.53ms โ 794.12ms โ no change โ โ QQuery 2 โ 1576.90ms โ 1609.73ms โ no change โ โ QQuery 3 โ 705.29ms โ 718.99ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 5728.58ms โ โ Total Time (row-group) โ 5805.22ms โ โ Average Time (main_base) โ 1432.15ms โ โ Average Time (row-group) โ 1451.31ms โ โ Queries Faster โ 0 โ โ Queries Slower โ 0 โ โ Queries with No Change โ 4 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ -------------------- Benchmark clickbench_partitioned.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ row-group โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 2.29ms โ 2.27ms โ no change โ โ QQuery 1 โ 38.05ms โ 37.76ms โ no change โ โ QQuery 2 โ 93.47ms โ 93.56ms โ no change โ โ QQuery 3 โ 98.55ms โ 96.67ms โ no change โ โ QQuery 4 โ 902.00ms โ 910.55ms โ no change โ โ QQuery 5 โ 937.33ms โ 936.86ms โ no change โ โ QQuery 6 โ 34.33ms โ 33.78ms โ no change โ โ QQuery 7 โ 40.59ms โ 39.35ms โ no change โ โ QQuery 8 โ 1368.30ms โ 1296.26ms โ +1.06x faster โ โ QQuery 9 โ 1293.07ms โ 1273.53ms โ no change โ โ QQuery 10 โ 339.78ms โ 331.25ms โ no change โ โ QQuery 11 โ 375.98ms โ 381.26ms โ no change โ โ QQuery 12 โ 1025.16ms โ 1034.74ms โ no change โ โ QQuery 13 โ 1811.09ms โ 1792.68ms โ no change โ โ QQuery 14 โ 1453.37ms โ 1448.76ms โ no change โ โ QQuery 15 โ 1012.38ms โ 1012.83ms โ no change โ โ QQuery 16 โ 2746.71ms โ 2728.55ms โ no change โ โ QQuery 17 โ 2719.38ms โ 2632.64ms โ no change โ โ QQuery 18 โ 5524.24ms โ 5525.66ms โ no change โ โ QQuery 19 โ 92.83ms โ 90.08ms โ no change โ โ QQuery 20 โ 1752.39ms โ 1751.25ms โ no change โ โ QQuery 21 โ 1946.27ms โ 1981.08ms โ no change โ โ QQuery 22 โ 4974.66ms โ 5049.46ms โ no change โ โ QQuery 23 โ 9841.76ms โ 9781.88ms โ no change โ โ QQuery 24 โ 549.84ms โ 559.25ms โ no change โ โ QQuery 25 โ 467.91ms โ 475.16ms โ no change โ โ QQuery 26 โ 631.52ms โ 617.63ms โ no change โ โ QQuery 27 โ 2445.52ms โ 2463.11ms โ no change โ โ QQuery 28 โ 14923.62ms โ 15024.79ms โ no change โ โ QQuery 29 โ 530.70ms โ 523.81ms โ no change โ โ QQuery 30 โ 1106.49ms โ 1060.93ms โ no change โ โ QQuery 31 โ 1140.91ms โ 1090.09ms โ no change โ โ QQuery 32 โ 4550.65ms โ 4133.54ms โ +1.10x faster โ โ QQuery 33 โ 4929.55ms โ 4922.02ms โ no change โ โ QQuery 34 โ 4789.55ms โ 4834.44ms โ no change โ โ QQuery 35 โ 1753.55ms โ 1829.42ms โ no change โ โ QQuery 36 โ 283.39ms โ 267.52ms โ +1.06x faster โ โ QQuery 37 โ 120.66ms โ 122.89ms โ no change โ โ QQuery 38 โ 141.70ms โ 136.39ms โ no change โ โ QQuery 39 โ 897.86ms โ 918.07ms โ no change โ โ QQuery 40 โ 58.14ms โ 61.45ms โ 1.06x slower โ โ QQuery 41 โ 48.73ms โ 48.17ms โ no change โ โ QQuery 42 โ 66.33ms โ 63.97ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 79860.62ms โ โ Total Time (row-group) โ 79415.32ms โ โ Average Time (main_base) โ 1857.22ms โ โ Average Time (row-group) โ 1846.87ms โ โ Queries Faster โ 3 โ โ Queries Slower โ 1 โ โ Queries with No Change โ 39 โ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
