Skip to content

bench(csharp): add store_sales SF10 benchmark query#376

Open
msrathore-db wants to merge 1 commit intomainfrom
bench/store-sales-sf10
Open

bench(csharp): add store_sales SF10 benchmark query#376
msrathore-db wants to merge 1 commit intomainfrom
bench/store-sales-sf10

Conversation

@msrathore-db
Copy link
Copy Markdown
Collaborator

Summary

  • Add large-scale benchmark: SELECT * FROM main.tpcds_sf10_delta.store_sales (28.8M rows, 23 columns)
  • For JDBC vs ADBC performance comparison

Test plan

  • Benchmark workflow runs successfully

This pull request was AI-assisted by Isaac.

@msrathore-db msrathore-db added the benchmark Run performance benchmarks on this PR label Mar 29, 2026
@github-actions
Copy link
Copy Markdown

📊 CloudFetch Benchmark Results

.NET 8.0
Query Mean (ms) Peak Memory (MB) Allocated Memory (MB) Gen2 Rows Cols
catalog_sales 2400.66 287.35 287.35 48 1441548 34
customer 893.71 37.15 37.15 2 100000 18
inventory 6939.22 245.97 245.97 79 11745000 5
sales_with_timestamps 3362.22 126.56 126.56 41 2880404 13
store_sales_numeric 3082.00 336.89 336.89 65 2880404 16
store_sales_sf10 21416.79 3451.25 3451.25 286 28800501 23
web_sales 1608.03 162.57 162.57 37 719384 34
wide_sales_analysis 9426.18 1156.37 1156.37 93 2880404 54
.NET Framework 4.7.2
Query Mean (ms) Peak Memory (MB) Allocated Memory (MB) Gen2 Rows Cols
catalog_sales 4877.78 528.83 528.83 3 1441548 34
customer 1255.15 38.80 38.80 0 100000 18
inventory 45565.39 264.09 264.09 2 11745000 5
sales_with_timestamps 13550.77 148.14 148.14 2 2880404 13
store_sales_numeric 12827.33 401.59 401.59 2 2880404 16
store_sales_sf10 107832.55 3785.75 3785.75 40 28800501 23
web_sales 3791.58 400.75 400.75 3 719384 34
wide_sales_analysis 15088.97 2918.37 2918.37 22 2880404 54

🟢 Improvement | 🔴 Regression | ⚪ No change

Format: current_value (baseline) diff%

  • Baseline: Latest successful run on main branch

Metrics:

  • Mean: Execution time in milliseconds
  • Peak Memory: Total bytes allocated during operation in MB
  • Allocated Memory: Bytes allocated per operation in MB
  • Gen2: Number of Gen2 garbage collections

msrathore-db added a commit that referenced this pull request Mar 30, 2026
…ark query

- Remove #if NET5_0_OR_GREATER — use CopyToAsync with CancellationToken for
  all runtimes, not just net472 (Jade's feedback)
- Add using on MemoryStream (Eric's feedback)
- Remove store_sales_sf10 benchmark query — belongs in PR #376 (Curt's feedback)

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmark Run performance benchmarks on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant