alamb commented on PR #6065: URL: https://github.com/apache/arrow-datafusion/pull/6065#issuecomment-1520484534
Here are some benchmark results: ``` ++ echo '****** TPCH SF1 (Parquet) ******' ****** TPCH SF1 (Parquet) ****** ++ python3 /home/alamb/arrow-datafusion/benchmarks/compare.py /home/alamb/benchmarking/optimize_row_hash/tpch_sf1_parquet_main.json /home/alamb/benchmarking/optimize_row_hash/t\ pch_sf1_parquet_branch.json ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓ ┃ Query ┃ /home/alamb… ┃ /home/alamb… ┃ Change ┃ ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩ │ QQuery 1 │ 1641.50ms │ 1668.52ms │ no change │ │ QQuery 2 │ 433.09ms │ 457.15ms │ 1.06x slower │ │ QQuery 3 │ 551.05ms │ 560.14ms │ no change │ │ QQuery 4 │ 212.82ms │ 214.71ms │ no change │ │ QQuery 5 │ 722.18ms │ 725.48ms │ no change │ │ QQuery 6 │ 454.35ms │ 459.32ms │ no change │ │ QQuery 7 │ 1277.69ms │ 1256.32ms │ no change │ │ QQuery 8 │ 714.88ms │ 714.78ms │ no change │ │ QQuery 9 │ 1333.88ms │ 1365.51ms │ no change │ │ QQuery 10 │ 792.20ms │ 818.54ms │ no change │ │ QQuery 11 │ 345.96ms │ 351.47ms │ no change │ │ QQuery 12 │ 333.29ms │ 336.69ms │ no change │ │ QQuery 13 │ 1375.21ms │ 1462.85ms │ 1.06x slower │ │ QQuery 14 │ 465.92ms │ 453.73ms │ no change │ │ QQuery 15 │ 432.71ms │ 458.58ms │ 1.06x slower │ │ QQuery 16 │ 340.73ms │ 358.66ms │ 1.05x slower │ │ QQuery 17 │ 3961.24ms │ 4538.85ms │ 1.15x slower │ │ QQuery 18 │ 3493.70ms │ 3737.18ms │ 1.07x slower │ │ QQuery 19 │ 761.64ms │ 765.50ms │ no change │ │ QQuery 20 │ 1304.52ms │ 1478.34ms │ 1.13x slower │ │ QQuery 21 │ 1621.47ms │ 1718.01ms │ 1.06x slower │ │ QQuery 22 │ 188.55ms │ 189.26ms │ no change │ └──────────────┴──────────────┴──────────────┴──────────────┘ ++ echo '****** TPCH SF1 (mem) ******' ****** TPCH SF1 (mem) ****** ++ python3 /home/alamb/arrow-datafusion/benchmarks/compare.py /home/alamb/benchmarking/optimize_row_hash/tpch_sf1_mem_main.json /home/alamb/benchmarking/optimize_row_hash/tpch_\ sf1_mem_branch.json ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ Query ┃ -o ┃ -o ┃ Change ┃ ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ QQuery 1 │ 929.87ms │ 927.61ms │ no change │ │ QQuery 2 │ 312.32ms │ 335.58ms │ 1.07x slower │ │ QQuery 3 │ 187.35ms │ 174.29ms │ +1.07x faster │ │ QQuery 4 │ 99.81ms │ 104.31ms │ no change │ │ QQuery 5 │ 475.38ms │ 465.07ms │ no change │ │ QQuery 6 │ 38.34ms │ 37.14ms │ no change │ │ QQuery 7 │ 1076.25ms │ 1165.47ms │ 1.08x slower │ │ QQuery 8 │ 254.25ms │ 242.57ms │ no change │ │ QQuery 9 │ 631.52ms │ 611.30ms │ no change │ │ QQuery 10 │ 335.70ms │ 346.45ms │ no change │ │ QQuery 11 │ 297.94ms │ 293.44ms │ no change │ │ QQuery 12 │ 154.28ms │ 153.63ms │ no change │ │ QQuery 13 │ 842.44ms │ 983.07ms │ 1.17x slower │ │ QQuery 14 │ 55.30ms │ 58.83ms │ 1.06x slower │ │ QQuery 15 │ 128.91ms │ 123.69ms │ no change │ │ QQuery 16 │ 265.96ms │ 258.43ms │ no change │ │ QQuery 17 │ 3514.38ms │ 4024.28ms │ 1.15x slower │ │ QQuery 18 │ 3158.26ms │ 3294.42ms │ no change │ │ QQuery 19 │ 145.06ms │ 150.17ms │ no change │ │ QQuery 20 │ 1093.86ms │ 1163.19ms │ 1.06x slower │ │ QQuery 21 │ 1437.97ms │ 1483.74ms │ no change │ │ QQuery 22 │ 151.64ms │ 139.58ms │ +1.09x faster │ └──────────────┴──────────────┴──────────────┴───────────────┘ ``` For reference, here is the same benchmark run against `main` itself: ``` ****** TPCH SF1 (Parquet) ****** + python3 /home/alamb/arrow-datafusion/benchmarks/compare.py /home/alamb/benchmarking/alamb-main/tpch_sf1_parquet_main.json /home/alamb/benchmarking/alamb-main/tpch_sf1_parquet\ _branch.json ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ Query ┃ /home/alamb… ┃ /home/alamb… ┃ Change ┃ ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ QQuery 1 │ 1430.86ms │ 1423.29ms │ no change │ │ QQuery 2 │ 399.75ms │ 405.00ms │ no change │ │ QQuery 3 │ 520.40ms │ 525.56ms │ no change │ │ QQuery 4 │ 218.29ms │ 223.87ms │ no change │ │ QQuery 5 │ 693.57ms │ 685.46ms │ no change │ │ QQuery 6 │ 416.62ms │ 423.02ms │ no change │ │ QQuery 7 │ 1258.17ms │ 1243.79ms │ no change │ │ QQuery 8 │ 690.25ms │ 687.29ms │ no change │ │ QQuery 9 │ 1304.02ms │ 1288.01ms │ no change │ │ QQuery 10 │ 770.91ms │ 748.94ms │ no change │ │ QQuery 11 │ 356.32ms │ 336.55ms │ +1.06x faster │ │ QQuery 12 │ 335.14ms │ 329.12ms │ no change │ │ QQuery 13 │ 1170.83ms │ 1146.78ms │ no change │ │ QQuery 14 │ 422.25ms │ 421.47ms │ no change │ │ QQuery 15 │ 391.14ms │ 381.71ms │ no change │ │ QQuery 16 │ 348.38ms │ 344.13ms │ no change │ │ QQuery 17 │ 2860.96ms │ 2838.27ms │ no change │ │ QQuery 18 │ 3726.11ms │ 3734.67ms │ no change │ │ QQuery 19 │ 728.53ms │ 737.35ms │ no change │ │ QQuery 20 │ 1250.75ms │ 1208.06ms │ no change │ │ QQuery 21 │ 1688.40ms │ 1757.45ms │ no change │ │ QQuery 22 │ 192.36ms │ 190.43ms │ no change │ └──────────────┴──────────────┴──────────────┴───────────────┘ + echo '****** TPCH SF1 (mem) ******' ****** TPCH SF1 (mem) ****** + python3 /home/alamb/arrow-datafusion/benchmarks/compare.py /home/alamb/benchmarking/alamb-main/tpch_sf1_mem_main.json /home/alamb/benchmarking/alamb-main/tpch_sf1_mem_branch.\ json ┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ Query ┃ -o ┃ -o ┃ Change ┃ ┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ QQuery 1 │ 759.07ms │ 770.73ms │ no change │ │ QQuery 2 │ 269.81ms │ 291.05ms │ 1.08x slower │ │ QQuery 3 │ 180.67ms │ 161.61ms │ +1.12x faster │ │ QQuery 4 │ 105.16ms │ 105.46ms │ no change │ │ QQuery 5 │ 467.46ms │ 466.11ms │ no change │ │ QQuery 6 │ 38.08ms │ 42.72ms │ 1.12x slower │ │ QQuery 7 │ 1170.05ms │ 1147.43ms │ no change │ │ QQuery 8 │ 249.06ms │ 238.74ms │ no change │ │ QQuery 9 │ 613.38ms │ 609.98ms │ no change │ │ QQuery 10 │ 342.67ms │ 327.23ms │ no change │ │ QQuery 11 │ 279.84ms │ 281.69ms │ no change │ │ QQuery 12 │ 143.94ms │ 146.57ms │ no change │ │ QQuery 13 │ 676.22ms │ 668.79ms │ no change │ │ QQuery 14 │ 53.06ms │ 51.73ms │ no change │ │ QQuery 15 │ 98.47ms │ 92.68ms │ +1.06x faster │ │ QQuery 16 │ 244.93ms │ 257.73ms │ 1.05x slower │ │ QQuery 17 │ 2473.33ms │ 2503.47ms │ no change │ │ QQuery 18 │ 3150.26ms │ 3169.32ms │ no change │ │ QQuery 19 │ 154.90ms │ 150.53ms │ no change │ │ QQuery 20 │ 969.12ms │ 929.69ms │ no change │ │ QQuery 21 │ 1476.10ms │ 1457.34ms │ no change │ │ QQuery 22 │ 148.71ms │ 143.20ms │ no change │ └──────────────┴──────────────┴──────────────┴───────────────┘ ``` -- 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]
