← Back to Pull requests

docs: update TPC-DS benchmark results for Comet 1.2.0 #7444

Closed
unknown closed this pull request without merging on Nov 03, 2026 17:12 UTC
View on GitHub
unknown unknown commented on Nov 03, 2026 00:33 UTC
Author

Which issue does this PR close?

N/A

Rationale for this change

The published TPC-DS results are for Comet 1.1.0 on Spark 4.2.0. This updates them for Comet 1.2.0 on the same Spark version, and adds results on Spark 4.1.3.

What changes are included in this PR?

  • Charts: new charts in docs/source/_static/images/benchmark-results/1.2.0/ (Spark 4.2.0, Comet 1.1.0 and Comet 1.2.0), plus 1.2.0/spark-4.1.3/ for Spark 4.1.3. They are generated with benchmarks/tpc/generate-comparison.py.

  • Chart script: generate-comparison.py now draws the per-query relative speedup chart as a multiple (2.00x means twice as fast, below 1x means slower) instead of a percentage, so it matches the headline numbers.

  • README: points at the new charts. The headline is now "~2x speedup over Spark 4.2, ~50% cost savings" (994 s for Spark vs 488 s for Comet 1.2.0, so 2.04x and 51% less time). It was "~1.8x, ~45%".

  • benchmark-results/tpc-ds.md: lists the versions and the non-default settings, and has a separate Spark 4.1.3 section.

  • Benchmarking guide: the results link names the versions.
  • Setup

  • TPC-DS SF 1000 (1 TB), all 103 queries, Parquet tables compressed with zstd. Every run reads the same files, and Comet uses its native Parquet scan.

  • EKS cluster with 32 executors of 16 cores each (8 CPUs per pod), data in S3. Each query was run twice and the mean is reported.

  • The settings that differ from the defaults are in the Configuration section of tpc-ds.md. For Comet these are the off-heap memory settings, the plugin, shuffle manager and extension, and spark.comet.exec.memoryPool.fraction=0.8 (the default is 1.0). I diffed the Spark properties between the runs, and apart from Comet's own settings the Spark and Comet runs are identical.
  • | Total time (103 queries) | Spark 4.2.0 | Spark 4.1.3 |
    |---|---|---|
    | Spark | 994 s | 1,336 s |
    | Comet 1.1.0 | 601 s | 613 s |
    | Comet 1.2.0 | 488 s | 532 s |
    | Comet 1.2.0 speedup over Spark | 2.04x | 2.51x |
    | Comet 1.2.0 speedup over Comet 1.1.0 | 1.23x | 1.15x |

    Notes

  • Comet 1.1.0 is the 1.1.0 release in both columns. The previous charts used a result of 525 s on Spark 4.2.0 that came from a build of the branch-1.1 release branch, which includes fixes made after the tag. It does not reproduce with the release: two runs of the 1.1.0 tag on Spark 4.2.0 took 606 s and 601 s, so the 1.1.0 bars here differ from the earlier published charts.

  • The Spark 4.2.0 baseline was rerun for this update (994 s, vs 966 s in the previous charts).

  • The speedup over Spark is smaller on Spark 4.2.0 than on Spark 4.1.3 mostly because Spark 4.2.0 is faster here. The Spark 4.2.0 image (Hadoop 3.5.0) defaults to the S3 Analytics Accelerator for S3 reads, and the Spark 4.1.3 image (Hadoop 3.4.2) to the classic stream. Spark 4.2.0 with spark.hadoop.fs.s3a.input.stream.type=classic took 1,294 s (Comet 1.2.0 would be 2.65x faster than that). See #7451.
  • How are these changes tested?

    Docs, images and a chart script only. I regenerated the charts and checked the totals against the per-query results.

    Diff: 388 lines (+291 / -97) across 4 files Reviewer: comphead Review duration: 999m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.43) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 388 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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.357
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #7444"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 43.1% (MEDIUM) · Higher = larger blast radius
    43.1%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 18.6% · Safe to merge
    18.6%