# WHYSE engine benchmarks: 300M rows to a ranked answer in 20.2 seconds

> Source: https://whyse.ai/benchmark

Engine compute on a 36-vCPU cluster of commodity cloud VMs, warm cache, shard loading reported separately. 719 recorded runs across four tree algorithms (MDT, ADT, AST and CART on the same engine) and exhaustive frequent itemset search (FIS).

## Headline results

- 300M rows, full table, Metric Decomposition Tree: **20.2 s** over 154 shards.
- Peak throughput: **18.1M rows/s**.
- Scaling: 6× the rows for 2.2× the time.
- Frequent itemset search: up to **1.15B row-checks per second**; 11 of 30 configs ran as fast or faster on twice the rows.
- Exactness: **1,481 of 1,481** distributed itemset counts match a single-machine run exactly at ×176.

## Fastest full-table tree runs

| Algorithm | Rows | Shards | Seconds | Rows/s |
|---|---|---|---|---|
| MDT | 299,901,771 | 154 | 20.2 | 14.9M |
| AST | 299,901,771 | 154 | 21.8 | 13.8M |
| MDT | 199,934,514 | 52 | 14.8 | 13.5M |
| AST | 299,901,771 | 77 | 23.9 | 12.5M |
| ADT | 299,901,771 | 154 | 25.2 | 11.9M |
| MDT | 199,934,514 | 35 | 17.2 | 11.6M |
| AST | 199,934,514 | 35 | 18.1 | 11.0M |
| MDT | 199,934,514 | 103 | 18.9 | 10.6M |
| AST | 199,934,514 | 52 | 18.9 | 10.6M |
| ADT | 199,934,514 | 52 | 18.9 | 10.6M |

## Frequent itemset search by table layout (fastest config, seconds)

| Table | Depth 1 | Depth 2 | Depth 3 | Depth 4 | Depth 5 | Row-checks/s |
|---|---|---|---|---|---|---|
| 50M · 12 shards | 105.4 | 89.1 | 71.4 | 77.9 | 58.0 | 0.69B |
| 50M · 26 shards | 117.4 | 113.0 | 102.0 | 84.4 | 82.6 | 0.53B |
| 100M · 26 shards | 63.5 | 136.8 | 157.8 | 153.6 | 156.6 | 1.15B |
| 200M · 52 shards | 138.0 | 232.5 | 248.9 | 254.1 | 259.2 | 1.06B |
| 300M · 77 shards | 277.5 | 460.6 | 446.5 | 498.5 | 492.9 | 0.79B |

## Environment

- **Cluster:** 9-node k3s on commodity cloud VMs
- **Workers:** 6 Ray worker nodes × 6 vCPU = 36 vCPU
- **Memory:** ≈10 GB pod limit per worker, peak 9 GB
- **Storage:** Roaring bitmaps per feature value (roaring_bitmaps_vv)
- **Data:** Public credit-card transactions table, 284,807 rows × 31 columns, replicated 176× to 1,053×
- **Features:** 723 binned feature values across 31 dimensions
- **Configs:** 15 configs per algorithm per table, same order every table; random FIS configs, seed 1126
- **Builds:** Commit e2f515a0 (trees), image 90c88bcd (FIS)
