You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Dandandan (via GitHub)" <gi...@apache.org> on 2026/03/08 06:43:14 UTC
[PR] Add some initial capacity to the maps [datafusion]
Dandandan opened a new pull request, #20794:
URL: https://github.com/apache/datafusion/pull/20794
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
-->
- Closes #.
## Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
-->
## What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
-->
## Are these changes tested?
<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code
If tests are not included in your PR, please explain why (for example, are they covered by existing tests)?
-->
## Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be updated before approving the PR.
-->
<!--
If there are any breaking changes to public APIs, please add the `api change` label.
-->
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Add some initial capacity to the maps [datafusion]
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan commented on PR #20794:
URL: https://github.com/apache/datafusion/pull/20794#issuecomment-4018506906
run benchmarks
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Add some initial capacity to the maps [datafusion]
Posted by "alamb-ghbot (via GitHub)" <gi...@apache.org>.
alamb-ghbot commented on PR #20794:
URL: https://github.com/apache/datafusion/pull/20794#issuecomment-4018507051
๐ค `./gh_compare_branch.sh` [gh_compare_branch.sh](https://github.com/alamb/datafusion-benchmarking/blob/main/scripts/gh_compare_branch.sh) Running
Linux aal-dev 6.14.0-1018-gcp #19~24.04.1-Ubuntu SMP Wed Sep 24 23:23:09 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Comparing initial_capacity (3d4cf959f2306df634d575412e16590d0a839022) to d025869526e5c7c2c32d5f6318a634522d44a538 [diff](https://github.com/apache/datafusion/compare/d025869526e5c7c2c32d5f6318a634522d44a538..3d4cf959f2306df634d575412e16590d0a839022) using: tpch_mem clickbench_partitioned clickbench_extended
Results will be posted here when complete
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Add some initial capacity to the maps [datafusion]
Posted by "Dandandan (via GitHub)" <gi...@apache.org>.
Dandandan closed pull request #20794: Add some initial capacity to the maps
URL: https://github.com/apache/datafusion/pull/20794
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Add some initial capacity to the maps [datafusion]
Posted by "alamb-ghbot (via GitHub)" <gi...@apache.org>.
alamb-ghbot commented on PR #20794:
URL: https://github.com/apache/datafusion/pull/20794#issuecomment-4018559163
๐ค: Benchmark completed
<details><summary>Details</summary>
<p>
```
Comparing HEAD and initial_capacity
--------------------
Benchmark clickbench_extended.json
--------------------
โโโโโโโโโโโโณโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Query โ HEAD โ initial_capacity โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 2417.29 ms โ 2396.16 ms โ no change โ
โ QQuery 1 โ 882.06 ms โ 888.11 ms โ no change โ
โ QQuery 2 โ 1825.52 ms โ 1848.14 ms โ no change โ
โ QQuery 3 โ 1117.34 ms โ 1094.94 ms โ no change โ
โ QQuery 4 โ 2386.87 ms โ 2401.41 ms โ no change โ
โ QQuery 5 โ 28828.79 ms โ 28763.08 ms โ no change โ
โ QQuery 6 โ 3937.42 ms โ 3973.91 ms โ no change โ
โ QQuery 7 โ 3004.00 ms โ 3019.06 ms โ no change โ
โโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 44399.29ms โ
โ Total Time (initial_capacity) โ 44384.83ms โ
โ Average Time (HEAD) โ 5549.91ms โ
โ Average Time (initial_capacity) โ 5548.10ms โ
โ Queries Faster โ 0 โ
โ Queries Slower โ 0 โ
โ Queries with No Change โ 8 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
--------------------
Benchmark clickbench_partitioned.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ initial_capacity โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 0 โ 2.63 ms โ 2.60 ms โ no change โ
โ QQuery 1 โ 50.15 ms โ 52.66 ms โ no change โ
โ QQuery 2 โ 167.73 ms โ 165.95 ms โ no change โ
โ QQuery 3 โ 167.03 ms โ 172.43 ms โ no change โ
โ QQuery 4 โ 1069.13 ms โ 1112.28 ms โ no change โ
โ QQuery 5 โ 1257.29 ms โ 1330.98 ms โ 1.06x slower โ
โ QQuery 6 โ 6.31 ms โ 6.40 ms โ no change โ
โ QQuery 7 โ 54.00 ms โ 54.69 ms โ no change โ
โ QQuery 8 โ 1467.61 ms โ 1547.95 ms โ 1.05x slower โ
โ QQuery 9 โ 1809.94 ms โ 1900.47 ms โ 1.05x slower โ
โ QQuery 10 โ 335.08 ms โ 341.49 ms โ no change โ
โ QQuery 11 โ 383.71 ms โ 389.13 ms โ no change โ
โ QQuery 12 โ 1170.07 ms โ 1184.03 ms โ no change โ
โ QQuery 13 โ 1934.57 ms โ 2025.38 ms โ no change โ
โ QQuery 14 โ 1185.99 ms โ 1242.12 ms โ no change โ
โ QQuery 15 โ 1213.01 ms โ 1250.55 ms โ no change โ
โ QQuery 16 โ 2514.32 ms โ 2655.26 ms โ 1.06x slower โ
โ QQuery 17 โ 2514.86 ms โ 2591.68 ms โ no change โ
โ QQuery 18 โ 5867.57 ms โ 5287.96 ms โ +1.11x faster โ
โ QQuery 19 โ 123.49 ms โ 127.35 ms โ no change โ
โ QQuery 20 โ 1892.21 ms โ 1843.15 ms โ no change โ
โ QQuery 21 โ 2113.21 ms โ 2122.34 ms โ no change โ
โ QQuery 22 โ 3673.76 ms โ 3633.99 ms โ no change โ
โ QQuery 23 โ 11776.59 ms โ 11826.97 ms โ no change โ
โ QQuery 24 โ 209.13 ms โ 204.60 ms โ no change โ
โ QQuery 25 โ 437.63 ms โ 427.93 ms โ no change โ
โ QQuery 26 โ 185.79 ms โ 196.52 ms โ 1.06x slower โ
โ QQuery 27 โ 2683.95 ms โ 2743.59 ms โ no change โ
โ QQuery 28 โ 23488.05 ms โ 25401.40 ms โ 1.08x slower โ
โ QQuery 29 โ 1065.06 ms โ 1048.88 ms โ no change โ
โ QQuery 30 โ 1249.82 ms โ 1253.44 ms โ no change โ
โ QQuery 31 โ 1400.06 ms โ 1377.13 ms โ no change โ
โ QQuery 32 โ 5008.38 ms โ 4740.83 ms โ +1.06x faster โ
โ QQuery 33 โ 6238.92 ms โ 5835.72 ms โ +1.07x faster โ
โ QQuery 34 โ 6421.95 ms โ 5867.31 ms โ +1.09x faster โ
โ QQuery 35 โ 1954.24 ms โ 2036.22 ms โ no change โ
โ QQuery 36 โ 177.38 ms โ 179.62 ms โ no change โ
โ QQuery 37 โ 72.08 ms โ 71.34 ms โ no change โ
โ QQuery 38 โ 109.38 ms โ 109.33 ms โ no change โ
โ QQuery 39 โ 324.67 ms โ 327.76 ms โ no change โ
โ QQuery 40 โ 39.96 ms โ 40.03 ms โ no change โ
โ QQuery 41 โ 35.81 ms โ 36.15 ms โ no change โ
โ QQuery 42 โ 30.20 ms โ 34.05 ms โ 1.13x slower โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 93882.73ms โ
โ Total Time (initial_capacity) โ 94799.68ms โ
โ Average Time (HEAD) โ 2183.32ms โ
โ Average Time (initial_capacity) โ 2204.64ms โ
โ Queries Faster โ 4 โ
โ Queries Slower โ 7 โ
โ Queries with No Change โ 32 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโ
--------------------
Benchmark tpch_mem_sf1.json
--------------------
โโโโโโโโโโโโโณโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโ
โ Query โ HEAD โ initial_capacity โ Change โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ QQuery 1 โ 146.32 ms โ 128.78 ms โ +1.14x faster โ
โ QQuery 2 โ 32.14 ms โ 33.05 ms โ no change โ
โ QQuery 3 โ 34.81 ms โ 40.50 ms โ 1.16x slower โ
โ QQuery 4 โ 35.71 ms โ 35.65 ms โ no change โ
โ QQuery 5 โ 91.87 ms โ 92.08 ms โ no change โ
โ QQuery 6 โ 24.66 ms โ 26.13 ms โ 1.06x slower โ
โ QQuery 7 โ 157.30 ms โ 153.92 ms โ no change โ
โ QQuery 8 โ 41.04 ms โ 40.15 ms โ no change โ
โ QQuery 9 โ 106.75 ms โ 109.41 ms โ no change โ
โ QQuery 10 โ 69.42 ms โ 71.39 ms โ no change โ
โ QQuery 11 โ 18.47 ms โ 18.35 ms โ no change โ
โ QQuery 12 โ 65.14 ms โ 65.06 ms โ no change โ
โ QQuery 13 โ 54.21 ms โ 54.78 ms โ no change โ
โ QQuery 14 โ 15.68 ms โ 15.61 ms โ no change โ
โ QQuery 15 โ 32.59 ms โ 33.23 ms โ no change โ
โ QQuery 16 โ 29.94 ms โ 30.30 ms โ no change โ
โ QQuery 17 โ 164.56 ms โ 167.59 ms โ no change โ
โ QQuery 18 โ 295.61 ms โ 290.93 ms โ no change โ
โ QQuery 19 โ 51.56 ms โ 43.84 ms โ +1.18x faster โ
โ QQuery 20 โ 61.70 ms โ 61.82 ms โ no change โ
โ QQuery 21 โ 199.90 ms โ 200.31 ms โ no change โ
โ QQuery 22 โ 25.13 ms โ 24.62 ms โ no change โ
โโโโโโโโโโโโโดโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโ
โ Benchmark Summary โ โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Total Time (HEAD) โ 1754.54ms โ
โ Total Time (initial_capacity) โ 1737.49ms โ
โ Average Time (HEAD) โ 79.75ms โ
โ Average Time (initial_capacity) โ 78.98ms โ
โ Queries Faster โ 2 โ
โ Queries Slower โ 2 โ
โ Queries with No Change โ 18 โ
โ Queries with Failure โ 0 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโ
```
</p>
</details>
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org