zhuqi-lucas commented on issue #15096: URL: https://github.com/apache/datafusion/issues/15096#issuecomment-2760109748
Updated the latest clickbench for the current main compare the default mapping varchar to utf8view: ```rust python3 ./compare.py /tmp/main /tmp/Utf8ViewDefault ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ Query ┃ tmp ┃ tmp ┃ Change ┃ ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ QQuery 0 │ 0.36ms │ 0.32ms │ +1.13x faster │ │ QQuery 1 │ 27.55ms │ 28.53ms │ no change │ │ QQuery 2 │ 54.73ms │ 58.73ms │ 1.07x slower │ │ QQuery 3 │ 49.67ms │ 51.85ms │ no change │ │ QQuery 4 │ 321.47ms │ 333.88ms │ no change │ │ QQuery 5 │ 374.77ms │ 370.26ms │ no change │ │ QQuery 6 │ 26.06ms │ 27.14ms │ no change │ │ QQuery 7 │ 29.89ms │ 28.19ms │ +1.06x faster │ │ QQuery 8 │ 397.90ms │ 372.24ms │ +1.07x faster │ │ QQuery 9 │ 583.40ms │ 599.98ms │ no change │ │ QQuery 10 │ 148.50ms │ 147.43ms │ no change │ │ QQuery 11 │ 163.20ms │ 165.56ms │ no change │ │ QQuery 12 │ 399.31ms │ 407.08ms │ no change │ │ QQuery 13 │ 568.61ms │ 576.26ms │ no change │ │ QQuery 14 │ 389.05ms │ 374.46ms │ no change │ │ QQuery 15 │ 375.66ms │ 370.85ms │ no change │ │ QQuery 16 │ 720.94ms │ 719.03ms │ no change │ │ QQuery 17 │ 662.21ms │ 638.33ms │ no change │ │ QQuery 18 │ 1694.34ms │ 1507.92ms │ +1.12x faster │ │ QQuery 19 │ 41.26ms │ 42.08ms │ no change │ │ QQuery 20 │ 619.60ms │ 549.74ms │ +1.13x faster │ │ QQuery 21 │ 779.77ms │ 691.91ms │ +1.13x faster │ │ QQuery 22 │ 1411.33ms │ 1375.59ms │ no change │ │ QQuery 23 │ 3891.02ms │ 3946.51ms │ no change │ │ QQuery 24 │ 252.52ms │ 247.12ms │ no change │ │ QQuery 25 │ 252.81ms │ 248.90ms │ no change │ │ QQuery 26 │ 264.57ms │ 276.89ms │ no change │ │ QQuery 27 │ 842.86ms │ 854.72ms │ no change │ │ QQuery 28 │ 6461.67ms │ 6410.47ms │ no change │ │ QQuery 29 │ 379.88ms │ 359.71ms │ +1.06x faster │ │ QQuery 30 │ 352.77ms │ 332.15ms │ +1.06x faster │ │ QQuery 31 │ 366.75ms │ 371.79ms │ no change │ │ QQuery 32 │ 1273.77ms │ 1427.04ms │ 1.12x slower │ │ QQuery 33 │ 1601.21ms │ 1599.55ms │ no change │ │ QQuery 34 │ 1605.00ms │ 1701.18ms │ 1.06x slower │ │ QQuery 35 │ 532.88ms │ 576.30ms │ 1.08x slower │ │ QQuery 36 │ 109.92ms │ 115.27ms │ no change │ │ QQuery 37 │ 57.43ms │ 57.22ms │ no change │ │ QQuery 38 │ 78.78ms │ 80.17ms │ no change │ │ QQuery 39 │ 196.90ms │ 197.13ms │ no change │ │ QQuery 40 │ 26.52ms │ 25.77ms │ no change │ │ QQuery 41 │ 25.57ms │ 25.51ms │ no change │ │ QQuery 42 │ 30.03ms │ 28.90ms │ no change │ └──────────────┴───────────┴───────────┴───────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓ ┃ Benchmark Summary ┃ ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩ │ Total Time (tmp) │ 28442.44ms │ │ Total Time (tmp) │ 28319.66ms │ │ Average Time (tmp) │ 661.45ms │ │ Average Time (tmp) │ 658.60ms │ │ Queries Faster │ 8 │ │ Queries Slower │ 4 │ │ Queries with No Change │ 31 │ └────────────────────────┴────────────┘ ```rust Good result for mostly are faster. I will dig into why Q32 and Q34 are slower. -- 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