Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Prefer vctrs::new_data_frame() over tibble() for performance #500

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Jan 26, 2025

No description provided.

@krlmlr krlmlr enabled auto-merge (squash) January 26, 2025 06:09
@krlmlr krlmlr merged commit 22301bd into main Jan 26, 2025
21 checks passed
@krlmlr krlmlr deleted the f-rel-perf branch January 26, 2025 07:09
Copy link
Contributor

This is how benchmark results would change (along with a 95% confidence interval in relative change) if aba0fd6 is merged into main:

  • 🚀001_tpch_01: 24ms -> 21.7ms [-13.86%, -5.66%]
  • 🚀001_tpch_02: 67.5ms -> 61.1ms [-10.18%, -8.72%]
  • 🚀001_tpch_03: 38.9ms -> 36.7ms [-6.54%, -5.1%]
  • 🚀001_tpch_04: 22.2ms -> 21.3ms [-5.92%, -2.81%]
  • 🚀001_tpch_05: 56.8ms -> 54.7ms [-4.46%, -3.14%]
  • ❗🐌001_tpch_06: 14ms -> 16.9ms [+18.2%, +23.5%]
  • 🚀001_tpch_07: 75.5ms -> 69.8ms [-8.47%, -6.69%]
  • 🚀001_tpch_08: 97.8ms -> 89.2ms [-10.17%, -7.47%]
  • 🚀001_tpch_09: 73.2ms -> 70.2ms [-6.46%, -1.65%]
  • 🚀001_tpch_10: 48.1ms -> 45.7ms [-5.92%, -4.17%]
  • 🚀001_tpch_11: 32.3ms -> 30.2ms [-7.4%, -5.48%]
  • 🚀001_tpch_12: 27.4ms -> 21ms [-25.24%, -21.11%]
  • 🚀001_tpch_13: 25.7ms -> 23.4ms [-13.07%, -4.51%]
  • ❗🐌001_tpch_14: 20ms -> 22.1ms [+8.04%, +13.43%]
  • 🚀001_tpch_15: 31.2ms -> 28.2ms [-10.34%, -8.55%]
  • 🚀001_tpch_16: 39.2ms -> 28ms [-29.68%, -27.36%]
  • 🚀001_tpch_17: 26.6ms -> 23.8ms [-13.96%, -7.11%]
  • 🚀001_tpch_18: 22.3ms -> 21.5ms [-6.02%, -0.41%]
  • 🚀001_tpch_19: 67ms -> 43.6ms [-35.52%, -34.4%]
  • 🚀001_tpch_20: 51.2ms -> 42.9ms [-17.2%, -15.4%]
  • 🚀001_tpch_21: 80.7ms -> 76.3ms [-7.16%, -3.79%]
  • 🚀001_tpch_22: 68.5ms -> 44.9ms [-35.27%, -33.74%]
  • ✔️010_tpch_01: 79.5ms -> 78.1ms [-7.58%, +4.01%]
  • 🚀010_tpch_02: 69.8ms -> 67.6ms [-4.28%, -1.81%]
  • 🚀010_tpch_03: 58.3ms -> 55.5ms [-5.9%, -3.86%]
  • 🚀010_tpch_04: 42.5ms -> 40.7ms [-6.97%, -1.53%]
  • 🚀010_tpch_05: 88.6ms -> 84.9ms [-5.2%, -3.1%]
  • ✔️010_tpch_06: 31ms -> 29ms [-13.88%, +0.69%]
  • 🚀010_tpch_07: 105ms -> 98.2ms [-6.79%, -5.28%]
  • 🚀010_tpch_08: 126ms -> 120ms [-5.17%, -3.97%]
  • ✔️010_tpch_09: 113ms -> 111ms [-3.74%, +0.65%]
  • 🚀010_tpch_10: 73.9ms -> 70.9ms [-6.5%, -1.67%]
  • ✔️010_tpch_11: 38.1ms -> 36.5ms [-9.16%, +0.73%]
  • 🚀010_tpch_12: 57.8ms -> 50.8ms [-16.33%, -7.65%]
  • 🚀010_tpch_13: 52.6ms -> 49.9ms [-7.3%, -2.91%]
  • 🚀010_tpch_14: 36.2ms -> 33.2ms [-11.01%, -5.32%]
  • ✔️010_tpch_15: 52.6ms -> 49.1ms [-15.04%, +1.69%]
  • 🚀010_tpch_16: 43.9ms -> 37.8ms [-16.83%, -10.83%]
  • ✔️010_tpch_17: 52.9ms -> 51.9ms [-7.49%, +3.49%]
  • ✔️010_tpch_18: 51.3ms -> 51ms [-8.18%, +6.95%]
  • 🚀010_tpch_19: 116ms -> 83.6ms [-29.38%, -26.09%]
  • ✔️010_tpch_20: 66.1ms -> 64.8ms [-10.22%, +6.27%]
  • ✔️010_tpch_21: 234ms -> 237ms [-2.64%, +5.42%]
  • 🚀010_tpch_22: 76.5ms -> 52ms [-34.53%, -29.44%]
  • ✔️100_tpch_01: 324ms -> 320ms [-24.21%, +21.86%]
  • ✔️100_tpch_02: 121ms -> 121ms [-5.24%, +6.53%]
  • ✔️100_tpch_03: 170ms -> 179ms [-10.8%, +21.09%]
  • ✔️100_tpch_04: 156ms -> 155ms [-19.75%, +19.34%]
  • ✔️100_tpch_05: 244ms -> 255ms [-2.77%, +11.73%]
  • ✔️100_tpch_06: 94.2ms -> 101ms [-3.39%, +17.01%]
  • ✔️100_tpch_07: 232ms -> 223ms [-10.56%, +2.33%]
  • ✔️100_tpch_08: 257ms -> 247ms [-12.88%, +5.06%]
  • ✔️100_tpch_09: 312ms -> 308ms [-5.06%, +3.08%]
  • ✔️100_tpch_10: 221ms -> 213ms [-13.86%, +7.25%]
  • ✔️100_tpch_11: 87.2ms -> 83.6ms [-29.88%, +21.57%]
  • 🚀100_tpch_12: 205ms -> 181ms [-22.58%, -0.57%]
  • ✔️100_tpch_13: 304ms -> 306ms [-0.88%, +2.1%]
  • ✔️100_tpch_14: 116ms -> 113ms [-16.13%, +10.33%]
  • ✔️100_tpch_15: 207ms -> 212ms [-2.79%, +7.61%]
  • 🚀100_tpch_16: 126ms -> 114ms [-16.05%, -3.39%]
  • ✔️100_tpch_17: 175ms -> 180ms [-12.15%, +17.7%]
  • ✔️100_tpch_18: 187ms -> 197ms [-1.48%, +11.55%]
  • ✔️100_tpch_19: 299ms -> 262ms [-25.96%, +1.11%]
  • ✔️100_tpch_20: 171ms -> 182ms [-3.34%, +16.24%]
  • ✔️100_tpch_21: 1.31s -> 1.27s [-8.44%, +1.99%]
  • 🚀100_tpch_22: 172ms -> 146ms [-18.21%, -11.9%]

Further explanation regarding interpretation and methodology can be found in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant