zhuqi-lucas commented on PR #15380: URL: https://github.com/apache/datafusion/pull/15380#issuecomment-2808117814
> ๐ค: Benchmark completed > > Details > > ``` > Comparing HEAD and concat_batches_for_sort > -------------------- > Benchmark clickbench_1.json > -------------------- > โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ > โ Query โ HEAD โ concat_batches_for_sort โ Change โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ QQuery 0 โ 0.56ms โ 0.56ms โ no change โ > โ QQuery 1 โ 80.70ms โ 78.53ms โ no change โ > โ QQuery 2 โ 116.89ms โ 114.69ms โ no change โ > โ QQuery 3 โ 130.38ms โ 125.49ms โ no change โ > โ QQuery 4 โ 861.43ms โ 756.05ms โ +1.14x faster โ > โ QQuery 5 โ 878.02ms โ 869.13ms โ no change โ > โ QQuery 6 โ 0.67ms โ 0.64ms โ no change โ > โ QQuery 7 โ 100.33ms โ 93.51ms โ +1.07x faster โ > โ QQuery 8 โ 979.95ms โ 956.50ms โ no change โ > โ QQuery 9 โ 1283.74ms โ 1245.12ms โ no change โ > โ QQuery 10 โ 304.60ms โ 306.39ms โ no change โ > โ QQuery 11 โ 342.54ms โ 340.89ms โ no change โ > โ QQuery 12 โ 930.04ms โ 933.37ms โ no change โ > โ QQuery 13 โ 1337.30ms โ 1341.28ms โ no change โ > โ QQuery 14 โ 869.61ms โ 883.04ms โ no change โ > โ QQuery 15 โ 1088.81ms โ 1083.02ms โ no change โ > โ QQuery 16 โ 1841.74ms โ 1788.14ms โ no change โ > โ QQuery 17 โ 1680.12ms โ 1638.39ms โ no change โ > โ QQuery 18 โ 3128.65ms โ 3139.26ms โ no change โ > โ QQuery 19 โ 127.46ms โ 120.42ms โ +1.06x faster โ > โ QQuery 20 โ 1169.35ms โ 1195.58ms โ no change โ > โ QQuery 21 โ 1472.42ms โ 1457.18ms โ no change โ > โ QQuery 22 โ 2595.51ms โ 2696.08ms โ no change โ > โ QQuery 23 โ 8475.08ms โ 8735.96ms โ no change โ > โ QQuery 24 โ 510.59ms โ 515.80ms โ no change โ > โ QQuery 25 โ 441.39ms โ 439.44ms โ no change โ > โ QQuery 26 โ 569.36ms โ 581.32ms โ no change โ > โ QQuery 27 โ 1850.31ms โ 1844.63ms โ no change โ > โ QQuery 28 โ 13503.59ms โ 13185.12ms โ no change โ > โ QQuery 29 โ 587.04ms โ 548.23ms โ +1.07x faster โ > โ QQuery 30 โ 872.06ms โ 861.85ms โ no change โ > โ QQuery 31 โ 924.05ms โ 992.86ms โ 1.07x slower โ > โ QQuery 32 โ 2763.71ms โ 2715.48ms โ no change โ > โ QQuery 33 โ 3455.95ms โ 3450.90ms โ no change โ > โ QQuery 34 โ 3466.53ms โ 3478.02ms โ no change โ > โ QQuery 35 โ 1342.93ms โ 1336.22ms โ no change โ > โ QQuery 36 โ 179.89ms โ 185.83ms โ no change โ > โ QQuery 37 โ 106.98ms โ 102.42ms โ no change โ > โ QQuery 38 โ 169.57ms โ 181.57ms โ 1.07x slower โ > โ QQuery 39 โ 263.27ms โ 261.33ms โ no change โ > โ QQuery 40 โ 90.39ms โ 86.94ms โ no change โ > โ QQuery 41 โ 85.04ms โ 83.29ms โ no change โ > โ QQuery 42 โ 78.33ms โ 78.86ms โ no change โ > โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ > โ Benchmark Summary โ โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ Total Time (HEAD) โ 61056.89ms โ > โ Total Time (concat_batches_for_sort) โ 60829.33ms โ > โ Average Time (HEAD) โ 1419.93ms โ > โ Average Time (concat_batches_for_sort) โ 1414.64ms โ > โ Queries Faster โ 4 โ > โ Queries Slower โ 2 โ > โ Queries with No Change โ 37 โ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ > -------------------- > Benchmark clickbench_partitioned.json > -------------------- > โโโโโโโโโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโ > โ Query โ HEAD โ concat_batches_for_sort โ Change โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ QQuery 0 โ 2.39ms โ 2.57ms โ 1.07x slower โ > โ QQuery 1 โ 36.11ms โ 36.43ms โ no change โ > โ QQuery 2 โ 91.64ms โ 90.30ms โ no change โ > โ QQuery 3 โ 97.91ms โ 96.78ms โ no change โ > โ QQuery 4 โ 732.04ms โ 776.35ms โ 1.06x slower โ > โ QQuery 5 โ 833.38ms โ 872.17ms โ no change โ > โ QQuery 6 โ 2.10ms โ 2.26ms โ 1.07x slower โ > โ QQuery 7 โ 41.00ms โ 39.72ms โ no change โ > โ QQuery 8 โ 942.92ms โ 946.92ms โ no change โ > โ QQuery 9 โ 1216.74ms โ 1198.20ms โ no change โ > โ QQuery 10 โ 268.97ms โ 280.66ms โ no change โ > โ QQuery 11 โ 302.80ms โ 311.61ms โ no change โ > โ QQuery 12 โ 908.31ms โ 943.03ms โ no change โ > โ QQuery 13 โ 1238.75ms โ 1400.87ms โ 1.13x slower โ > โ QQuery 14 โ 862.33ms โ 880.29ms โ no change โ > โ QQuery 15 โ 1072.63ms โ 1053.58ms โ no change โ > โ QQuery 16 โ 1755.68ms โ 1765.66ms โ no change โ > โ QQuery 17 โ 1653.94ms โ 1624.45ms โ no change โ > โ QQuery 18 โ 3109.98ms โ 3131.55ms โ no change โ > โ QQuery 19 โ 86.54ms โ 85.77ms โ no change โ > โ QQuery 20 โ 1148.95ms โ 1170.51ms โ no change โ > โ QQuery 21 โ 1333.80ms โ 1392.35ms โ no change โ > โ QQuery 22 โ 2373.02ms โ 2456.49ms โ no change โ > โ QQuery 23 โ 8411.11ms โ 8608.23ms โ no change โ > โ QQuery 24 โ 469.47ms โ 488.99ms โ no change โ > โ QQuery 25 โ 399.27ms โ 411.12ms โ no change โ > โ QQuery 26 โ 537.55ms โ 546.69ms โ no change โ > โ QQuery 27 โ 1685.85ms โ 1739.53ms โ no change โ > โ QQuery 28 โ 12957.91ms โ 12866.18ms โ no change โ > โ QQuery 29 โ 546.32ms โ 542.10ms โ no change โ > โ QQuery 30 โ 846.79ms โ 852.23ms โ no change โ > โ QQuery 31 โ 887.81ms โ 891.51ms โ no change โ > โ QQuery 32 โ 2723.16ms โ 2728.31ms โ no change โ > โ QQuery 33 โ 3360.97ms โ 3394.86ms โ no change โ > โ QQuery 34 โ 3409.45ms โ 3368.33ms โ no change โ > โ QQuery 35 โ 1284.03ms โ 1297.77ms โ no change โ > โ QQuery 36 โ 127.54ms โ 133.40ms โ no change โ > โ QQuery 37 โ 56.79ms โ 57.49ms โ no change โ > โ QQuery 38 โ 129.27ms โ 127.87ms โ no change โ > โ QQuery 39 โ 211.07ms โ 209.72ms โ no change โ > โ QQuery 40 โ 49.05ms โ 51.83ms โ 1.06x slower โ > โ QQuery 41 โ 47.29ms โ 46.37ms โ no change โ > โ QQuery 42 โ 39.37ms โ 39.91ms โ no change โ > โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ > โ Benchmark Summary โ โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ Total Time (HEAD) โ 58292.02ms โ > โ Total Time (concat_batches_for_sort) โ 58960.95ms โ > โ Average Time (HEAD) โ 1355.63ms โ > โ Average Time (concat_batches_for_sort) โ 1371.18ms โ > โ Queries Faster โ 0 โ > โ Queries Slower โ 5 โ > โ Queries with No Change โ 38 โ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ > -------------------- > Benchmark sort_tpch.json > -------------------- > โโโโโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ > โ Query โ HEAD โ concat_batches_for_sort โ Change โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ Q1 โ 376.52ms โ 326.59ms โ +1.15x faster โ > โ Q2 โ 307.50ms โ 283.70ms โ +1.08x faster โ > โ Q3 โ 1217.16ms โ 1216.87ms โ no change โ > โ Q4 โ 430.52ms โ 476.70ms โ 1.11x slower โ > โ Q5 โ 433.11ms โ 499.16ms โ 1.15x slower โ > โ Q6 โ 467.50ms โ 521.98ms โ 1.12x slower โ > โ Q7 โ 960.82ms โ 1016.45ms โ 1.06x slower โ > โ Q8 โ 793.48ms โ 842.76ms โ 1.06x slower โ > โ Q9 โ 833.53ms โ 862.74ms โ no change โ > โ Q10 โ 1275.22ms โ 1279.19ms โ no change โ > โ Q11 โ 771.89ms โ 762.28ms โ no change โ > โโโโโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ > โ Benchmark Summary โ โ > โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ > โ Total Time (HEAD) โ 7867.25ms โ > โ Total Time (concat_batches_for_sort) โ 8088.43ms โ > โ Average Time (HEAD) โ 715.20ms โ > โ Average Time (concat_batches_for_sort) โ 735.31ms โ > โ Queries Faster โ 2 โ > โ Queries Slower โ 5 โ > โ Queries with No Change โ 4 โ > โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ > ``` No performance improvement for benchmark, i believe mostly the benchmark batch size > sort_in_place size, it will not gain from this PR. -- 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