alamb commented on PR #12996: URL: https://github.com/apache/datafusion/pull/12996#issuecomment-2450735735
๐คฉ ``` Comparing main_base and vectorize-append-value -------------------- Benchmark clickbench_1.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ vectorize-append-value โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 0.69ms โ 0.67ms โ no change โ โ QQuery 1 โ 69.53ms โ 69.81ms โ no change โ โ QQuery 2 โ 125.56ms โ 125.06ms โ no change โ โ QQuery 3 โ 134.49ms โ 133.53ms โ no change โ โ QQuery 4 โ 986.06ms โ 1002.09ms โ no change โ โ QQuery 5 โ 1092.56ms โ 1111.32ms โ no change โ โ QQuery 6 โ 67.90ms โ 66.92ms โ no change โ โ QQuery 7 โ 82.12ms โ 80.79ms โ no change โ โ QQuery 8 โ 1381.07ms โ 1055.63ms โ +1.31x faster โ โ QQuery 9 โ 1376.13ms โ 1371.51ms โ no change โ โ QQuery 10 โ 466.36ms โ 435.31ms โ +1.07x faster โ โ QQuery 11 โ 508.85ms โ 474.68ms โ +1.07x faster โ โ QQuery 12 โ 1245.08ms โ 1216.74ms โ no change โ โ QQuery 13 โ 1919.50ms โ 1746.68ms โ +1.10x faster โ โ QQuery 14 โ 1371.00ms โ 1238.46ms โ +1.11x faster โ โ QQuery 15 โ 1156.13ms โ 1123.78ms โ no change โ โ QQuery 16 โ 2593.20ms โ 2187.34ms โ +1.19x faster โ โ QQuery 17 โ 2374.51ms โ 2008.88ms โ +1.18x faster โ โ QQuery 18 โ 5049.66ms โ 4169.48ms โ +1.21x faster โ โ QQuery 19 โ 125.17ms โ 119.76ms โ no change โ โ QQuery 20 โ 1650.50ms โ 1642.21ms โ no change โ โ QQuery 21 โ 2100.16ms โ 2082.53ms โ no change โ โ QQuery 22 โ 5039.82ms โ 4996.73ms โ no change โ โ QQuery 23 โ 11902.50ms โ 11835.25ms โ no change โ โ QQuery 24 โ 810.90ms โ 797.78ms โ no change โ โ QQuery 25 โ 728.72ms โ 699.22ms โ no change โ โ QQuery 26 โ 868.88ms โ 891.65ms โ no change โ โ QQuery 27 โ 2627.37ms โ 2600.82ms โ no change โ โ QQuery 28 โ 15172.21ms โ 15297.59ms โ no change โ โ QQuery 29 โ 572.83ms โ 571.91ms โ no change โ โ QQuery 30 โ 1239.14ms โ 1141.57ms โ +1.09x faster โ โ QQuery 31 โ 1277.14ms โ 1206.06ms โ +1.06x faster โ โ QQuery 32 โ 4198.97ms โ 3978.68ms โ +1.06x faster โ โ QQuery 33 โ 5184.58ms โ 5281.99ms โ no change โ โ QQuery 34 โ 5334.25ms โ 5234.23ms โ no change โ โ QQuery 35 โ 1799.37ms โ 1351.66ms โ +1.33x faster โ โ QQuery 36 โ 319.76ms โ 312.16ms โ no change โ โ QQuery 37 โ 220.55ms โ 220.76ms โ no change โ โ QQuery 38 โ 197.20ms โ 195.72ms โ no change โ โ QQuery 39 โ 810.69ms โ 732.04ms โ +1.11x faster โ โ QQuery 40 โ 91.81ms โ 84.87ms โ +1.08x faster โ โ QQuery 41 โ 81.72ms โ 77.45ms โ +1.06x faster โ โ QQuery 42 โ 94.61ms โ 94.34ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 84449.27ms โ โ Total Time (vectorize-append-value) โ 81065.67ms โ โ Average Time (main_base) โ 1963.94ms โ โ Average Time (vectorize-append-value) โ 1885.25ms โ โ Queries Faster โ 15 โ โ Queries Slower โ 0 โ โ Queries with No Change โ 28 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ -------------------- Benchmark clickbench_extended.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ vectorize-append-value โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 2736.57ms โ 2712.16ms โ no change โ โ QQuery 1 โ 772.15ms โ 769.86ms โ no change โ โ QQuery 2 โ 1624.12ms โ 1639.77ms โ no change โ โ QQuery 3 โ 827.73ms โ 694.66ms โ +1.19x faster โ โ QQuery 4 โ 12716.33ms โ 12364.86ms โ no change โ โ QQuery 5 โ 19095.23ms โ 19058.86ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 37772.14ms โ โ Total Time (vectorize-append-value) โ 37240.16ms โ โ Average Time (main_base) โ 6295.36ms โ โ Average Time (vectorize-append-value) โ 6206.69ms โ โ Queries Faster โ 1 โ โ Queries Slower โ 0 โ โ Queries with No Change โ 5 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ -------------------- Benchmark clickbench_partitioned.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ vectorize-append-value โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 0 โ 2.25ms โ 2.27ms โ no change โ โ QQuery 1 โ 40.78ms โ 38.83ms โ no change โ โ QQuery 2 โ 98.26ms โ 95.76ms โ no change โ โ QQuery 3 โ 108.58ms โ 106.87ms โ no change โ โ QQuery 4 โ 922.34ms โ 917.62ms โ no change โ โ QQuery 5 โ 980.37ms โ 938.35ms โ no change โ โ QQuery 6 โ 38.42ms โ 39.18ms โ no change โ โ QQuery 7 โ 43.00ms โ 43.24ms โ no change โ โ QQuery 8 โ 1359.05ms โ 1009.35ms โ +1.35x faster โ โ QQuery 9 โ 1348.60ms โ 1323.55ms โ no change โ โ QQuery 10 โ 424.82ms โ 406.74ms โ no change โ โ QQuery 11 โ 475.00ms โ 451.86ms โ no change โ โ QQuery 12 โ 1090.45ms โ 1106.96ms โ no change โ โ QQuery 13 โ 1577.54ms โ 1508.58ms โ no change โ โ QQuery 14 โ 1259.77ms โ 1086.88ms โ +1.16x faster โ โ QQuery 15 โ 1086.47ms โ 1081.46ms โ no change โ โ QQuery 16 โ 2449.02ms โ 2030.13ms โ +1.21x faster โ โ QQuery 17 โ 2329.89ms โ 1911.21ms โ +1.22x faster โ โ QQuery 18 โ 5004.89ms โ 3989.09ms โ +1.25x faster โ โ QQuery 19 โ 97.70ms โ 98.64ms โ no change โ โ QQuery 20 โ 1474.31ms โ 1478.79ms โ no change โ โ QQuery 21 โ 1808.23ms โ 1810.91ms โ no change โ โ QQuery 22 โ 3132.66ms โ 3128.20ms โ no change โ โ QQuery 23 โ 10113.15ms โ 10129.78ms โ no change โ โ QQuery 24 โ 656.18ms โ 651.62ms โ no change โ โ QQuery 25 โ 518.58ms โ 524.60ms โ no change โ โ QQuery 26 โ 719.15ms โ 725.11ms โ no change โ โ QQuery 27 โ 2266.93ms โ 2264.89ms โ no change โ โ QQuery 28 โ 14304.45ms โ 14598.41ms โ no change โ โ QQuery 29 โ 542.95ms โ 540.96ms โ no change โ โ QQuery 30 โ 1091.63ms โ 1000.47ms โ +1.09x faster โ โ QQuery 31 โ 1140.61ms โ 1070.64ms โ +1.07x faster โ โ QQuery 32 โ 4198.09ms โ 3928.13ms โ +1.07x faster โ โ QQuery 33 โ 5178.24ms โ 5025.69ms โ no change โ โ QQuery 34 โ 5065.45ms โ 5110.93ms โ no change โ โ QQuery 35 โ 1869.61ms โ 1300.99ms โ +1.44x faster โ โ QQuery 36 โ 274.68ms โ 270.33ms โ no change โ โ QQuery 37 โ 125.61ms โ 125.59ms โ no change โ โ QQuery 38 โ 150.35ms โ 144.38ms โ no change โ โ QQuery 39 โ 732.00ms โ 689.60ms โ +1.06x faster โ โ QQuery 40 โ 57.04ms โ 60.17ms โ 1.05x slower โ โ QQuery 41 โ 47.52ms โ 47.56ms โ no change โ โ QQuery 42 โ 65.98ms โ 64.11ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 76270.60ms โ โ Total Time (vectorize-append-value) โ 72878.40ms โ โ Average Time (main_base) โ 1773.73ms โ โ Average Time (vectorize-append-value) โ 1694.85ms โ โ Queries Faster โ 10 โ โ Queries Slower โ 1 โ โ Queries with No Change โ 32 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ -------------------- Benchmark tpch_sf1.json -------------------- โโโโโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ โ Query โ main_base โ vectorize-append-value โ Change โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ QQuery 1 โ 203.49ms โ 201.33ms โ no change โ โ QQuery 2 โ 115.50ms โ 120.92ms โ no change โ โ QQuery 3 โ 129.08ms โ 119.50ms โ +1.08x faster โ โ QQuery 4 โ 87.14ms โ 83.75ms โ no change โ โ QQuery 5 โ 161.47ms โ 159.55ms โ no change โ โ QQuery 6 โ 48.73ms โ 42.26ms โ +1.15x faster โ โ QQuery 7 โ 208.57ms โ 200.37ms โ no change โ โ QQuery 8 โ 157.16ms โ 153.09ms โ no change โ โ QQuery 9 โ 244.82ms โ 247.43ms โ no change โ โ QQuery 10 โ 226.83ms โ 238.14ms โ no change โ โ QQuery 11 โ 86.91ms โ 91.82ms โ 1.06x slower โ โ QQuery 12 โ 128.79ms โ 128.85ms โ no change โ โ QQuery 13 โ 225.47ms โ 219.07ms โ no change โ โ QQuery 14 โ 72.15ms โ 89.80ms โ 1.24x slower โ โ QQuery 15 โ 115.99ms โ 107.62ms โ +1.08x faster โ โ QQuery 16 โ 80.43ms โ 74.99ms โ +1.07x faster โ โ QQuery 17 โ 218.58ms โ 218.94ms โ no change โ โ QQuery 18 โ 329.54ms โ 321.20ms โ no change โ โ QQuery 19 โ 131.86ms โ 129.84ms โ no change โ โ QQuery 20 โ 136.33ms โ 121.60ms โ +1.12x faster โ โ QQuery 21 โ 272.83ms โ 283.72ms โ no change โ โ QQuery 22 โ 66.11ms โ 63.99ms โ no change โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ โ Benchmark Summary โ โ โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ โ Total Time (main_base) โ 3447.78ms โ โ Total Time (vectorize-append-value) โ 3417.79ms โ โ Average Time (main_base) โ 156.72ms โ โ Average Time (vectorize-append-value) โ 155.35ms โ โ Queries Faster โ 5 โ โ Queries Slower โ 2 โ โ Queries with No Change โ 15 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ ``` Wow very nice @Rachelint -- I will plan on checking this PR out in more detail tomorrow -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org