← Back to Pull requests

Build against unreleased arrow-rs main (pre-60.1.0) for perf testing #629

Closed
alamb closed this pull request without merging on Nov 30, 2026 20:17 UTC
View on GitHub
alamb alamb commented on Oct 18, 2026 12:13 UTC
Author

Which issue does this PR close?

N/A - testing only, not intended to merge as-is.

Rationale for this change

Test the performance of tpcgen-cli against unreleased arrow-rs main (what will be released as arrow/parquet 60.1.0) before the release ships.

What changes are included in this PR?

  • Add a [patch.crates-io] section pinning arrow and parquet to arrow-rs commit 3658fc0

  • Update Cargo.lock accordingly (the atoi 3.1.0 -> 3.1.1 bump is required by arrow-cast on main)
  • The arrow 59 feature path is unaffected since the patch only replaces the 60.x crates.

    Are there any user-facing changes?

    No.

    Diff: 57 lines (+24 / -33) across 2 files Reviewer: None requested Review duration: 62403m
    All Vouch review confidence checks passed
    Residual risk 0.08 = Change Risk (0.41) × (1 − Review Confidence (0.80)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 57 lines diff across 2 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.71 · 5 substantive comment(s)
    0.71
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    79%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.243
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    6 items
    kevinjqliu kevinjqliu commented on Oct 19, 2026 17:50 UTC
    Contributor

    Ran this locally, looks promising.

    On TPC-DS SF10, PR #629 ran 1.07× faster than main and used 7.4% less user CPU:

    hyperfine --warmup 1 --runs 5 --prepare "rm -rf /tmp/output" \
      -n main@f73a320 "./main tpcds parquet --scale-factor=10 --output-dir /tmp/output" \
      -n pr629-arrow-main@3658fc0 "./pr tpcds parquet --scale-factor=10 --output-dir /tmp/output"
    
    Benchmark 1: main@f73a320
      Time (mean ± σ):      5.750 s ±  0.104 s    [User: 61.979 s, System: 0.851 s]
      Range (min … max):    5.632 s …  5.854 s    5 runs
    
    Benchmark 2: pr629-arrow-main@3658fc0
      Time (mean ± σ):      5.352 s ±  0.085 s    [User: 57.416 s, System: 0.854 s]
      Range (min … max):    5.218 s …  5.431 s    5 runs
    
    Summary
      pr629-arrow-main@3658fc0 ran
        1.07 ± 0.03 times faster than main@f73a320
    

    alamb alamb commented on Oct 19, 2026 18:37 UTC
    Author

    Nice!

    I hadn't had a chance to review the results yet

    I suspect at least some of it is due to this PR:

  • https://github.com/apache/arrow-rs/pull/11523
  • There are a bunch of others as well.

    BTW we plan a release later this week

  • https://github.com/apache/arrow-rs/issues/10525
  • kevinjqliu kevinjqliu commented on Oct 19, 2026 18:40 UTC
    Contributor

    we could wait for this before releasing v4, or include this as v4.1

    your call 😄

    alamb alamb commented on Oct 19, 2026 18:45 UTC
    Author

    I vote 4.1

    alamb alamb commented on Nov 30, 2026 19:33 UTC
    Author
    Reviewers
    None requested
    Assignees
    alamb alamb
    Labels
    risk: low confidence: 79.6% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.8% (MEDIUM) · Higher = larger blast radius
    40.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 79.6% · Lower = rushed or shallow review
    79.6%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 8.3% · Safe to merge
    8.3%