mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-28 13:44:03 +00:00
docs(promql): keep the fused-series benchmark harness and its records
The harness and the raw measurement records behind the fused range evaluator live on this branch instead of in the pull requests that add the code they measure. A PR should carry the change and the regression tests that pin it; a 1,500-line harness would double its review surface without covering anything the unit tests do not. Nothing here is product code. The scripts drive a benchmark, the records are the output of runs that already took place, and the report is the honest account of what those runs do and do not show. Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# Correctness results of run records-20261018T073117Z
|
||||
|
||||
Each round runs one dedicated correctness query per arm and compares the two through
|
||||
`fused_series_bench.py compare`. The full outputs are ~300 KB each and are not committed;
|
||||
this manifest lets a reviewer check that a copy of a result file is the one that was
|
||||
compared, and that a re-run reproduced the same rows.
|
||||
|
||||
| result | rows | sha256 |
|
||||
| --- | ---: | --- |
|
||||
| `cC-r1-F-C.json` | 480 | `2e3a67c0fed9a7e31bfd647b22f66757` |
|
||||
| `cC-r1-P-C.json` | 480 | `5f6cfc4199b46c1b3eec6e2c580f8386` |
|
||||
| `cC-r2-F-C.json` | 480 | `134bcfb9afb6fbdb5d01735089844170` |
|
||||
| `cC-r2-P-C.json` | 480 | `c76f856050fdbb5862472604d104f6bd` |
|
||||
| `cC-r3-F-C.json` | 480 | `1b407b45312a90769ea0c2adb3ab76f8` |
|
||||
| `cC-r3-P-C.json` | 480 | `033377262e330142c216cce943b4ee62` |
|
||||
| `cG-r1-F-G.json` | 28684 | `5e39fca12afa2d796c110d60a38a9d3d` |
|
||||
| `cG-r1-P-G.json` | 28684 | `539a879a71550d75fd38ebdce1b40ef3` |
|
||||
| `cG-r2-F-G.json` | 28684 | `bfecf5e7916bf160b5341ca526369d3e` |
|
||||
| `cG-r2-P-G.json` | 28684 | `a6a1ea94f0b2dbc8915b0a50a00fd368` |
|
||||
| `cG-r3-F-G.json` | 28684 | `5783c2e9cc1d23ffb9323027191d0c6c` |
|
||||
| `cG-r3-P-G.json` | 28684 | `aba82b62008b726acfd8e8628fe6b170` |
|
||||
| `cS-r1-F-S.json` | 7084 | `fcc7582541a0e049767aaa43afd276f5` |
|
||||
| `cS-r1-P-S.json` | 7084 | `3ce4cdb87ebf2c7b961c9049dc69de00` |
|
||||
| `cS-r2-F-S.json` | 7084 | `3a1aa7935413b59cd68e0755c5fff8e8` |
|
||||
| `cS-r2-P-S.json` | 7084 | `9a225a44c0fab05ca2d1f69e58aaba23` |
|
||||
| `cS-r3-F-S.json` | 7084 | `33b0ae2445bb0546bd6da2251165523e` |
|
||||
| `cS-r3-P-S.json` | 7084 | `de67bad21519ec97213e27de1e871c4a` |
|
||||
| `cW-r1-F-W.json` | 28684 | `9ed83acf4d01f61f390759fb880b2233` |
|
||||
| `cW-r1-P-W.json` | 28684 | `6eb9840a957b20ebcacc84afc0f84ccc` |
|
||||
| `cW-r2-F-W.json` | 28684 | `f46ceeb5b48b77bfbc2b7e7b3a4d12aa` |
|
||||
| `cW-r2-P-W.json` | 28684 | `14b572d192c5492d927ed77b60a878fe` |
|
||||
| `cW-r3-F-W.json` | 28684 | `b8bcdc42f2f6d7ee0a01571bf2c1e17e` |
|
||||
| `cW-r3-P-W.json` | 28684 | `bab7e9bbefa50af6de454c3e65eca978` |
|
||||
| `ccontrol-r1-F-control.json` | 28744 | `234d6223d05953602d954fd2b1ebad45` |
|
||||
| `ccontrol-r1-P-control.json` | 28744 | `3cb293cebe7e65bde0996f41859b79bd` |
|
||||
| `ccontrol-r2-F-control.json` | 28744 | `234d6223d05953602d954fd2b1ebad45` |
|
||||
| `ccontrol-r2-P-control.json` | 28744 | `3cb293cebe7e65bde0996f41859b79bd` |
|
||||
| `ccontrol-r3-F-control.json` | 28744 | `234d6223d05953602d954fd2b1ebad45` |
|
||||
| `ccontrol-r3-P-control.json` | 28744 | `3cb293cebe7e65bde0996f41859b79bd` |
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 25.213264860212803,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 25.651825591921806,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 34.117817878723145,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 23.301810026168823,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 25.0559588894248,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 24.777507409453392,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19343,
|
||||
"ms": 23.013059981167316,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19351,
|
||||
"ms": 25.86341369897127,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 23.44746235758066,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 25.25241393595934,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 25.565527379512787,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 28.167412616312504,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 22.95229211449623,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 31.515815295279026,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 26.48214064538479,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19339,
|
||||
"ms": 23.460039868950844,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 24.304809980094433,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19343,
|
||||
"ms": 29.48122937232256,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 22.86756969988346,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 25.105370208621025,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 24.257625453174114,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 22.775459103286266,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 24.65964201837778,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 27.354287914931774,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 25.5119651556015,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19356,
|
||||
"ms": 26.766860857605934,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19350,
|
||||
"ms": 22.79987372457981,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 22.205321118235588,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 26.75304003059864,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 23.955105803906918,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 28.044437989592552,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 23.095576092600822,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 26.87830664217472,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 23.028861731290817,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 22.24517986178398,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.69873046875,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 26.69742237776518,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 38.57331443578005,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 30.59998620301485,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19397,
|
||||
"ms": 33.83894171565771,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 30.195536091923714,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 35.6316901743412,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19339,
|
||||
"ms": 29.59019783884287,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 28.98471336811781,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19339,
|
||||
"ms": 32.21205435693264,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 31.33503720164299,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 26.059885509312153,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 25.38895048201084,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19378,
|
||||
"ms": 25.79179685562849,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 23.389694280922413,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19343,
|
||||
"ms": 23.0255164206028,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19339,
|
||||
"ms": 28.238794766366482,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19374,
|
||||
"ms": 27.15698815882206,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19343,
|
||||
"ms": 25.026370771229267,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 26.946150697767735,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144385,
|
||||
"ms": 47.3100021481514,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144549,
|
||||
"ms": 49.1708405315876,
|
||||
"cpu_ms": 199.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144507,
|
||||
"ms": 56.879349052906036,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144538,
|
||||
"ms": 50.81386771053076,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144457,
|
||||
"ms": 48.61922189593315,
|
||||
"cpu_ms": 219.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144612,
|
||||
"ms": 50.79280398786068,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144493,
|
||||
"ms": 50.475314259529114,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144493,
|
||||
"ms": 57.07317404448986,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144475,
|
||||
"ms": 55.83707336336374,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144390,
|
||||
"ms": 56.964424438774586,
|
||||
"cpu_ms": 300.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144375,
|
||||
"ms": 53.63200232386589,
|
||||
"cpu_ms": 279.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144494,
|
||||
"ms": 61.4687679335475,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144583,
|
||||
"ms": 55.450089275836945,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144422,
|
||||
"ms": 58.69575869292021,
|
||||
"cpu_ms": 270.0,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144392,
|
||||
"ms": 54.37481217086315,
|
||||
"cpu_ms": 260.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144373,
|
||||
"ms": 61.20819691568613,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144285,
|
||||
"ms": 55.87086733430624,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144497,
|
||||
"ms": 53.14426589757204,
|
||||
"cpu_ms": 280.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144478,
|
||||
"ms": 52.67334636300802,
|
||||
"cpu_ms": 219.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144485,
|
||||
"ms": 50.39755441248417,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144619,
|
||||
"ms": 55.470251478254795,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144433,
|
||||
"ms": 55.71758188307285,
|
||||
"cpu_ms": 219.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144228,
|
||||
"ms": 59.706130996346474,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144552,
|
||||
"ms": 48.23880456387997,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144264,
|
||||
"ms": 52.17843223363161,
|
||||
"cpu_ms": 199.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144759,
|
||||
"ms": 47.894272953271866,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144273,
|
||||
"ms": 56.143321096897125,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144447,
|
||||
"ms": 51.95918492972851,
|
||||
"cpu_ms": 300.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144746,
|
||||
"ms": 59.79001056402922,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144525,
|
||||
"ms": 57.948943227529526,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144313,
|
||||
"ms": 58.105193078517914,
|
||||
"cpu_ms": 289.9999999999996,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144622,
|
||||
"ms": 52.42523644119501,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144484,
|
||||
"ms": 56.623888202011585,
|
||||
"cpu_ms": 300.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144410,
|
||||
"ms": 59.40980836749077,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144569,
|
||||
"ms": 59.324455447494984,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144503,
|
||||
"ms": 57.974930852651596,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144494,
|
||||
"ms": 57.67063144594431,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144406,
|
||||
"ms": 57.4399633333087,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144496,
|
||||
"ms": 66.9498909264803,
|
||||
"cpu_ms": 199.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144262,
|
||||
"ms": 58.540442027151585,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144435,
|
||||
"ms": 62.10463494062424,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144418,
|
||||
"ms": 61.4264877513051,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144362,
|
||||
"ms": 60.95149554312229,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144550,
|
||||
"ms": 51.144978031516075,
|
||||
"cpu_ms": 219.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144249,
|
||||
"ms": 55.537146516144276,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144436,
|
||||
"ms": 60.57018134742975,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144506,
|
||||
"ms": 55.87535258382559,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.5625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144399,
|
||||
"ms": 58.2234300673008,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144428,
|
||||
"ms": 59.585679322481155,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144249,
|
||||
"ms": 50.12743920087814,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144391,
|
||||
"ms": 54.33104746043682,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144434,
|
||||
"ms": 62.31171917170286,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144718,
|
||||
"ms": 67.61879287660122,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144715,
|
||||
"ms": 54.38884627074003,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280586,
|
||||
"ms": 21.028805524110794,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280791,
|
||||
"ms": 18.61607190221548,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280884,
|
||||
"ms": 19.155045971274376,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280825,
|
||||
"ms": 18.661532551050186,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280529,
|
||||
"ms": 18.53469107300043,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280861,
|
||||
"ms": 23.199809715151787,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280658,
|
||||
"ms": 20.156795158982277,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280738,
|
||||
"ms": 18.81638541817665,
|
||||
"cpu_ms": 70.00000000000028,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280834,
|
||||
"ms": 20.117664709687233,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280609,
|
||||
"ms": 20.38107719272375,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280672,
|
||||
"ms": 22.027000784873962,
|
||||
"cpu_ms": 99.99999999999987,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280724,
|
||||
"ms": 18.951439298689365,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280869,
|
||||
"ms": 19.05177440494299,
|
||||
"cpu_ms": 99.99999999999987,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280825,
|
||||
"ms": 19.900819286704063,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280499,
|
||||
"ms": 18.517359159886837,
|
||||
"cpu_ms": 99.99999999999987,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280644,
|
||||
"ms": 22.42324873805046,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280750,
|
||||
"ms": 25.281144306063652,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.197265625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280749,
|
||||
"ms": 20.27813158929348,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280719,
|
||||
"ms": 19.13181133568287,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280761,
|
||||
"ms": 22.540620528161526,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280612,
|
||||
"ms": 17.70713273435831,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280508,
|
||||
"ms": 17.367679625749588,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280470,
|
||||
"ms": 21.115663461387157,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280826,
|
||||
"ms": 18.19426938891411,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280620,
|
||||
"ms": 20.808127708733082,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280453,
|
||||
"ms": 17.67825335264206,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280841,
|
||||
"ms": 17.571641132235527,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280996,
|
||||
"ms": 21.173758432269096,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280671,
|
||||
"ms": 24.142088368535042,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280522,
|
||||
"ms": 21.828080527484417,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280556,
|
||||
"ms": 22.39385899156332,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280452,
|
||||
"ms": 22.640145383775234,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280593,
|
||||
"ms": 21.854715421795845,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280277,
|
||||
"ms": 24.75472167134285,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280554,
|
||||
"ms": 23.502173833549023,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280604,
|
||||
"ms": 20.178964361548424,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280756,
|
||||
"ms": 17.409472726285458,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280753,
|
||||
"ms": 19.469713792204857,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280487,
|
||||
"ms": 21.431123837828636,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280614,
|
||||
"ms": 17.627318389713764,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280607,
|
||||
"ms": 20.448481664061546,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280893,
|
||||
"ms": 20.072590559720993,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280661,
|
||||
"ms": 19.8045140132308,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280829,
|
||||
"ms": 17.947948537766933,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.69873046875,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280833,
|
||||
"ms": 18.3064304292202,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280800,
|
||||
"ms": 19.669066183269024,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280679,
|
||||
"ms": 19.997205585241318,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280604,
|
||||
"ms": 19.06636729836464,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280564,
|
||||
"ms": 21.22289501130581,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280665,
|
||||
"ms": 19.618744030594826,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280678,
|
||||
"ms": 19.058136269450188,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280770,
|
||||
"ms": 24.253297597169876,
|
||||
"cpu_ms": 100.00000000000009,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280604,
|
||||
"ms": 20.835058763623238,
|
||||
"cpu_ms": 90.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 7.02099609375,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280451,
|
||||
"ms": 19.87347099930048,
|
||||
"cpu_ms": 79.99999999999963,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944479,
|
||||
"ms": 55.355739779770374,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943576,
|
||||
"ms": 47.39252384752035,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944683,
|
||||
"ms": 57.96840786933899,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944559,
|
||||
"ms": 47.50741086900234,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943523,
|
||||
"ms": 55.73985259979963,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944216,
|
||||
"ms": 48.856534995138645,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943992,
|
||||
"ms": 60.50485651940107,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945194,
|
||||
"ms": 50.53405649960041,
|
||||
"cpu_ms": 200.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943598,
|
||||
"ms": 48.82997553795576,
|
||||
"cpu_ms": 209.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944556,
|
||||
"ms": 52.722458727657795,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944782,
|
||||
"ms": 62.94719967991114,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944750,
|
||||
"ms": 66.6577909141779,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944868,
|
||||
"ms": 58.43906570225954,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943705,
|
||||
"ms": 51.29659082740545,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945050,
|
||||
"ms": 53.44101693481207,
|
||||
"cpu_ms": 310.0000000000005,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944561,
|
||||
"ms": 69.28686331957579,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944439,
|
||||
"ms": 52.968233823776245,
|
||||
"cpu_ms": 309.9999999999996,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.35693359375,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944892,
|
||||
"ms": 51.356506533920765,
|
||||
"cpu_ms": 310.0000000000005,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944032,
|
||||
"ms": 54.89862058311701,
|
||||
"cpu_ms": 240.0,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944471,
|
||||
"ms": 56.266204454004765,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944727,
|
||||
"ms": 57.158482261002064,
|
||||
"cpu_ms": 199.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943586,
|
||||
"ms": 57.87648446857929,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943778,
|
||||
"ms": 54.08270750194788,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944171,
|
||||
"ms": 58.71650483459234,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944112,
|
||||
"ms": 57.391660287976265,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944144,
|
||||
"ms": 51.30220763385296,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943588,
|
||||
"ms": 54.24348823726177,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944729,
|
||||
"ms": 55.1198348402977,
|
||||
"cpu_ms": 309.9999999999996,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944599,
|
||||
"ms": 59.273913502693176,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944721,
|
||||
"ms": 64.73379489034414,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943700,
|
||||
"ms": 54.31612394750118,
|
||||
"cpu_ms": 310.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944708,
|
||||
"ms": 60.38867961615324,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944869,
|
||||
"ms": 55.36884441971779,
|
||||
"cpu_ms": 300.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944780,
|
||||
"ms": 64.5588468760252,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944569,
|
||||
"ms": 58.86364635080099,
|
||||
"cpu_ms": 359.99999999999943,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 6.0078125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944184,
|
||||
"ms": 52.57697403430939,
|
||||
"cpu_ms": 290.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944557,
|
||||
"ms": 61.550572514534,
|
||||
"cpu_ms": 230.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944673,
|
||||
"ms": 52.06718575209379,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943483,
|
||||
"ms": 52.078026346862316,
|
||||
"cpu_ms": 219.99999999999974,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943789,
|
||||
"ms": 47.557453624904156,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944542,
|
||||
"ms": 49.10917114466429,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944924,
|
||||
"ms": 50.367618910968304,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944315,
|
||||
"ms": 55.0552923232317,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944658,
|
||||
"ms": 54.001995362341404,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944340,
|
||||
"ms": 49.21818524599075,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943626,
|
||||
"ms": 58.53595118969679,
|
||||
"cpu_ms": 299.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945447,
|
||||
"ms": 59.18226111680269,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943940,
|
||||
"ms": 64.97465446591377,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944616,
|
||||
"ms": 61.91328354179859,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945038,
|
||||
"ms": 66.78641214966774,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945389,
|
||||
"ms": 57.487133890390396,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943867,
|
||||
"ms": 62.69821897149086,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944304,
|
||||
"ms": 52.81450413167477,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 5.8466796875,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944899,
|
||||
"ms": 52.90668364614248,
|
||||
"cpu_ms": 289.99999999999915,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880332,
|
||||
"ms": 136.70995458960533,
|
||||
"cpu_ms": 430.00000000000017,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 71.58364169299603,
|
||||
"cpu_ms": 359.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 65.61670731753111,
|
||||
"cpu_ms": 390.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.017883121967316,
|
||||
"cpu_ms": 309.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 62.86195572465658,
|
||||
"cpu_ms": 340.00000000000074,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.56032779067755,
|
||||
"cpu_ms": 359.99999999999943,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.11543499678373,
|
||||
"cpu_ms": 360.00000000000034,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 65.31751062721014,
|
||||
"cpu_ms": 309.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.00440129637718,
|
||||
"cpu_ms": 310.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880332,
|
||||
"ms": 182.1105983108282,
|
||||
"cpu_ms": 600.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880332,
|
||||
"ms": 216.97835624217987,
|
||||
"cpu_ms": 600.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880332,
|
||||
"ms": 232.49637987464666,
|
||||
"cpu_ms": 580.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 85.24463884532452,
|
||||
"cpu_ms": 429.9999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 88.72171863913536,
|
||||
"cpu_ms": 500.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 54.21996023505926,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 65.2324166148901,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.373596630990505,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.40234375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 52.97278892248869,
|
||||
"cpu_ms": 359.99999999999943,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 49.80997648090124,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.91040728986263,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.62019830197096,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 54.46644127368927,
|
||||
"cpu_ms": 370.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 58.11046343296766,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.071001544594765,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.68580762296915,
|
||||
"cpu_ms": 309.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 49.199541099369526,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.2099609375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 48.788088373839855,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.44165521860123,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.078395038843155,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.80859165638685,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.73794464766979,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.84142883121967,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 61.304871924221516,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.566284477710724,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.70672978460789,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 51.73144116997719,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-d42d14df06d",
|
||||
"commit": "d42d14df06d",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 52.116875536739826,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.55335306376219,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 64.96254913508892,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 51.79866123944521,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.85555266588926,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.101968951523304,
|
||||
"cpu_ms": 329.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 54.42441534250975,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.23189776390791,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.062023647129536,
|
||||
"cpu_ms": 439.9999999999995,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-611917eb0b1",
|
||||
"commit": "611917eb0b1",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 52.27683763951063,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 49.12302456796169,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.73759973049164,
|
||||
"cpu_ms": 319.99999999999983,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 49.83981978148222,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 48.8548306748271,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 48.19045681506395,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.744529373943806,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 48.32908418029547,
|
||||
"cpu_ms": 340.00000000000074,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 5.43359375,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 50.72315875440836,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
# Correctness results of run records-20261018T091334Z
|
||||
|
||||
This run is the ordinary plan against the fused path on one build (`a2d345cc76c`), which is
|
||||
section 4.7 of `docs/fused-series-report.md`. Each round runs one dedicated correctness query
|
||||
per arm and compares the two through `fused_series_bench.py compare`. The full outputs are
|
||||
~300 KB each and are not committed; this manifest lets a reviewer check that a copy of a
|
||||
result file is the one that was compared.
|
||||
|
||||
| result | rows | sha256 |
|
||||
| --- | ---: | --- |
|
||||
| `cC-r1-F-C.json` | 480 | `de62026055bb001d275e98f9548121d7` |
|
||||
| `cC-r1-P-C.json` | 480 | `2c615b3737e9635d2349ebd4350e1763` |
|
||||
| `cC-r2-F-C.json` | 480 | `6220720e9c5ec8bfc40e5e92395aa317` |
|
||||
| `cC-r2-P-C.json` | 480 | `901316f651c771701b7c17c23b2916ed` |
|
||||
| `cC-r3-F-C.json` | 480 | `c1a7179a0eb308b3cd84e169e0325e03` |
|
||||
| `cC-r3-P-C.json` | 480 | `c07b5a16dd90671f798f93e6c2d93fcd` |
|
||||
| `cG-r1-F-G.json` | 28684 | `05a9fad60d83b6b3d3fcb580a21ba99d` |
|
||||
| `cG-r1-P-G.json` | 28684 | `02332b63609752147f763a6b0cc05beb` |
|
||||
| `cG-r2-F-G.json` | 28684 | `f70622032cfe46b2c7cc5f548a267e63` |
|
||||
| `cG-r2-P-G.json` | 28684 | `c553f0aae1a14fd0f3cd590e9c781699` |
|
||||
| `cG-r3-F-G.json` | 28684 | `b75eddb463600b4b676df687db55d352` |
|
||||
| `cG-r3-P-G.json` | 28684 | `1144d8b906366f5cbf3f91120c7d5333` |
|
||||
| `cS-r1-F-S.json` | 7084 | `cdd269fd5c8e5af93db542e82e3bf3be` |
|
||||
| `cS-r1-P-S.json` | 7084 | `fd174661638bf2769087ff05adbf53b3` |
|
||||
| `cS-r2-F-S.json` | 7084 | `74a1f6bb17081c7432848734dfbdb3dc` |
|
||||
| `cS-r2-P-S.json` | 7084 | `8d21272236e6410ae101ec5be782228e` |
|
||||
| `cS-r3-F-S.json` | 7084 | `e9232a0f72fdc5e34bfe24277752f1bd` |
|
||||
| `cS-r3-P-S.json` | 7084 | `472d1ec7840c140699802368a7921876` |
|
||||
| `cW-r1-F-W.json` | 28684 | `e0e025e02fa90b6406101bcef2bb8f48` |
|
||||
| `cW-r1-P-W.json` | 28684 | `ef5210ca2d4677a647c17a4320f30a77` |
|
||||
| `cW-r2-F-W.json` | 28684 | `2898935507092729f84e98d3d4049426` |
|
||||
| `cW-r2-P-W.json` | 28684 | `e2484adec35dfef6822132c2f6122a50` |
|
||||
| `cW-r3-F-W.json` | 28684 | `36f4128b751cf64641f620e2d8cc8ac1` |
|
||||
| `cW-r3-P-W.json` | 28684 | `7055cce0ad51b5bfb597f550e174c722` |
|
||||
| `ccontrol-r1-F-control.json` | 28744 | `858fbbad99a1e774716c14d0ddf02189` |
|
||||
| `ccontrol-r1-P-control.json` | 28744 | `41ab1014fd3df01fceed4952f731ac8c` |
|
||||
| `ccontrol-r2-F-control.json` | 28744 | `858fbbad99a1e774716c14d0ddf02189` |
|
||||
| `ccontrol-r2-P-control.json` | 28744 | `41ab1014fd3df01fceed4952f731ac8c` |
|
||||
| `ccontrol-r3-F-control.json` | 28744 | `858fbbad99a1e774716c14d0ddf02189` |
|
||||
| `ccontrol-r3-P-control.json` | 28744 | `41ab1014fd3df01fceed4952f731ac8c` |
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 32.883038744330406,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19374,
|
||||
"ms": 24.731667712330818,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 30.441761016845703,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 25.3054890781641,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 25.84013342857361,
|
||||
"cpu_ms": 39.999999999999815,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 26.998681016266346,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19385,
|
||||
"ms": 29.258158057928085,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 24.964372627437115,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 27.45166141539812,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 25.08361078798771,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 26.53089538216591,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 28.944402001798153,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 25.42590070515871,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 25.78242775052786,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 33.632099628448486,
|
||||
"cpu_ms": 99.99999999999987,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 31.39201831072569,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 29.958799481391907,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 26.58507414162159,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 24.99382756650448,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19343,
|
||||
"ms": 26.949885301291943,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19374,
|
||||
"ms": 24.656325578689575,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 23.496794514358044,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 26.118340902030468,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 23.659266531467438,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 28.456748463213444,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 25.61695035547018,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 26.12437028437853,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19365,
|
||||
"ms": 25.707743130624294,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 25.54612886160612,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19330,
|
||||
"ms": 25.16051009297371,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 30.53325042128563,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19374,
|
||||
"ms": 26.279271580278873,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 23.419919423758984,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 26.54553297907114,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 29.958248138427734,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 21.068359375,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 35.77080089598894,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19354,
|
||||
"ms": 28.14378682523966,
|
||||
"cpu_ms": 49.99999999999982,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 26.65029000490904,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19389,
|
||||
"ms": 24.050453677773476,
|
||||
"cpu_ms": 40.000000000000036,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19376,
|
||||
"ms": 28.360120952129364,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 31.29972331225872,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 29.80632148683071,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 33.86921063065529,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19378,
|
||||
"ms": 24.197548627853394,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19319,
|
||||
"ms": 26.45513042807579,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19363,
|
||||
"ms": 26.05361957103014,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 24.661114439368248,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19319,
|
||||
"ms": 25.86406748741865,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 30.675305984914303,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19374,
|
||||
"ms": 35.35852115601301,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 32.016570679843426,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19341,
|
||||
"ms": 25.527737103402615,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19352,
|
||||
"ms": 30.858147889375687,
|
||||
"cpu_ms": 90.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1m",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1m') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 480,
|
||||
"bytes": 19356,
|
||||
"ms": 27.244712226092815,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "C",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144624,
|
||||
"ms": 50.387270748615265,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144675,
|
||||
"ms": 56.283229030668736,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144300,
|
||||
"ms": 62.11747135967016,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144604,
|
||||
"ms": 49.469989724457264,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144396,
|
||||
"ms": 53.07879764586687,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144561,
|
||||
"ms": 46.02907970547676,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144503,
|
||||
"ms": 54.3173011392355,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144457,
|
||||
"ms": 54.323998279869556,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144508,
|
||||
"ms": 43.387274257838726,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144497,
|
||||
"ms": 55.69081008434296,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144472,
|
||||
"ms": 56.12724646925926,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144292,
|
||||
"ms": 55.521571077406406,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144607,
|
||||
"ms": 49.89544488489628,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144216,
|
||||
"ms": 52.280593663454056,
|
||||
"cpu_ms": 219.99999999999974,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144621,
|
||||
"ms": 54.17931731790304,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144530,
|
||||
"ms": 59.789503924548626,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144374,
|
||||
"ms": 57.291293516755104,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144383,
|
||||
"ms": 49.765256233513355,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144433,
|
||||
"ms": 50.64192973077297,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144056,
|
||||
"ms": 52.66670696437359,
|
||||
"cpu_ms": 170.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144333,
|
||||
"ms": 55.15710636973381,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144755,
|
||||
"ms": 51.25005356967449,
|
||||
"cpu_ms": 160.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144485,
|
||||
"ms": 45.63310835510492,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144496,
|
||||
"ms": 50.78285466879606,
|
||||
"cpu_ms": 160.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144487,
|
||||
"ms": 52.90764942765236,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144409,
|
||||
"ms": 49.42202661186457,
|
||||
"cpu_ms": 159.9999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144500,
|
||||
"ms": 50.02416670322418,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144381,
|
||||
"ms": 52.904569543898106,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144489,
|
||||
"ms": 60.988266952335835,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144175,
|
||||
"ms": 66.4669182151556,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144622,
|
||||
"ms": 52.67750471830368,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144410,
|
||||
"ms": 52.06599272787571,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144509,
|
||||
"ms": 52.62173991650343,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144386,
|
||||
"ms": 53.71948052197695,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144492,
|
||||
"ms": 51.60469189286232,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144502,
|
||||
"ms": 52.200003527104855,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144474,
|
||||
"ms": 52.75724455714226,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144447,
|
||||
"ms": 47.97047935426235,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144503,
|
||||
"ms": 53.52259986102581,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144478,
|
||||
"ms": 51.113865338265896,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144524,
|
||||
"ms": 47.7533545345068,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144439,
|
||||
"ms": 46.46163433790207,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144548,
|
||||
"ms": 54.24353573471308,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144473,
|
||||
"ms": 46.70331161469221,
|
||||
"cpu_ms": 160.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144573,
|
||||
"ms": 52.26321890950203,
|
||||
"cpu_ms": 160.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 27.4462890625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144413,
|
||||
"ms": 52.61557828634977,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144593,
|
||||
"ms": 54.590946063399315,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144292,
|
||||
"ms": 61.268649995326996,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144339,
|
||||
"ms": 52.02190764248371,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144209,
|
||||
"ms": 48.65864384919405,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144383,
|
||||
"ms": 48.64122252911329,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144343,
|
||||
"ms": 57.10360500961542,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144614,
|
||||
"ms": 49.243273213505745,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 1144217,
|
||||
"ms": 50.41741207242012,
|
||||
"cpu_ms": 260.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "G",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280571,
|
||||
"ms": 19.468477927148342,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280421,
|
||||
"ms": 20.930477418005466,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280546,
|
||||
"ms": 21.88012283295393,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280719,
|
||||
"ms": 18.187139183282852,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280609,
|
||||
"ms": 27.33211126178503,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280913,
|
||||
"ms": 27.130743488669395,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280746,
|
||||
"ms": 26.665334589779377,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280903,
|
||||
"ms": 18.664076924324036,
|
||||
"cpu_ms": 70.00000000000028,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280455,
|
||||
"ms": 20.999068394303322,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280555,
|
||||
"ms": 26.248241774737835,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280506,
|
||||
"ms": 24.098469875752926,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280624,
|
||||
"ms": 24.722788482904434,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280519,
|
||||
"ms": 27.531718835234642,
|
||||
"cpu_ms": 99.99999999999987,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280909,
|
||||
"ms": 21.940181963145733,
|
||||
"cpu_ms": 70.00000000000028,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280710,
|
||||
"ms": 20.488128066062927,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280862,
|
||||
"ms": 23.12304824590683,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280554,
|
||||
"ms": 20.238002762198448,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 33.19384765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280520,
|
||||
"ms": 22.613816894590855,
|
||||
"cpu_ms": 90.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280606,
|
||||
"ms": 19.96792759746313,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280577,
|
||||
"ms": 25.785408914089203,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280367,
|
||||
"ms": 23.178107105195522,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280498,
|
||||
"ms": 26.6486257314682,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280729,
|
||||
"ms": 20.861913450062275,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280796,
|
||||
"ms": 21.87072206288576,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280759,
|
||||
"ms": 22.473149932920933,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280698,
|
||||
"ms": 27.875130996108055,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280851,
|
||||
"ms": 26.583503000438213,
|
||||
"cpu_ms": 70.00000000000028,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280536,
|
||||
"ms": 24.58991203457117,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280388,
|
||||
"ms": 23.811490274965763,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280868,
|
||||
"ms": 24.84068926423788,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280515,
|
||||
"ms": 19.875727593898773,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280503,
|
||||
"ms": 21.28712087869644,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280575,
|
||||
"ms": 21.546216681599617,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280207,
|
||||
"ms": 30.12542426586151,
|
||||
"cpu_ms": 89.99999999999986,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280812,
|
||||
"ms": 25.67493636161089,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280509,
|
||||
"ms": 22.095464169979095,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280763,
|
||||
"ms": 17.77379959821701,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280814,
|
||||
"ms": 18.145419657230377,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280578,
|
||||
"ms": 18.295614048838615,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280648,
|
||||
"ms": 21.451727487146854,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280594,
|
||||
"ms": 18.312769010663033,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280483,
|
||||
"ms": 18.221184611320496,
|
||||
"cpu_ms": 50.00000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280618,
|
||||
"ms": 20.060897804796696,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280597,
|
||||
"ms": 19.01743747293949,
|
||||
"cpu_ms": 59.99999999999983,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 29.3134765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280861,
|
||||
"ms": 17.518803477287292,
|
||||
"cpu_ms": 60.00000000000006,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280699,
|
||||
"ms": 20.688400603830814,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280619,
|
||||
"ms": 21.435688249766827,
|
||||
"cpu_ms": 69.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280484,
|
||||
"ms": 21.100190468132496,
|
||||
"cpu_ms": 90.00000000000009,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280445,
|
||||
"ms": 20.524421706795692,
|
||||
"cpu_ms": 70.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280468,
|
||||
"ms": 18.8340088352561,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280464,
|
||||
"ms": 19.1467497497797,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280786,
|
||||
"ms": 21.522168070077896,
|
||||
"cpu_ms": 79.99999999999984,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280612,
|
||||
"ms": 25.42282920330763,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 31.25634765625,
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 30,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700001800, '1s') sum by (instance) (rate(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700001800,
|
||||
"rows": 7084,
|
||||
"bytes": 280550,
|
||||
"ms": 21.19339257478714,
|
||||
"cpu_ms": 80.00000000000007,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "S",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944691,
|
||||
"ms": 49.63790439069271,
|
||||
"cpu_ms": 179.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944740,
|
||||
"ms": 46.90909758210182,
|
||||
"cpu_ms": 170.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944741,
|
||||
"ms": 49.72126800566912,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944392,
|
||||
"ms": 48.587181605398655,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944320,
|
||||
"ms": 49.530794844031334,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943931,
|
||||
"ms": 44.64010149240494,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944756,
|
||||
"ms": 45.229459181427956,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945295,
|
||||
"ms": 50.314972177147865,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945491,
|
||||
"ms": 49.89971499890089,
|
||||
"cpu_ms": 160.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944696,
|
||||
"ms": 52.41747945547104,
|
||||
"cpu_ms": 230.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943811,
|
||||
"ms": 46.72098346054554,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944360,
|
||||
"ms": 54.70007658004761,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944516,
|
||||
"ms": 51.120479591190815,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945079,
|
||||
"ms": 47.12044168263674,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944535,
|
||||
"ms": 54.93519548326731,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944600,
|
||||
"ms": 60.3652847930789,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943786,
|
||||
"ms": 50.31431373208761,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 25.728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944288,
|
||||
"ms": 53.57115436345339,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945214,
|
||||
"ms": 51.865313202142715,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944362,
|
||||
"ms": 56.37290794402361,
|
||||
"cpu_ms": 170.00000000000014,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944196,
|
||||
"ms": 52.4644386023283,
|
||||
"cpu_ms": 159.9999999999997,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944195,
|
||||
"ms": 44.54646538943052,
|
||||
"cpu_ms": 170.00000000000037,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944688,
|
||||
"ms": 46.47900350391865,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944841,
|
||||
"ms": 53.29384282231331,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943927,
|
||||
"ms": 48.123959451913834,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944507,
|
||||
"ms": 44.926879927515984,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944173,
|
||||
"ms": 50.06382707506418,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944808,
|
||||
"ms": 58.21316875517368,
|
||||
"cpu_ms": 250.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944419,
|
||||
"ms": 55.5689400061965,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944038,
|
||||
"ms": 65.8151526004076,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944359,
|
||||
"ms": 54.1558088734746,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944311,
|
||||
"ms": 54.83407247811556,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944451,
|
||||
"ms": 52.91168577969074,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944312,
|
||||
"ms": 53.52764017879963,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944862,
|
||||
"ms": 50.14648661017418,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 23.98828125,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943811,
|
||||
"ms": 49.0456148982048,
|
||||
"cpu_ms": 230.00000000000043,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944422,
|
||||
"ms": 44.24334783107042,
|
||||
"cpu_ms": 179.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944457,
|
||||
"ms": 48.87927416712046,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944563,
|
||||
"ms": 50.669288262724876,
|
||||
"cpu_ms": 179.99999999999972,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943727,
|
||||
"ms": 48.224818892776966,
|
||||
"cpu_ms": 190.0000000000004,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944645,
|
||||
"ms": 48.998125828802586,
|
||||
"cpu_ms": 149.99999999999991,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944956,
|
||||
"ms": 45.901959761977196,
|
||||
"cpu_ms": 189.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944196,
|
||||
"ms": 48.36547188460827,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944745,
|
||||
"ms": 46.9331368803978,
|
||||
"cpu_ms": 169.99999999999994,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945214,
|
||||
"ms": 48.02312143146992,
|
||||
"cpu_ms": 180.00000000000017,
|
||||
"hits": 1,
|
||||
"expected_hits": 1
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 1,
|
||||
"correctness": 1,
|
||||
"warmup": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"timed": [
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943629,
|
||||
"ms": 60.79342868179083,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 945274,
|
||||
"ms": 53.76746412366629,
|
||||
"cpu_ms": 240.00000000000023,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944174,
|
||||
"ms": 56.83827865868807,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 943676,
|
||||
"ms": 55.28651084750891,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944604,
|
||||
"ms": 54.08146884292364,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944618,
|
||||
"ms": 48.64914529025555,
|
||||
"cpu_ms": 239.99999999999977,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944378,
|
||||
"ms": 56.12250044941902,
|
||||
"cpu_ms": 250.0,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944597,
|
||||
"ms": 53.00666764378548,
|
||||
"cpu_ms": 220.0000000000002,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 22.46728515625,
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 3600,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (rate(vmbench[1h]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28684,
|
||||
"bytes": 944863,
|
||||
"ms": 51.436230540275574,
|
||||
"cpu_ms": 229.99999999999997,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "W",
|
||||
"fuses": true,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.87323135882616,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.28083322942257,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 66.33635982871056,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 51.720879040658474,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.86428474634886,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.53736274689436,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.877663522958755,
|
||||
"cpu_ms": 340.00000000000074,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.74481934309006,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 53.465443663299084,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.18816986680031,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.326646849513054,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.35661927610636,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 68.49821750074625,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.80231147259474,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.25586397945881,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 63.756998628377914,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 51.91658902913332,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 19.78125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.33821710944176,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 61.77694443613291,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.11887946724892,
|
||||
"cpu_ms": 320.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 65.59274438768625,
|
||||
"cpu_ms": 329.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.048956863582134,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 62.77154013514519,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.76666072010994,
|
||||
"cpu_ms": 370.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 63.064077869057655,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.295543909072876,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.920827366411686,
|
||||
"cpu_ms": 340.00000000000074,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.09645278006792,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.46846613287926,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 64.59574028849602,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 68.34844220429659,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 61.05219665914774,
|
||||
"cpu_ms": 359.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.13302253186703,
|
||||
"cpu_ms": 340.0000000000003,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.198902919888496,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 61.042855493724346,
|
||||
"cpu_ms": 330.00000000000006,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 18.59716796875,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 63.059575855731964,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "on",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-on",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 57.7364806085825,
|
||||
"cpu_ms": 360.00000000000034,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 63.519890420138836,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 71.67875859886408,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.01603165268898,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.05665550380945,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 58.84143523871899,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 61.575526371598244,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 56.61505740135908,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 65.17142243683338,
|
||||
"cpu_ms": 360.00000000000034,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"arm": "off",
|
||||
"bin": "/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin/greptime-a2d345cc76c",
|
||||
"commit": "a2d345cc76c-off",
|
||||
"build_profile": "nightly",
|
||||
"data_home": "/home/discord9/.cache/fused-scale/data-seed",
|
||||
"fixture": {
|
||||
"table": "vmbench",
|
||||
"tags": [
|
||||
"host",
|
||||
"instance",
|
||||
"job",
|
||||
"l1"
|
||||
],
|
||||
"series": 400,
|
||||
"samples_per_series": 2880,
|
||||
"sample_interval_seconds": 15,
|
||||
"rows": 1152000,
|
||||
"start_ms": 1700000000000,
|
||||
"first_sample_ms": 1700000015000,
|
||||
"last_sample_ms": 1700043200000,
|
||||
"query_start_s": 1700000000,
|
||||
"observed_rows": 1152000,
|
||||
"first_ts_ms": 1700000015000,
|
||||
"last_ts_ms": 1700043200000,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0
|
||||
},
|
||||
"warmup": 2,
|
||||
"iterations": 9,
|
||||
"cases": [
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 55.91247323900461,
|
||||
"cpu_ms": 359.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 63.41872364282608,
|
||||
"cpu_ms": 350.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 64.7820383310318,
|
||||
"cpu_ms": 370.0000000000001,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 58.7764261290431,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 62.983750365674496,
|
||||
"cpu_ms": 329.9999999999996,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.3794547021389,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 58.45473613590002,
|
||||
"cpu_ms": 339.9999999999999,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 58.99080354720354,
|
||||
"cpu_ms": 349.99999999999966,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
},
|
||||
{
|
||||
"load1": 17.66845703125,
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"step": "1s",
|
||||
"span_minutes": 120,
|
||||
"window_seconds": 300,
|
||||
"tql": "TQL EVAL (1700000000, 1700007200, '1s') sum by (instance) (max_over_time(vmbench[5m]))",
|
||||
"query_start_s": 1700000000,
|
||||
"query_end_s": 1700007200,
|
||||
"rows": 28744,
|
||||
"bytes": 880331,
|
||||
"ms": 59.48711931705475,
|
||||
"cpu_ms": 350.0000000000005,
|
||||
"hits": 0,
|
||||
"expected_hits": 0
|
||||
}
|
||||
],
|
||||
"hits": [
|
||||
{
|
||||
"name": "control",
|
||||
"fuses": false,
|
||||
"expected": 0,
|
||||
"correctness": 0,
|
||||
"warmup": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"timed": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
# Fused-series benchmark artifacts
|
||||
|
||||
These files are the measurement harness and the raw records behind
|
||||
`FusedSeriesExec`. They are kept on this branch, **not** in the pull requests
|
||||
that add the code they measure: a PR should carry the change and its regression
|
||||
tests, and the harness would double its review surface without testing anything
|
||||
the unit tests do not already cover.
|
||||
|
||||
Contents:
|
||||
|
||||
| Path | What it is |
|
||||
|---|---|
|
||||
| `scripts/fused_series_bench.py` | Driver: runs one arm of a comparison and writes a JSON record. |
|
||||
| `scripts/fused_series_bench_crossed.sh` | Crossed-window matrix (window width x grid) driver. |
|
||||
| `scripts/fused_series_bench_pair.sh` | A/B driver: ordinary plan vs fused node on the same fixture. |
|
||||
| `scripts/fused_series_bench_summarize.py` | Summarizes one or more JSON records into ratios. |
|
||||
| `scripts/fused_series_bench_pair_summarize.py` | Summarizes paired A/B records. |
|
||||
| `docs/bench-records/<timestamp>Z/` | Raw JSON records plus the `RESULTS.md` each run produced. |
|
||||
| `docs/fused-series-report.md` | What was built, what was measured, and what the measurements do **not** show. |
|
||||
| `src/promql/benches/bench_range_fn.rs` | Criterion bench for the range evaluator kernels. Compiles against the current `narthex` API. |
|
||||
|
||||
To reproduce a pair, build the two arms, then run
|
||||
`scripts/fused_series_bench_pair.sh` and summarize with
|
||||
`scripts/fused_series_bench_pair_summarize.py`. The report explains which
|
||||
scenarios (`cC`, `cG`, `cS`, `cW`, `ccontrol`) mean what.
|
||||
|
||||
The report is deliberately pessimistic about the results. Read its "what the
|
||||
measurements do not show" section before quoting any number from it.
|
||||
@@ -0,0 +1,966 @@
|
||||
# FusedSeriesExec: implementation report and measured performance
|
||||
|
||||
Status of the `feat/narthex-integrated-chain` branch after removing the
|
||||
per-grid-point counter-reset rescan from the native range evaluator. This
|
||||
document records what was built, what was measured, and — importantly — what the
|
||||
measurements do **not** show.
|
||||
|
||||
**Headline: the algorithm regression is gone, but that has not made the fused
|
||||
path faster than the ordinary plan. `rate`/`increase` evaluation no longer
|
||||
depends on the window width — a 1 h window costs the same as a 5 min one (1.003x,
|
||||
where the previous code paid 3.38x) — and at the compute level `rate[1h]` is
|
||||
4.24x faster. End to end that removed the wide-window regression (0.43x → 0.90x)
|
||||
and leaves the fused path 0.88x-0.93x at fine steps with narrow windows, with
|
||||
`max_over_time` as a 1% noise floor. The remaining gap is not the reset index and
|
||||
is not the raw series scan, as an earlier revision of this report claimed: on
|
||||
identical input the fused evaluator costs 2.83x the ordinary plan's range-function
|
||||
work, which accounts for the whole end-to-end CPU gap. Splitting that ratio in a
|
||||
single session puts the kernel at 0.89x the ordinary plan and the per-point
|
||||
bookkeeping at 1.95x: the regression is entirely the bookkeeping that comes from
|
||||
calling a scalar kernel once per grid point, where the ordinary plan assembles
|
||||
every window in one columnar pass and vectorizes the kernel over the batch.
|
||||
See sections 4.4 and 4.5. `experimental_native_promql` stays off.**
|
||||
|
||||
**This round takes that bookkeeping apart for `rate` and `increase`.** Those two
|
||||
functions now take a batch of windows per call, with the function chosen outside the
|
||||
loop, the window edges advanced as monotone cursors instead of searched per point, and
|
||||
the results appended a column at a time. Against the previous commit the fused query's CPU
|
||||
drops to 0.778 / 0.700 / 0.688 on `S` / `G` / `W` and stays at 1.000 on the coarse-step `C`,
|
||||
which has few grid points and so has nothing to amortize; all 15 paired rounds returned
|
||||
identical results and both arms logged the expected fused selections (section 4.6). Wall
|
||||
clock moves 4-8% where CPU moves 22-31%; those measure different things and section 4.6 says
|
||||
what each supports. Every other range function still runs one boxed call per grid point and
|
||||
gained nothing.
|
||||
|
||||
**And that closes the gap with the ordinary plan.** On this build, one binary, flag off
|
||||
against flag on, the fused arm costs **0.750 / 0.708 / 0.783 / 0.625** of the ordinary plan's
|
||||
CPU on `S` / `G` / `W` / `C`, with all 12 paired rounds below 1.00 and a never-fused control
|
||||
at 1.029 as the noise floor. Before this round it *cost* 8-14% more. Wall clock is 0.90-1.00,
|
||||
so this is a CPU result, not yet a latency one. See section 4.7.
|
||||
|
||||
Everything below was produced in this worktree on a 20-core machine with the
|
||||
`nightly` Cargo profile (`lto = "thin"`, `strip = "debuginfo"`).
|
||||
|
||||
## 1. What was built
|
||||
|
||||
### 1.1 `FusedSeriesExec` — the node
|
||||
|
||||
`src/promql/src/extension_plan/fused_series.rs`
|
||||
|
||||
One physical node that chains **one** range evaluation and **0..N** `map_math`
|
||||
kernels over typed `Series` values, so those two stages never cross a
|
||||
`RecordBatch` boundary. It does not re-implement any arithmetic:
|
||||
|
||||
| Stage | Reused from | Owner |
|
||||
| --- | --- | --- |
|
||||
| range function (`rate`, `increase`, `delta`, …) | `RangeEvaluator` | #9673 / #9674 (merged) |
|
||||
| float map kernels (`abs`, `sqrt`, `ceil`, `floor`, `round`) | `map_math` / `MathOp` | #9672 |
|
||||
| primary-key label decoding | `materialize_raw_labels` | #9650 |
|
||||
|
||||
What this node adds on top of those is:
|
||||
|
||||
- `series_to_record_batch`: converting an evaluated `Series` straight into an
|
||||
output `RecordBatch` (this was the real gap — nothing in the tree did it).
|
||||
- Prometheus' range-query duplicate-label-set rule: `rate` and the map kernels
|
||||
drop `__name__`, so two distinct raw series can reach the same final label
|
||||
set. Overlapping grid points are an error; disjoint ones stay legal and are
|
||||
emitted as separate rows rather than being merged or dropped.
|
||||
- Row semantics identical to the ordinary plan: a grid point where every value
|
||||
column is NULL contributes no row, matching the `<value> IS NOT NULL` filter
|
||||
the ordinary plan always places above its projection.
|
||||
- Output coalescing to `MAX_ROWS_PER_BATCH = 4_096` rows per batch per stream
|
||||
(`src/promql/src/extension_plan/fused_series.rs`), so a query over *n* series
|
||||
does not hand downstream *n* tiny batches.
|
||||
|
||||
Construction-time rejections (never a silent fallback): zero partitions, an
|
||||
evaluation-grid input schema, `Interleaved` ordering, an illegal window or
|
||||
function, an illegal frame schema, an illegal output schema.
|
||||
|
||||
### 1.2 Planner wiring — deliberate throwaway
|
||||
|
||||
`src/query/src/datafusion/native_promql/fused.rs`
|
||||
|
||||
> **Read this before extending it.** The current PromQL planner (PromQL AST →
|
||||
> DataFusion `LogicalPlan` → physical plan) is temporary. The intended direction
|
||||
> is to hand PromQL down directly, without DataFusion as an intermediate
|
||||
> representation. When that lands, this whole module is deleted.
|
||||
|
||||
So the matcher is intentionally minimal: it locates the single
|
||||
`Projection → [Filter] → Projection → RangeManipulate` subtree anywhere in the
|
||||
plan (including under an `Aggregate`), identifies the corresponding physical
|
||||
node **by schema and content** rather than by a logical child-index path, and
|
||||
swaps it in place with `transform_up`. Any shape it cannot prove returns
|
||||
`Ok(None)` and the ordinary plan runs. The node and its output contract are what
|
||||
survive a planner replacement; the matcher is not.
|
||||
|
||||
It runs behind the existing `experimental_native_promql` flag
|
||||
(`src/query/src/datafusion.rs`), and logs
|
||||
`Fused series selection succeeded: <function> over <table>` at debug level when
|
||||
it takes effect, so an operator can tell a fused run from an ordinary one
|
||||
without reading plans.
|
||||
|
||||
### 1.3 The counter-reset index
|
||||
|
||||
`src/promql/src/range_eval.rs`, `src/promql/src/range_eval/function.rs`
|
||||
|
||||
**The defect.** `evaluate_row` hands the kernel the window as a slice pair — a
|
||||
shared backing array with an offset and a length, *not* a copy — and `rate` then
|
||||
walked that whole slice looking for drops:
|
||||
|
||||
```rust
|
||||
let len = timestamps.partition_point(|×tamp| timestamp <= window_end);
|
||||
kernel(FloatWindow { timestamps: ×tamps[..len], values: ..., .. })
|
||||
```
|
||||
|
||||
Sample *ingestion* was already linear (a `head` cursor advances), but kernel
|
||||
*evaluation* was `O(grid points x samples per window)`. On the measured fixture,
|
||||
`rate[1h]` at a 1 s step over 2 h visits 7 201 x 241 x 400 = 694 M samples.
|
||||
|
||||
**The fix.** Each field records the position of every sample that dropped below
|
||||
its predecessor, at ingest time, when the comparison is free — the new sample is
|
||||
already next to the previous one. A window then asks for the resets it contains
|
||||
by binary search over that per-field index, and the kernel adds back the same
|
||||
predecessors in the same order:
|
||||
|
||||
```rust
|
||||
result = counter_resets
|
||||
.iter()
|
||||
.fold(result, |result, reset| result + reset.previous_value);
|
||||
```
|
||||
|
||||
Properties that keep this safe rather than merely faster:
|
||||
|
||||
- **Same arithmetic, same order.** `last - first`, then each reset's preceding
|
||||
value in sample order, then the unchanged extrapolation. No prefix sums, no
|
||||
subtraction of partial sums.
|
||||
- **Positions are absolute sequence numbers** (`base + index`), so dropping the
|
||||
samples behind the next window renumbers nothing and a reset keeps its
|
||||
position across chunk boundaries and drains.
|
||||
- **Left-open window membership.** A reset at position `j` counts exactly when
|
||||
`L < j < R`, so a reset whose predecessor sits on the window's left edge — the
|
||||
sample the window excludes — does not count.
|
||||
- **The index is released with the samples.** A reset is dropped together with
|
||||
the predecessor it reads, so the index cannot retain history no window can
|
||||
reach.
|
||||
- **Per field, per series.** `WindowKernel` is shared across fields, so the index
|
||||
lives on `FieldSamples`, never in the kernel closure; `finish_series` clears it
|
||||
with the rest of the series' state.
|
||||
- **Only `rate` and `increase` maintain it** (`RangeFunction::indexes_counter_resets`).
|
||||
Every other function reads an empty slice, so a function that never corrects
|
||||
counters pays nothing for the machinery: `max_over_time` measures within 0.4%
|
||||
of the previous code (section 4.2).
|
||||
|
||||
**This is not strict `O(1)` per window.** A window that contains resets still
|
||||
walks them in order; the improvement is that it no longer walks the samples that
|
||||
do *not* reset, which on real counters is the overwhelming majority.
|
||||
|
||||
### 1.4 The batch path — windows, kernel and output
|
||||
|
||||
`src/promql/src/range_eval.rs`, `src/promql/src/range_eval/function.rs`,
|
||||
`src/promql/src/grid_series.rs`
|
||||
|
||||
The reset index removed the per-window scan of the samples but left the shape: one
|
||||
boxed call per grid point per field, each rebuilding a `FloatWindow` and appending
|
||||
one `Vec<Option<f64>>` row. At the benchmark shape that was 36.9 ns per point of
|
||||
run-time bookkeeping against 16.8 ns of arithmetic, so the bookkeeping was most of
|
||||
the path.
|
||||
|
||||
**The kernel now takes a batch.** The function is chosen once, outside the loop,
|
||||
and the batch body is a plain loop over windows:
|
||||
|
||||
```rust
|
||||
pub(crate) type BatchKernel =
|
||||
Box<dyn FnMut(&WindowBatch<'_>, &mut Vec<Option<f64>>) + Send>;
|
||||
|
||||
pub(crate) struct WindowBatch<'a> {
|
||||
timestamps: &'a [i64],
|
||||
values: &'a [f64],
|
||||
resets: &'a [CounterReset],
|
||||
windows: &'a [WindowSpan], // WindowSpan { start, end }
|
||||
window_resets: &'a [Range<usize>],
|
||||
eval_ts: &'a [i64],
|
||||
range_ms: i64,
|
||||
}
|
||||
```
|
||||
|
||||
`WindowSpan` is an index pair into the retained arrays, not a slice: consecutive
|
||||
windows overlap almost entirely, so a window is named rather than materialized.
|
||||
That is possible because a counter function reads only a window's endpoints, its
|
||||
sample count and its resets — which is why the batch input does not need each
|
||||
window's samples to be contiguous.
|
||||
|
||||
`RangeFunction::batch_kernel()` returns `Some` for `rate` (`<true, true>`) and
|
||||
`increase` (`<true, false>`) and `None` for everything else, which keeps every
|
||||
other function on the per-point `WindowKernel`. The two forms share the arithmetic:
|
||||
`extrapolated_rate_batch` reproduces `extrapolated_rate`'s operations in the same
|
||||
order, including the saturating `i64` subtraction, so the batch form is not a
|
||||
second implementation of the formula.
|
||||
|
||||
**Boundaries advance instead of being searched.** Consecutive grid points have
|
||||
monotone window edges, so one forward pass per batch replaces the per-point
|
||||
searches: the left edge is the field's `head`, the right edge a cursor
|
||||
(`FieldSamples::right`) carried from the previous point, and the reset range comes
|
||||
from two more cursors (`reset_start`, `reset_end`) that move only when the window
|
||||
does. Nothing is re-searched per point; the retained-sample positions stay
|
||||
continuous across chunks because `advance` shifts all four cursors by the number of
|
||||
samples it drops.
|
||||
|
||||
**Output is appended by column.** `GridSeriesBuilder::push_columns(index, len,
|
||||
&[&[Option<f64>]])` does the schema, length and grid-order checks once per batch and
|
||||
then writes each field's column, a dense column through `extend` plus
|
||||
`append_n_non_nulls`. The per-point `row` vector exists only on the compatibility
|
||||
path now.
|
||||
|
||||
The batch is 512 grid points (`EVALUATION_BATCH`). It is flushed at that boundary,
|
||||
at the end of the series, and — because a batch appends contiguous rows — whenever
|
||||
the grid skips points ahead of the earliest retained sample. The real call path is
|
||||
`FusedSeriesStream::poll_evaluated` → `RangeEvaluator::push` → `evaluate` → the
|
||||
`batched` branch → `flush_batch` → `BatchKernel` → `push_columns`.
|
||||
|
||||
**On the output side** (`src/promql/src/extension_plan/fused_series.rs`), one
|
||||
`occupancy` scan now yields both the valid-position runs that `claim_label_set`
|
||||
needs for collision detection and the take-indices that `series_to_record_batch`
|
||||
needs for construction; previously each scanned separately. A series whose only
|
||||
field is a null-free dense float array is known dense from the array's null count
|
||||
and takes a path with no per-row work at all. Tag columns are built at the kept
|
||||
length, so a `take` no longer rebuilds a constant column.
|
||||
|
||||
**One regression this introduced, and its fix.** The first version decided "dense" only from
|
||||
the single-null-free-field case, so a series with several fields where one of them covers
|
||||
every row still built an identity index and copied the time column and every value column
|
||||
through it. The previous code had skipped that copy whenever nothing was dropped
|
||||
(`occupied.len() != rows`), regardless of field count, so this was a regression in exactly the
|
||||
multi-field shape. It produced correct results, which is why no value comparison could see it;
|
||||
the test that now guards it compares the time column's buffer address against the grid's at
|
||||
the same element offset, because a copy cannot occupy the grid's buffer. The scan's result is
|
||||
reused: when every row is occupied it has already produced a single run covering the range.
|
||||
|
||||
## 2. Correctness
|
||||
|
||||
Five independent layers, all currently green.
|
||||
|
||||
1. **Node unit tests** — `src/promql/src/extension_plan/fused_series/tests.rs`
|
||||
2. **Evaluator differential tests** — `src/promql/src/range_eval/tests.rs`. The
|
||||
reference side of every random test computes a window's resets by *scanning*
|
||||
it, and the probe kernel hashes them, so all 500 random grids × 3 series × 3
|
||||
fields also check the index. Verified by mutation: making `resets_in` return
|
||||
an empty slice fails `evaluator_matches_brute_force_reference`,
|
||||
`range_functions_match_prometheus` and `subquery_series_match_references`.
|
||||
3. **Targeted state tests** — the reset that is the first sample of a later
|
||||
chunk; the reset whose predecessor lands exactly on a window's left edge and
|
||||
must not count; a reset entering a window whole; two fields with different
|
||||
NULL/reset layouts in the same window; the same evaluator serving a second
|
||||
series with no state leaking; and an index that stays bounded under
|
||||
continuous draining.
|
||||
4. **Real storage scan** — `tests-integration/.../nested_merge_scan_capability_test.rs`,
|
||||
`test_fused_series_exec_over_real_storage_scan`.
|
||||
5. **Real PromQL query through the planner** — see section 3.
|
||||
|
||||
`cargo nextest run -p promql` → 457 passed.
|
||||
`cargo nextest run -p query` → 885 passed, 2 skipped.
|
||||
`cargo clippy -p promql -p query --all-targets -- -D warnings` → clean.
|
||||
|
||||
### Window semantics
|
||||
|
||||
The fused path follows Prometheus' `(E - range, E]` — left-open, right-closed —
|
||||
as documented and implemented in `src/promql/src/range_eval.rs`. The ordinary
|
||||
fold's `scan_ranges` (`src/promql/src/extension_plan/range_manipulate.rs`) uses
|
||||
the same `<= window_start` exclusion, so the two agree. Where the two
|
||||
implementations differ is the last bits of a float sum, because they accumulate
|
||||
in a different order; the comparison in section 4.1 confirms row identity under a
|
||||
relative tolerance of 1e-9.
|
||||
|
||||
## 3. Bugs found by measuring, not by testing
|
||||
|
||||
These compiled, passed their unit tests, and silently disabled or masked the
|
||||
behaviour under test. They are recorded because each one made an earlier
|
||||
benchmark number meaningless.
|
||||
|
||||
1. **`sum by (...)` never fused.** The matcher walked a logical child-index path
|
||||
to find the physical node to swap. DataFusion plans one logical `Aggregate` as
|
||||
`AggregateExec(Partial) → RepartitionExec → AggregateExec(Final)`, so the
|
||||
lockstep walk desynchronised and returned `None`. Fixed by identifying the
|
||||
physical node by schema and content.
|
||||
2. **A tag subset was rejected.** The builder required the fused output to carry
|
||||
*every* table tag. A `sum by (one_label)` projection is pruned to the labels
|
||||
the aggregate groups by, so on any table with more than one tag — that is,
|
||||
every real table — the gate rejected the most common PromQL query shape. The
|
||||
single-tag test table could not show it. Fixed by requiring one time column
|
||||
and one value column and letting the projection decide the tag columns.
|
||||
3. **The wiring test could not see either bug.** It used a one-tag table, one
|
||||
partition, and compared the fused arm against the ordinary arm with a `0.25`
|
||||
tolerance. A tag-subset projection had nothing to prune, and the tolerance
|
||||
would have hidden a wrong value. It is now a four-tag table (`host`,
|
||||
`instance`, `job`, `l1`) with two storage partitions, one series per instance
|
||||
per partition, and `sum by (instance)`; the expected sums (3 and 7 per second)
|
||||
are computed by hand and cannot be reached by dropping a partition, losing the
|
||||
tag subset, or mixing the instances. Tolerance is now `1e-9` relative.
|
||||
4. **The benchmark driver asked for the wrong time range.** `TQL EVAL (start,
|
||||
end, step)` takes seconds, while `INSERT` literals and returned timestamps are
|
||||
milliseconds. The first driver run passed milliseconds, so every query covered
|
||||
a range ~50 000 years in the future: zero rows, valid schema, `SELECT
|
||||
count(*)` still healthy. Caught only because the never-fused control took
|
||||
363 ms for zero rows.
|
||||
|
||||
## 4. Performance
|
||||
|
||||
### 4.1 The measurement setup
|
||||
|
||||
The fixture is one mito table, seeded once and reused by every arm:
|
||||
|
||||
| Property | Value |
|
||||
| --- | --- |
|
||||
| Tags (primary key, in order) | `host`, `instance`, `job`, `l1` |
|
||||
| Field / time index | `metric_value` DOUBLE / `ts` TIMESTAMP(3) |
|
||||
| Series | 400 (`host=h0..h399`, `instance=i0..i3`, `job=j`, `l1=l`) |
|
||||
| Samples per series | 2 880 at 15 s |
|
||||
| Span | `1700000015000`..`1700043200000` ms = 43 185 s |
|
||||
| Rows | 1 152 000 |
|
||||
| Counter resets / NULLs | **0 / 0** (values rise `15 × (host+1)` per sample) |
|
||||
| Storage partitions | 20 |
|
||||
|
||||
A strictly rising value is deliberate: `rate` over it needs **no** counter
|
||||
correction, so any cost it shows is the fixed per-window work plus whatever the
|
||||
kernel spends looking for resets that are not there. That is exactly the cost
|
||||
the reset-index round removed, and it means a regression cannot be blamed on reset
|
||||
arithmetic. The index's correctness on real resets is covered by section 2, where
|
||||
the expected values can be computed by hand.
|
||||
|
||||
Three arms, all over the same data directory, sequentially:
|
||||
|
||||
| Arm | Commit | Native flag | Range evaluation |
|
||||
| --- | --- | --- | --- |
|
||||
| **L** | `f387830a020` | off | ordinary materialising plan |
|
||||
| **N** | `f387830a020` | on | fused, per-window rescan |
|
||||
| **F** | `f387830a020` + this change | on | fused, per-field reset index |
|
||||
|
||||
Cases, all `sum by (instance) (<fn>(vmbench[window]))`:
|
||||
|
||||
| Name | Span | Step | Window | Grid points | Samples per window | Sample visits |
|
||||
| --- | --- | --- | --- | ---: | ---: | ---: |
|
||||
| `S` | 30 min | 1 s | 5 min | 1 801 | 21 | 15 M |
|
||||
| `G` | 2 h | 1 s | 5 min | 7 201 | 21 | 61 M |
|
||||
| `W` | 2 h | 1 s | 1 h | 7 201 | 241 | 694 M |
|
||||
| `C` | 2 h | 1 min | 5 min | 121 | 21 | 1 M |
|
||||
| `control` | 2 h | 1 s | 5 min | 7 201 | 21 | — (`max_over_time`, never fuses) |
|
||||
|
||||
`S` and `G` differ only in span, so the pair separates "more grid points" from
|
||||
"more samples per window"; `G` and `W` differ only in window. `C` is the shape
|
||||
the original query actually has.
|
||||
|
||||
Arms are interleaved **per case** — L, N, F, then N, F, L, then F, L, N — not run
|
||||
as three whole sweeps. A whole-sweep order was tried first and produced a 3.4x
|
||||
swing on `control`, which never fuses and therefore cannot differ between arms at
|
||||
all. That swing was machine drift, and interleaving per case makes drift land on
|
||||
every arm instead of one. The machine is shared, so this is not an idle host: the
|
||||
host load average was 9.6-18.6 on 20 cores during the measured runs below (and
|
||||
4.1-6.7 during the aborted whole-sweep attempt). That is why `control` carries
|
||||
weight — it fixes the noise floor at 1% rather than leaving it to be assumed.
|
||||
2 warmup iterations and 9 timed iterations per case per arm per round, 3 rounds,
|
||||
so 27 timed samples per arm per case. Every individual timing, with the load
|
||||
average beside it, is in the JSON records.
|
||||
|
||||
### 4.2 Compute: the evaluator alone
|
||||
|
||||
**These are the reset-index round's numbers.** The batch path of section 1.4 changed the
|
||||
evaluator again; the `native_range_eval` group has not been re-run since, so the `after`
|
||||
column below is the state before batching, not the current one. The group that *was* re-run
|
||||
is `ingest` (section 4.5), and the end-to-end effect of batching is in section 4.6.
|
||||
|
||||
`src/promql/benches/bench_range_fn.rs`, group `native_range_eval`. One series of
|
||||
2 880 samples at 15 s on a 7 201-point 1 s grid, one value field, evaluated by
|
||||
`RangeEvaluator` directly. **Timed scope, identical in every case:**
|
||||
`try_new` + one `push` + `finish`. The chunk, schema and grid are built once
|
||||
before timing and borrowed by `push`, so no case pays for input construction or
|
||||
adaptation inside the measurement.
|
||||
|
||||
Criterion, `--warm-up-time 2 --measurement-time 5`, two independent rounds. CIs
|
||||
do not overlap between the two binaries in any row.
|
||||
|
||||
| case | values | window | before | after | speedup |
|
||||
| --- | --- | --- | ---: | ---: | ---: |
|
||||
| `rate` | rising | 5 min | 527.5 µs | 418.9 µs | **1.26x** |
|
||||
| `rate` | rising | 1 h | 1 781.4 µs | 420.1 µs | **4.24x** |
|
||||
| `rate` | resets every 240 samples | 5 min | 521.6 µs | 425.6 µs | 1.23x |
|
||||
| `rate` | resets every 240 samples | 1 h | 1 781.1 µs | 431.1 µs | 4.13x |
|
||||
| `max_over_time` | rising | 5 min | 348.6 µs | 349.4 µs | 1.00x |
|
||||
| `max_over_time` | rising | 1 h | 2 286.9 µs | 2 268.6 µs | 1.01x |
|
||||
| `max_over_time` | resets every 240 samples | 5 min | 348.9 µs | 350.4 µs | 1.00x |
|
||||
| `max_over_time` | resets every 240 samples | 1 h | 2 287.1 µs | 2 265.2 µs | 1.01x |
|
||||
|
||||
Three things this table says:
|
||||
|
||||
1. **The window dependence is gone.** After the fix, `rate` over a 1 h window
|
||||
costs 1.003x what it costs over a 5 min window. Before, that ratio was 3.38x —
|
||||
close to the 11.5x ratio of samples per window, damped by the fixed
|
||||
per-window cost. This is the direct evidence that the rescan is gone, and it
|
||||
is stronger than any single speedup number, because it does not depend on
|
||||
where the fixed costs happen to sit.
|
||||
2. **The narrow-window gain is real but modest** (1.26x): a 5 min window holds 21
|
||||
samples, so the rescan was never the dominant cost there.
|
||||
3. **The reset work itself is small.** With resets present, the fixed algorithm
|
||||
costs 1.6-2.6% more than with a strictly rising counter, because it then walks
|
||||
the resets it reports. That is the honest price of the correction, not a
|
||||
regression.
|
||||
4. **Functions that do not correct counters are untouched.** `max_over_time`
|
||||
moved from 348.6 to 349.4 µs at 5 min and from 2 286.9 to 2 268.6 µs at 1 h,
|
||||
both inside the run-to-run spread. An earlier draft read the index for every
|
||||
function and cost `max_over_time` a reproducible 4.9%; the `index_resets`
|
||||
guard in `evaluate_row` is what removed that, and this row is why the guard
|
||||
exists.
|
||||
|
||||
### 4.3 End to end
|
||||
|
||||
**This table is also from the reset-index round** (L = flag off, N = flag on with the
|
||||
rescan, F = flag on with the index); section 4.6 has this round's pair.
|
||||
|
||||
Driver: `scripts/fused_series_bench.py` (seeding and one arm per invocation),
|
||||
`scripts/fused_series_bench_crossed.sh` (the interleaved order above),
|
||||
`scripts/fused_series_bench_summarize.py` (the tables below, from the raw JSON).
|
||||
Every invocation checks that the flag-off arm logs zero fused selections and that
|
||||
the flag-on arm logs exactly one per `rate` case and zero for `control`, so a
|
||||
comparison can never silently measure the ordinary plan twice.
|
||||
|
||||
All 27 timed samples per arm per case; medians in ms.
|
||||
|
||||
| case | L (off) | N (rescan) | F (indexed) | L/N | L/F | N/F | N→F |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
||||
| `S` | 18.5 | 20.3 | 19.9 | 0.91 | 0.93 | 1.02 | +2% |
|
||||
| `G` | 51.2 | 61.8 | 58.1 | 0.83 | 0.88 | 1.06 | +6% |
|
||||
| `W` | 48.2 | 111.8 | 53.7 | 0.43 | **0.90** | **2.08** | **+52%** |
|
||||
| `C` | 25.4 | 24.3 | 23.8 | 1.05 | 1.07 | 1.02 | +2% |
|
||||
| `control` | 53.6 | 53.6 | 52.8 | 1.00 | 1.00 | 1.00 | +1% |
|
||||
|
||||
Row counts were identical across arms in every case (7 084 / 28 684 / 28 684 /
|
||||
480 / 28 744), so the timings compare the same work.
|
||||
|
||||
Where the ratios land:
|
||||
|
||||
- **`W` is the case the reset-index round was for.** The wide-window regression went from
|
||||
0.43x to 0.90x; between N and F it is a 2.08x improvement. That is the whole
|
||||
arithmetic half of the regression.
|
||||
- **`S` and `G` do not improve** (0.93x and 0.88x against the ordinary plan),
|
||||
because their windows are narrow and the rescan was not what made them slow.
|
||||
- **`C`, the original business shape**, is now slightly *faster* than the
|
||||
ordinary plan (1.07x) instead of level with it.
|
||||
- **`control` is within 1% across all three arms** (L/N 1.00x, L/F 1.01x, N/F
|
||||
1.01x), which is the noise floor this measurement actually has. No ratio in
|
||||
this table smaller than ~1.03 should be read as an effect.
|
||||
|
||||
The earlier report quoted `S` at 1.38x. That number does not reproduce: `S`
|
||||
measures 0.85x-0.93x in every run collected here, including the earlier
|
||||
whole-sweep attempt (0.88x) that predates the reset work. The 1.38x came from a
|
||||
whole-arm sequential sweep whose drift is visible as the 3.4x `control` swing in
|
||||
4.1, and it is withdrawn rather than explained away. The correct reading is that
|
||||
fusion has **not** been shown to beat the ordinary plan on any of these shapes
|
||||
yet; what the reset-index round showed is that it no longer loses badly on the wide-window
|
||||
one.
|
||||
|
||||
### 4.4 What the remaining gap is — an earlier claim, retracted
|
||||
|
||||
An earlier version of this section said the remaining gap was the raw series scan
|
||||
(235 of 279 ms). **That claim is withdrawn; the table it came from does not measure
|
||||
what it was used for.** It is kept here because the reason it fails is the useful part.
|
||||
|
||||
**Why the per-operator table cannot decide anything.** Measured in one server run, both
|
||||
arms, same process:
|
||||
|
||||
| arm | `/proc` CPU per query | sum of `elapsed_compute` over plan nodes |
|
||||
| --- | ---: | ---: |
|
||||
| L | 231.5 ms | 613.5 ms |
|
||||
| F | 360.0 ms | 295.0 ms |
|
||||
|
||||
On `L` the sum of the plan nodes is 2.6x the process's total CPU, which is impossible.
|
||||
Three independent reasons, each enough on its own:
|
||||
|
||||
- **`elapsed_compute` includes `elapsed_await`.** `L`'s `SeriesScan`: compute 424 ms, of
|
||||
which `elapsed_await` 257 ms and `elapsed_poll` 0.96 ms. `F`'s `SeriesScanExec`:
|
||||
compute 255 ms, of which `elapsed_await` 213 ms. Nearly all of the "scan" cost is
|
||||
waiting for region I/O, not arithmetic.
|
||||
- **The partitions run concurrently**, so summing per-partition time over 20 partitions
|
||||
counts the same wall-clock seconds many times.
|
||||
- **`FusedSeriesExec` carried no metrics at all** — it printed `metrics=[]`. The node
|
||||
doing the dominant work of the fused plan was invisible in `ANALYZE VERBOSE`. This
|
||||
round added its metrics; section 4.5 reports what they show.
|
||||
|
||||
A fourth, smaller error in the same table: `F`'s `SeriesScanExec` reported
|
||||
`output_rows: 424` where `L`'s `SeriesScan` reported 192 000. 424 is one partition's
|
||||
last batch, not the scan's total.
|
||||
|
||||
### 4.5 Where the fused arm's extra CPU actually goes
|
||||
|
||||
Machine-wide process CPU counts, not per-operator self-reports. Two servers cannot share
|
||||
a data home (raft-engine holds an exclusive lock), so the arms alternate across restarts
|
||||
instead of running side by side; 2 warmup + 9 timed per arm.
|
||||
|
||||
| arm | wall/query | CPU/query | busy |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| L | 51.6 / 57.2 / 60.7 ms | 240 / 260 / 260 ms | 425-465% |
|
||||
| F | 72.0 / 80.6 / 94.3 ms | 370 / 390 / 390 ms | 413-514% |
|
||||
|
||||
`F` does about **1.5x the CPU** of `L` per query and spreads it over more threads. The
|
||||
regression is real work, not latency or scheduling. Collapsing the pipeline to one
|
||||
partition keeps the gap (1 partition: `L` 160 ms CPU / 143 ms wall, `F` 210 / 197;
|
||||
20 partitions: `L` 250 / 59, `F` 350 / 61), so it is not a per-partition fixed cost.
|
||||
|
||||
**A marginal test separates per-row work from per-scan work.** `C` and `G` scan the
|
||||
identical 192 000 raw samples and differ only in grid step, so 60x more output rows:
|
||||
|
||||
| arm | `C` (48 400 rows) | `G` (2 868 400 rows) | d CPU | per added row |
|
||||
| --- | ---: | ---: | ---: | ---: |
|
||||
| L | 70 ms | 250 ms | 180 ms | 64 ns |
|
||||
| F | 40 ms | 330 ms | 290 ms | 103 ns |
|
||||
|
||||
`F` is *cheaper* than `L` on the coarse grid — it skips `ProjectionExec`,
|
||||
`PromSeriesDivideExec` and `PromSeriesNormalizeExec` — and more expensive on the fine
|
||||
grid. The extra cost tracks output rows, not the scan.
|
||||
|
||||
**The two implementations of the range function, on identical input.** One series of
|
||||
2 880 samples at 15 s on the same 7 201-point 1 s grid, criterion. The scopes are
|
||||
deliberately listed because comparing the wrong pair is how this section went wrong
|
||||
twice:
|
||||
|
||||
| case | timed scope | 5 m window | 1 h window |
|
||||
| --- | --- | ---: | ---: |
|
||||
| `native/` | `RangeEvaluator::try_new` + `push` + `finish` | 386.3 us | 392.7 us |
|
||||
| `legacy_udf_only/` | the UDF call, input prepared outside the loop | 93.1 us | 84.4 us |
|
||||
| `legacy_full/` | build the sliding ranges, then call the UDF | 136.3 us | 126.2 us |
|
||||
|
||||
`native/` must be compared against `legacy_full/`, not `legacy_udf_only/`:
|
||||
`RangeEvaluator::push` both ingests raw samples and assembles every window, which in the
|
||||
ordinary plan is split between `PromRangeManipulate` and the UDF. Against the wrong
|
||||
scope the ratio reads 4.1x; against the right one it is **2.83x**.
|
||||
|
||||
That gap accounts for the whole end-to-end regression: 400 series x (386.3 - 136.3) us =
|
||||
100 ms, against the 128.5 ms of CPU `G` costs `F` over `L` (360 vs 231.5 ms), the
|
||||
remainder being the emit and scan differences on that path. So the regression is in the
|
||||
evaluator, not in the scan, the output or the flush.
|
||||
|
||||
**A caveat that applies to every number in this section.** Unchanged code drifts several
|
||||
percent between criterion invocations on this host: `legacy_full` read 125.2 us in an
|
||||
earlier invocation and 136.3 us in this one, and `present_over_time` read 244.4 us then
|
||||
265.6 us. Ratios are therefore taken from a single invocation, and where a figure is
|
||||
quoted across two, the drift is stated. An earlier revision of this section compared a
|
||||
post-fix `native/` against a pre-fix `legacy_full/` across two invocations and reported
|
||||
3.35x; that is withdrawn.
|
||||
|
||||
**Splitting the evaluator into bookkeeping and kernel.** `present_over_time`'s kernel is
|
||||
`|_| Some(1.0)` — it never reads the window — so its time is the per-point bookkeeping and
|
||||
nothing else. `rate` adds the extrapolation arithmetic to it:
|
||||
|
||||
| function | 5 m | 1 h | what it measures |
|
||||
| --- | ---: | ---: | --- |
|
||||
| `present_over_time` | 265.6 us | 253.4 us | bookkeeping only |
|
||||
| `max_over_time` | 357.1 us | 2 321.5 us | bookkeeping + a kernel that reads the window |
|
||||
| `rate` | 386.3 us | 392.7 us | bookkeeping + an O(1) kernel |
|
||||
|
||||
`rate` splits into **265.6 us bookkeeping (69%, 36.9 ns/point) and 120.8 us kernel (31%,
|
||||
16.8 ns/point)**, and both halves are the same at 5 m and 1 h, which is what the
|
||||
reset-index work predicted: neither the window assembly nor the kernel any longer depends
|
||||
on the window width.
|
||||
|
||||
**Where the 2.83x actually goes, in one session.** The three numbers below come from a
|
||||
single criterion invocation, because the same unchanged code drifts several percent
|
||||
between invocations on this host and a ratio built across two of them is not trustworthy.
|
||||
`present_over_time`'s kernel is `|_| Some(1.0)`, so its time is per-point bookkeeping and
|
||||
nothing else.
|
||||
|
||||
| quantity | time | per grid point | vs `legacy_full` |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| `legacy_full/rate/5m` | 136.30 us | 18.93 ns | 1.00x |
|
||||
| `present_over_time/5m` (bookkeeping) | 265.56 us | 36.88 ns | **1.95x** |
|
||||
| `native/rate/5m` | 386.34 us | 53.65 ns | **2.83x** |
|
||||
| kernel = `native` - `present_over_time` | 120.78 us | 16.77 ns | **0.89x** |
|
||||
|
||||
So the fused evaluator splits into **bookkeeping at 1.95x the entire ordinary path** and a
|
||||
**kernel that is already 11% cheaper than it**. The regression is the bookkeeping, and the
|
||||
bookkeeping is the shape: two `partition_point` searches per point per field, a six-field
|
||||
`FloatWindow` built per point, a `dyn` call per point, then `GridSeriesBuilder::push`.
|
||||
|
||||
That is the number section 1.4 was written against, and it named the work: the two searches
|
||||
became monotone cursors, the per-point `dyn` call became one call per 512 points, and the
|
||||
row append became a column append. The result is section 4.6's 0.700 / 0.688 CPU ratio on
|
||||
`G` / `W` — from 1.95x bookkeeping to a shape that no longer dominates.
|
||||
|
||||
**What an earlier revision of this section claimed, and why it was wrong.** It said the
|
||||
fused evaluator "with its bookkeeping reduced to zero would still cost 1.47x the ordinary
|
||||
path, so no per-point tuning can cross that line". That number came from the pre-fix
|
||||
kernel (183.6 us, 25.5 ns/point) compared against a `legacy_full` measured in a different
|
||||
invocation. After the `i128 -> i64` fix the kernel reads 16.77 ns/point, which is *below*
|
||||
`legacy_full`'s 18.93. The claim is withdrawn; the conclusion it supported — that
|
||||
bookkeeping is the remaining cost — is what the table above now shows directly.
|
||||
|
||||
**What batching was estimated to buy, and what it then measured.** This section
|
||||
originally carried this table as an estimate, made before the work was done:
|
||||
|
||||
| `B` | estimated | vs `legacy_full` |
|
||||
| ---: | ---: | ---: |
|
||||
| 1 (then) | 386.3 us | 2.83x |
|
||||
| 8 | 154.0 us | 1.13x |
|
||||
| 16 | 137.4 us | 1.01x |
|
||||
| 32 | 129.1 us | 0.95x |
|
||||
| unbounded | 120.8 us | 0.89x |
|
||||
|
||||
The estimate assumed that all of the bookkeeping amortizes, which only the searches can.
|
||||
It has since been built (section 1.4) and measured end to end (section 4.6): the CPU of the
|
||||
fused query falls to 0.778 / 0.700 / 0.688 of its parent on `S` / `G` / `W` and stays at
|
||||
1.000 on the coarse-step `C`. The estimate and the measurement are not the same quantity --
|
||||
evaluator-only at the benchmark shape against `legacy_full` versus a whole query against the
|
||||
previous commit -- so they should not be compared row by row. What can be said is that the
|
||||
predicted direction was right, that the win is real on grid-point-heavy shapes, and that on
|
||||
a coarse-step shape it is zero, which is what removing per-point work should do.
|
||||
|
||||
**Two smaller costs, since addressed.** The fused node materializes all four tag columns
|
||||
per row while `sum by (instance)` needs one, and `occupied_offsets` scanned every grid point
|
||||
twice per series (`claim_label_set`, then `series_to_record_batch`). The double scan is gone
|
||||
(section 1.4). The tag materialization is only partly addressed: the columns are now built
|
||||
at the kept length, but the columns themselves are not trimmed, because trimming them means
|
||||
changing the planner's output schema and the column references above it rather than
|
||||
skipping a column the schema declares.
|
||||
|
||||
**Why this report described a scalar kernel called 7 201 times, and why memory was not
|
||||
the reason.** That was the shape until section 1.4; `rate` and `increase` now take a batch,
|
||||
and every other function still runs one call per point. The batching form already exists in
|
||||
this repo: `RangeArray` (`src/promql/src/range_array.rs`)
|
||||
is a dictionary array whose keys are packed `(offset, length)` pairs into one shared child
|
||||
array, so 7 201 overlapping windows cost 7 201 keys rather than 7 201 windows.
|
||||
`RangeManipulate` builds it once per batch and the UDF runs over the batch.
|
||||
|
||||
An earlier revision of this section said the fused evaluator avoids that "for memory
|
||||
reasons". **That is wrong, and it conflates two separate decisions.** Memory rules out one
|
||||
thing only: holding the *whole series* in a single array, i.e. O(series length) retention.
|
||||
It does not rule out batching. Evaluating `B` consecutive grid points per call needs
|
||||
samples covering `[T_first - range, T_last]`, which is O(range + B × step) — for `B = 32`
|
||||
at a 1 s step that is 32 extra seconds of samples, about two samples at a 15 s interval.
|
||||
So batching costs essentially nothing in memory, and memory is no defence of the per-point
|
||||
shape.
|
||||
|
||||
What actually produced it is the shape of the two interfaces the evaluator was built
|
||||
around:
|
||||
|
||||
- `WindowKernel` is `Box<dyn FnMut(FloatWindow<'_>) -> Option<f64>>` — one window in, one
|
||||
value out. Making 26 functions closures of that type is what keeps each of them short
|
||||
enough to check line by line against Prometheus, which is how their correctness was
|
||||
established.
|
||||
- `GridSeriesBuilder::push(index, row)` appends a single row, and `Replay::Once` /
|
||||
`Replay::EveryPoint` replay one evaluated row at many indices.
|
||||
|
||||
Both are the simplest uniform thing for those goals, and neither is about memory. The
|
||||
price was 36.9 ns per grid point of run-time bookkeeping, measured above; `rate` and
|
||||
`increase` no longer pay it now that they take a batch, and the others still do.
|
||||
|
||||
**The cost that actually dominates at scale, which this report had been missing.** The
|
||||
evaluator re-materializes every sample: `FieldSamples` holds growable `Vec<i64>` and
|
||||
`Vec<f64>`, `push` appends each sample, and `advance` slides the window by `drain`ing the
|
||||
front. Ingest is therefore O(samples in range) of copying, and it is paid for *every*
|
||||
sample even though only grid points produce output. It used to be per-sample Rust work — a
|
||||
bounds check, a checked add, two `Vec` pushes; bulk appending turned it into a memcpy
|
||||
without removing it.
|
||||
|
||||
The `3-8 ns/sample` this section used to quote was an estimate, and it was wrong: the
|
||||
measured rate was 15.2 ns/sample. Appending in bulk then brought it down to what copying
|
||||
costs. Criterion group `ingest`, 200 000 samples, one invocation, with an untouched control:
|
||||
|
||||
| case | time | ns/sample |
|
||||
| --- | ---: | ---: |
|
||||
| `evaluator_push` (the current path) | 754.7 us | 3.77 |
|
||||
| `bulk_copy` (two `memcpy`s plus a stale check) | 816.3 us | 4.08 |
|
||||
| `read_only` (read every sample, copy nothing) | 87.0 us | 0.43 |
|
||||
|
||||
So ingest now costs a copy and nothing more, and what remains above the read-only floor is
|
||||
that copy. For a series whose range holds 50 M samples, at the measured 3.77 ns/sample:
|
||||
|
||||
| series content in range | ingest, measured rate | point bookkeeping (12 h at 1 s) |
|
||||
| --- | ---: | ---: |
|
||||
| 2 880 samples (benchmark) | 0.01 ms | 1.6 ms |
|
||||
| 50 M samples (800 MB) | **190 ms** | 1.6 ms |
|
||||
|
||||
The second row is arithmetic from the measured rate, not a measurement of a 50 M-sample
|
||||
series.
|
||||
|
||||
The ordinary plan pays neither: the scan hands over Arrow arrays it does not copy, ranges
|
||||
are index arithmetic over those arrays, and the UDF reads the shared child. So legacy is
|
||||
cheaper on **both** axes — per output row and per input sample.
|
||||
|
||||
That is why the batching estimate above topped out at parity rather than a win: it removes
|
||||
one of the two costs. **Not re-materializing the samples is still not done**, and it remains
|
||||
the larger half at scale. It would mean keeping the incoming Arrow arrays and expressing
|
||||
retained samples as fragments plus offsets, dropping whole fragments once no later window
|
||||
reaches them — a redesign of `RangeEvaluator`'s storage, not of the kernel.
|
||||
|
||||
**A cost estimate, which is why it was not attempted in the same round -- not a ceiling.**
|
||||
`evaluator_push` already costs what `bulk_copy` costs (table above), so within that
|
||||
microbenchmark the saving available from removing the copy is `bulk_copy - read_only`, about
|
||||
3.6 ns/sample. Applied to the four measured cases that is roughly 0.8% of `S`, 1.0% of `G`,
|
||||
1.5% of `W` and 2.2% of `C`.
|
||||
|
||||
**What that estimate is not.** The benchmark is one 200 000-sample chunk, one grid point, one
|
||||
`PresentOverTime` field, so it omits what a real series would add: many chunks, the retained
|
||||
window tail moving between them, `Vec` capacity growth, and resets. `read_only` adds up the
|
||||
value column only -- it does not read the timestamps and does no stale or reset work -- so the
|
||||
difference is not the whole cost of the storage change either. And these percentages are
|
||||
per-sample work, not query latency: turning them into a wall-clock prediction needs the
|
||||
per-partition split and the parallel assumptions, which are not measured here. So the honest
|
||||
statement is that the saving looked small enough, under this benchmark, to prefer the batch
|
||||
work first. It is not proof that the real saving is under 2%.
|
||||
|
||||
Taking it on would still rewrite the `&[i64]` / `&[f64]` contract that the batch kernel and
|
||||
the scalar fallback both depend on, and make a window span able to cross a fragment
|
||||
boundary.
|
||||
|
||||
### 4.6 This round: batch windows against the previous commit
|
||||
|
||||
Run `records-20261018T073117Z`. **P** is `611917eb0b1`, the parent commit, evaluating one
|
||||
grid point per call; **F** is `d42d14df06d`, the batch path of section 1.4. Both arms are
|
||||
flag-on builds, so both fuse: this compares two kernels on the fused path, not fusion
|
||||
against the ordinary plan. Crossed order per case, 3 rounds, 2 warmup + 9 timed per arm per
|
||||
round, 27 timed samples per arm per case.
|
||||
|
||||
The two binaries are distinct: `extrapolated_rate_batch` appears 6 times in `F` and zero
|
||||
times in `P`, `WindowSpan` 3 times and zero times.
|
||||
|
||||
| case | wall P → F (ms) | CPU P → F (ms) | wall F/P | CPU F/P | rows |
|
||||
| --- | ---: | ---: | ---: | ---: | ---: |
|
||||
| `S` | 20.8 → 19.1 | 90 → 70 | 0.918 | **0.778** | 7 084 |
|
||||
| `G` | 57.9 → 55.5 | 300 → 210 | 0.958 | **0.700** | 28 684 |
|
||||
| `W` | 58.5 → 54.1 | 320 → 220 | 0.924 | **0.688** | 28 684 |
|
||||
| `C` | 25.6 → 25.7 | 50 → 50 | 1.003 | **1.000** | 480 |
|
||||
| `control` | 53.8 → 56.0 | 340 → 330 | 1.040 | 0.971 | 28 744 |
|
||||
|
||||
Medians over all 27 timed samples per arm. `control` is `max_over_time`, which never fuses
|
||||
and which this change does not touch; its 0.971 CPU / 1.040 wall is the drift band, and the
|
||||
`S`/`G`/`W` CPU ratios sit well below it.
|
||||
|
||||
**Correctness.** Each round runs one dedicated correctness query per arm and compares those
|
||||
through `compare`: schema column names and types, every row's full label tuple, every
|
||||
timestamp, the row count, then every value against a tolerance of `1e-9 * max(1, |value|)`,
|
||||
not bit equality. All 15 paired rounds passed. The timed queries are checked for row count
|
||||
but are not the ones compared, so this says "identical within the driver's tolerance", which
|
||||
is what a float pipeline can be held to and is stricter than the aggregation above it needs.
|
||||
|
||||
**Fusion.** Both arms log exactly one fused selection per query on `S`/`G`/`W`/`C` and zero
|
||||
on `control`, as required, so the comparison never silently measured the ordinary plan.
|
||||
|
||||
**`C` is the negative control this round needed.** It is the same 120-minute query as `G`
|
||||
and `W` at a 1-minute step: 120 grid points per series instead of 7 171, so 48 000 kernel
|
||||
evaluations instead of 2 868 400, against the same ~200 000 ingested samples. Its CPU ratio
|
||||
is 1.000. The gain therefore tracks grid points, which is what removing per-point work
|
||||
should look like — and it is direct evidence that the win is not an artefact of the
|
||||
comparison.
|
||||
|
||||
**The two statistics answer different questions, and both are real.** CPU falls 22-31% on
|
||||
the grid-heavy shapes: that is resource consumption, the work the query costs the machine.
|
||||
Wall falls 4-8%: that is the latency a caller waits for. They are not rival measurements of
|
||||
one quantity and neither is the "real" one -- a query spread over many partitions accumulates
|
||||
CPU in parallel, so its total CPU time and its wall time could not move in step by
|
||||
construction. Nor do these two ratios, on their own, say where the savings go: they do not
|
||||
separate I/O, scheduling or parallelism, and they do not establish any throughput claim.
|
||||
Wall also has real outliers here -- `control`'s maximum is 232.5 ms against a 48.2 ms
|
||||
minimum in the same arm -- which is why the median is quoted.
|
||||
|
||||
**One caveat on resolution.** The CPU counter ticks at 10 ms (`SC_CLK_TCK` = 100). `S` is 7
|
||||
ticks against 9, so its ratio is coarse. `G` (21 vs 30) and `W` (22 vs 32) carry the same
|
||||
ratio on three times the ticks and are the trustworthy rows.
|
||||
|
||||
**What this does not say.** It does not say the fused path now beats the ordinary plan:
|
||||
the arms here are both fused. Sections 4.3 and 5 still hold — no comparison in this report
|
||||
shows fusion ahead of the ordinary plan at fine steps with narrow windows.
|
||||
|
||||
### 4.7 This round against the ordinary plan
|
||||
|
||||
Section 4.3's comparison with the ordinary plan predates the batch path and can no longer
|
||||
describe this build. This is that comparison, run on the current build with one binary:
|
||||
`a2d345cc76c` with `experimental_native_promql = false` (the ordinary plan) against the same
|
||||
binary with it `true` (fused). Run `records-20261018T091334Z`, crossed order, 3 rounds, 2
|
||||
warmup + 9 timed per arm per round, 27 timed samples per arm per case.
|
||||
|
||||
| case | off CPU | on CPU | CPU on/off | wall on/off | per-round CPU on/off |
|
||||
| --- | ---: | ---: | ---: | ---: | --- |
|
||||
| `S` | 80 ms | 60 ms | **0.750** | 0.954 | 0.875 / 0.875 / 0.750 |
|
||||
| `G` | 240 ms | 170 ms | **0.708** | 0.970 | 0.783 / 0.708 / 0.708 |
|
||||
| `W` | 230 ms | 180 ms | **0.783** | 0.904 | 0.783 / 0.708 / 0.783 |
|
||||
| `C` | 80 ms | 50 ms | **0.625** | 0.997 | 0.714 / 0.625 / 0.625 |
|
||||
| `control` | 340 ms | 350 ms | 1.029 | 0.976 | 1.000 / 1.029 / 1.000 |
|
||||
|
||||
All 12 paired rounds on the four `rate` cases are below 1.00. The flag-off arms logged zero
|
||||
fused selections and the flag-on arms exactly one, so neither arm measured the other's path.
|
||||
Every paired round compared identical within the driver's tolerance.
|
||||
|
||||
**The control case is the noise ruler, and it says this comparison is sound.** `control` is
|
||||
`max_over_time`: it never fuses, so both arms run the ordinary plan and the ratio must be 1.00.
|
||||
It reads 1.029 on 34-against-35 ticks and 0.976 wall. That is the whole noise budget of the
|
||||
run, and the four `rate` margins are far outside it.
|
||||
|
||||
**This inverts the pre-batch result.** Section 4.3 had the fused arm at `L/F = 0.88-0.93`
|
||||
(`S` 0.93, `G` 0.88, `W` 0.90), i.e. *costing* 8-14% more than the ordinary plan. It now costs
|
||||
25-37% less on CPU. Part of the difference is not the evaluator: the fused node also skips
|
||||
`ProjectionExec`, `PromSeriesDivideExec` and `PromSeriesNormalizeExec`, which section 4.5
|
||||
measured as the reason the fused arm was already cheaper on the coarse-step `C`. What this
|
||||
round adds to that is that the grid-heavy shapes joined it.
|
||||
|
||||
**A second run of the same comparison, and why it is here.** It was first run while a
|
||||
`cargo build --profile nightly` of the whole server was in progress
|
||||
(`records-20261018T091013Z`). Load average was 26-37, wall clock inflated ~4x
|
||||
(`S` read 89.0 ms where the clean run reads 21.9), and CPU inflated on both arms: `G` read 350
|
||||
ticks for the ordinary plan against 240 on the clean run. The ratios came out compressed --
|
||||
`G` 0.943 there against 0.708 here -- because contention does not inflate the two arms equally.
|
||||
Both runs agree in direction and both have a control at 1.00-1.04, but only the clean run's
|
||||
magnitudes should be quoted. This is the same trap as section 4.5's caveat, in a new form: it is
|
||||
not enough for a ratio to come from one invocation if that invocation has a compiler fighting
|
||||
it.
|
||||
|
||||
**What this establishes, and what it does not.** Fused is now cheaper than the ordinary plan on
|
||||
CPU on all four measured shapes, and the coarse-step case is the largest margin. It does not
|
||||
establish a wall-clock win: wall reads 0.90-1.00, and `C` is flat at 0.997. Nor does it
|
||||
establish anything about other query shapes -- these are one table, four series, `rate` and
|
||||
`max_over_time` only (section 5).
|
||||
|
||||
## 5. What is not shown
|
||||
|
||||
- **No general speedup.** The algorithm regression is eliminated and one shape
|
||||
(`W`) improved 2.08x between N and F, but the fused path is still 0.88x-0.93x
|
||||
against the ordinary plan at fine steps with narrow windows. There is no
|
||||
evidence here to justify enabling `experimental_native_promql` by default; it
|
||||
remains off.
|
||||
- **The per-point bookkeeping is gone for two functions only.** `rate` and `increase` take
|
||||
the batch path; `delta`, `irate`, `*_over_time` and the rest still call the boxed kernel
|
||||
once per grid point and gained nothing this round. Section 4.5's 36.9 ns-per-point figure
|
||||
was measured on the per-point form and has not been re-measured for the others.
|
||||
- **The evaluator still pays per input sample.** Every sample is copied into growable
|
||||
`Vec`s so that the window can slide by `drain`ing the front, at a measured 3.77 ns/sample.
|
||||
That is now a memcpy and nothing more, but a memcpy is still O(samples in range) where the
|
||||
ordinary plan copies nothing and does index arithmetic over one shared array. The saving
|
||||
from removing the copy is *estimated* (section 4.5) at about 3.6 ns/sample within a
|
||||
single-chunk microbenchmark, i.e. 0.8-2.2% on the four measured cases -- inside the drift
|
||||
band, so removing it is not expected to show up end to end at these shapes. That estimate
|
||||
omits many-chunk retention, capacity growth and reset work, so it is a reason for the
|
||||
ordering this round chose, not a bound on the real change.
|
||||
- **The output path is still not measured.** The node targets 4 096 rows per batch
|
||||
(`MAX_ROWS_PER_BATCH`); with 400 series over a 20-partition scan that is ~20
|
||||
series × 7 201 rows per partition ≈ 144 k rows ≈ 35 batches per partition.
|
||||
Those numbers are arithmetic from the configuration, not a measurement: no
|
||||
batch count, rows-per-batch, or emit/flush cost was collected, and no threshold
|
||||
was changed on the strength of them.
|
||||
- **No large-window ceiling measured.** `W` is the widest window measured (1 h
|
||||
against a 2 h span). Nothing here says whether a still-wider window would now
|
||||
become *faster* than the ordinary plan rather than merely equal.
|
||||
- **No CPU sampling profile.** Section 4.4 is operator-level `elapsed_compute`
|
||||
from `TQL ANALYZE VERBOSE`, not a sampled stack profile, so it attributes cost
|
||||
to operators rather than to functions within the scan.
|
||||
- **No `EXPLAIN` visibility from the frontend.** In standalone, TQL is planned as
|
||||
a `MergeScan` pushed to the datanode, and fusion happens when the datanode
|
||||
builds its physical plan. `TQL EXPLAIN` at the frontend therefore never shows
|
||||
`FusedSeriesExec`; the debug log is the way to confirm a fused run.
|
||||
- **No distributed or multi-region path.** Phase 1 is single-region,
|
||||
single-node. `RangeEvaluator` has no partial-aggregate contract, and one was
|
||||
deliberately not invented here.
|
||||
- **No `PartialAggregate`, vector matching, or planner-level fusion.** Out of
|
||||
scope by design.
|
||||
- **Nothing here covers a counter that resets inside every window at scale.**
|
||||
The unit and integration tests prove the index is correct with resets
|
||||
(including across chunk boundaries and window edges); the 1 152 000-row
|
||||
benchmark fixture has none, so no end-to-end timing includes real reset
|
||||
traffic.
|
||||
- **The batch path's own unit of work was not measured directly.** Section 4.6
|
||||
measures whole queries before and after; there is no evaluator-only criterion number for
|
||||
the batch form, so the per-point bookkeeping figure (36.9 ns) still describes the form
|
||||
that `rate` and `increase` no longer use.
|
||||
- **No wall-clock win.** Section 4.7 has the fused arm at 0.90-1.00 of the ordinary plan's
|
||||
wall time while its CPU is 0.63-0.78: the query is not CPU-bound, so a third of the CPU
|
||||
shows up as, at most, a tenth of the latency. Anyone who needs a latency result needs a
|
||||
different measurement.
|
||||
- **No general speedup.** Section 4.7 covers one table, four series, `rate` and
|
||||
`max_over_time`, on one machine. Every range function other than `rate` and `increase`
|
||||
still evaluates one boxed call per grid point, so the margins in 4.7 do not carry over to
|
||||
`delta`, `irate`, `*_over_time` or the predict functions without being measured.
|
||||
|
||||
## 6. Reproduction
|
||||
|
||||
Two commands per arm, over one shared data directory:
|
||||
|
||||
```bash
|
||||
# Once: write the fixture (refuses to add to a directory of a different shape).
|
||||
python3 scripts/fused_series_bench.py seed \
|
||||
--data-home ~/.cache/fused-scale/data-seed --bin <greptime>
|
||||
|
||||
# Per arm, per case: run and record. `--arm off` must log zero fused hits.
|
||||
python3 scripts/fused_series_bench.py run \
|
||||
--data-home ~/.cache/fused-scale/data-seed --bin <greptime> \
|
||||
--arm on --commit <sha> --cases W \
|
||||
--out records/cW-r1-N.json --log records/cW-r1-N.log
|
||||
|
||||
# Section 4.3: the interleaved L/N/F order, three rounds, all cases.
|
||||
bash scripts/fused_series_bench_crossed.sh
|
||||
|
||||
# The tables of section 4.3, from the raw records:
|
||||
python3 scripts/fused_series_bench_summarize.py records
|
||||
```
|
||||
|
||||
Section 4.6 uses the two-arm companion, because both of its arms are flag-on:
|
||||
|
||||
```bash
|
||||
# P and F are two commits; both run with --arm on. The arm order rotates per round.
|
||||
BIN_P=<parent binary> COMMIT_P=<parent sha> \
|
||||
BIN_F=<this binary> COMMIT_F=<this sha> \
|
||||
bash scripts/fused_series_bench_pair.sh
|
||||
|
||||
# Its tables, from the raw records. The ratio is computed as F/P with both arms named,
|
||||
# not from their position in a sorted list.
|
||||
python3 scripts/fused_series_bench_pair_summarize.py <run directory>
|
||||
```
|
||||
|
||||
Section 4.7 is the same driver with both arms pointing at one binary and the native flag as
|
||||
the variable:
|
||||
|
||||
```bash
|
||||
BIN_P=<binary> BIN_F=<same binary> \
|
||||
COMMIT_P=<sha>-off COMMIT_F=<sha>-on ARM_P=off ARM_F=on \
|
||||
bash scripts/fused_series_bench_pair.sh
|
||||
```
|
||||
|
||||
The driver refuses a flag-off arm that logs a fused selection, so an arm cannot silently
|
||||
measure the other's path; that check is what makes this comparison safe.
|
||||
|
||||
The timing records of the run quoted in section 4.6 are committed under
|
||||
`docs/bench-records/20261018T073117Z/`, so those medians and per-round ratios can be
|
||||
recomputed rather than taken on trust:
|
||||
|
||||
```bash
|
||||
python3 scripts/fused_series_bench_pair_summarize.py docs/bench-records/20261018T073117Z
|
||||
```
|
||||
|
||||
The correctness *results* of that run are ~300 KB each and are not committed;
|
||||
`docs/bench-records/20261018T073117Z/RESULTS.md` lists each one's row count and sha256 so a
|
||||
copy can be checked against what was actually compared.
|
||||
|
||||
The compute benchmark is a normal criterion group in the promql package:
|
||||
`cargo bench -p promql --profile nightly -- bench_main native_range_eval`.
|
||||
Section 4.5's ingest table comes from the same binary's `ingest` group.
|
||||
|
||||
Section 4.6 compares two commits on the fused path rather than fusion against the ordinary
|
||||
plan. Both arms are `--arm on`; the pair is driven interleaved with the order rotated per
|
||||
round, and each round's two result sets are compared before the next round runs, so an arm
|
||||
that disagrees stops the sweep. `--warmup 2 --iterations 9` per arm per round.
|
||||
|
||||
Two traps specific to that comparison:
|
||||
|
||||
- **Both arms must have the change verified, not assumed.** A rebuild that silently reused
|
||||
the previous binary would produce a clean "no difference". `strings <bin> | grep
|
||||
extrapolated_rate_batch` returning nothing on the parent commit and 6 hits on this one is
|
||||
what established that the two files differ.
|
||||
- **The summariser had the ratio inverted on first use**: it computed `arms[1]/arms[0]` over
|
||||
a sorted arm list, i.e. P/F, while labelling the column "F / P". The numbers in section
|
||||
4.6 come from the corrected version, which names the two arms explicitly instead of
|
||||
relying on listing order. The raw records were unaffected either way.
|
||||
|
||||
Traps this driver encodes, each of which produced a wrong measurement first:
|
||||
|
||||
- `TQL EVAL (start, end, step)` takes **seconds**; `INSERT` literals and returned
|
||||
timestamps are **milliseconds**. A mismatch yields zero rows with a valid
|
||||
schema while `SELECT count(*)` looks healthy.
|
||||
- `region`, `zone` and `mode` are SQL reserved words and cannot be column names.
|
||||
- `POST /v1/sql` needs form encoding; a JSON body is rejected with 415.
|
||||
- Two servers need disjoint port sets (`--http-addr`, `--grpc-bind-addr`,
|
||||
`--mysql-addr`, `--postgres-addr`), or they collide on the defaults.
|
||||
- `pkill -f "greptime standalone"` matches the shell running it. Stop servers by
|
||||
PID.
|
||||
@@ -0,0 +1,958 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2023 Greptime Team
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""End-to-end benchmark driver for the fused native-PromQL range-function path.
|
||||
|
||||
Reproduces the measurements in `docs/fused-series-report.md`: one seeded table, one
|
||||
standalone server per arm, the same four query shapes run against each arm, and the
|
||||
per-iteration timings plus the fused-hit counts written to JSON.
|
||||
|
||||
Three subcommands, so seeding, measuring and checking stay separable:
|
||||
|
||||
scripts/fused_series_bench.py seed --data-home DIR
|
||||
scripts/fused_series_bench.py run --data-home DIR --bin PATH --arm off \
|
||||
--out FILE --log FILE --results DIR
|
||||
scripts/fused_series_bench.py compare DIR/cC-r1-L-C.json DIR/cC-r1-F-C.json
|
||||
|
||||
`seed` writes the fixture once. `run` starts one server over that data directory, runs
|
||||
every case, and writes a JSON record; with `--results` it also writes the complete
|
||||
correctness-pass result of each case, which `compare` then checks across arms, field by
|
||||
field and outside the timing loop. An arm is one `(binary, flag)` pair; the driver does
|
||||
not build binaries, so the caller decides which commit each arm is, and a crossed order
|
||||
(L->N->F, N->F->L, F->L->N) is just three invocations per arm.
|
||||
|
||||
## Fixture, exactly as measured
|
||||
|
||||
The values below are what `docs/fused-series-report.md` reports; changing any of them
|
||||
invalidates a comparison against that report. They are what the seeded
|
||||
`~/.cache/fused-scale/data-seed` directory holds, and `seed` refuses to add to a
|
||||
directory that already holds a different number of rows.
|
||||
|
||||
| Property | Value |
|
||||
| --- | --- |
|
||||
| Table | `vmbench`, `ENGINE=mito` |
|
||||
| Tags (primary key, in order) | `host`, `instance`, `job`, `l1` |
|
||||
| Field | `metric_value` DOUBLE |
|
||||
| Time index | `ts` TIMESTAMP(3) |
|
||||
| Series | 400: `host=h0..h399`, `instance=i0..i3` (100 hosts each), `job=j`, `l1=l` |
|
||||
| Samples per series | 2 880 |
|
||||
| Sample interval | 15 s |
|
||||
| Seed anchor `START_MS` | `1700000000000` ms (no sample sits here) |
|
||||
| First / last sample | `1700000015000` / `1700043200000` ms |
|
||||
| Span | 43 185 s (11 h 59 m 45 s) |
|
||||
| Sample k (0-based) | at `FIRST_SAMPLE_MS + k * 15000` |
|
||||
| Value | `(k + 1) * 15 * (host + 1)`, strictly rising |
|
||||
| Counter resets | **0** (verified: every step is +15 x (host + 1)) |
|
||||
| NULL values | **0** |
|
||||
| Rows | 400 x 2 880 = 1 152 000 |
|
||||
| Storage partitions | 20 (mito default, measured on the seeded directory) |
|
||||
|
||||
A strictly rising value is a deliberate choice: a `rate` over it needs no counter
|
||||
correction, so any cost that `rate` shows is the fixed per-window work plus whatever the
|
||||
kernel spends looking for resets that are not there. That is exactly the cost this work
|
||||
removes, and it is why a regressing shape cannot be blamed on reset arithmetic. A fixture
|
||||
with resets is covered by the unit and integration tests instead, where the expected value
|
||||
can be computed by hand.
|
||||
|
||||
## Two ranges, named apart
|
||||
|
||||
The **data range** (`FIRST_SAMPLE_MS .. LAST_SAMPLE_MS`) and the **query range**
|
||||
(`QUERY_START_S .. QUERY_END_S`, in seconds, which is what `TQL EVAL` takes) are
|
||||
different things and one interval apart on purpose:
|
||||
|
||||
- the first row is at `START_MS + 1 interval`, not at `START_MS`, so the fixture keeps
|
||||
`SAMPLE_COUNT` samples per series *inside* the query range;
|
||||
- the query starts at `START_MS` (one interval before the first row), so the first grid
|
||||
point of every case has nothing behind its window and returns NaN, which the response
|
||||
drops. That is how the recorded measurements were taken, so it is kept.
|
||||
|
||||
`seed` and `run` both read `count(*)`, `min(ts)` and `max(ts)` back from the server and
|
||||
fail unless they equal `ROW_COUNT`, `FIRST_SAMPLE_MS` and `LAST_SAMPLE_MS`.
|
||||
|
||||
## Cases
|
||||
|
||||
Every case is `TQL EVAL (start, end, '<step>') sum by (instance) (<expr>)` over the
|
||||
seeded span, with the window given as a PromQL range in **seconds**.
|
||||
|
||||
| Name | Span | Step | Window | Grid points | Purpose |
|
||||
| --- | --- | --- | --- | ---: | --- |
|
||||
| `S` | 30 min | 1 s | 5 min | 1 801 | fine step, narrow window, short span |
|
||||
| `G` | 2 h | 1 s | 5 min | 7 201 | fine step, narrow window, long span |
|
||||
| `W` | 2 h | 1 s | 1 h | 7 201 | fine step, wide window |
|
||||
| `C` | 2 h | 1 min | 5 min | 121 | the original business shape |
|
||||
| `control` | 2 h | 1 s | 5 min | 7 201 | `max_over_time`, which never fuses |
|
||||
|
||||
`S` and `G` differ only in span, so the pair separates "more grid points" from "more
|
||||
samples per window"; `G` and `W` differ only in window, so the pair isolates the window
|
||||
width. `C` is the shape the original query actually has.
|
||||
|
||||
## What the record holds
|
||||
|
||||
Per case, per iteration: wall-clock milliseconds, output row count, response bytes, and
|
||||
the number of `Fused series selection succeeded` lines the server logged **during that
|
||||
iteration**, read from the byte offset the log had when the query started. A correctness
|
||||
pass runs before the warmup, its result is what `--results` saves, and its hit count is
|
||||
recorded apart from the warmup and timed ones.
|
||||
|
||||
Every execution — correctness, every warmup, every timed iteration — is checked against an
|
||||
explicit expected hit count derived from the case definition: `fuses: true` means exactly
|
||||
one selection on a flag-on arm and zero on a flag-off arm; `fuses: false` means zero
|
||||
always. A mismatch stops the run with the case, the phase, the expected count and the
|
||||
observed one. Counting only the correctness pass let a warmup or a timed iteration quietly
|
||||
fall back to the ordinary plan while the timings still looked plausible.
|
||||
|
||||
## Comparing two arms
|
||||
|
||||
`--results DIR` makes `run` save the complete correctness-pass result of each case as
|
||||
`<record stem>-<case>.json`: the column schema, every row, the label tuple, the timestamp
|
||||
and the value. Only the correctness pass is saved, never a timed iteration, so the saved
|
||||
file is never a fragment of a measurement. `compare` then reads the saved results of one
|
||||
case for two or more arms and checks, in this order, reporting the first difference:
|
||||
|
||||
1. schema: column names and data types, in order;
|
||||
2. labels: the full label tuple of every row;
|
||||
3. timestamps: the `ts` of every row;
|
||||
4. row count (an explicit check of its own — two lists of different length are never
|
||||
zipped, so a missing row can never hide behind a matching prefix);
|
||||
5. values: `abs(a - b) <= 1e-9 * max(1, abs(b))`, with NaN matching NaN, infinities
|
||||
having to match by sign, and finite-vs-non-finite treated as a difference.
|
||||
|
||||
Which column is which is read from the saved schema rather than assumed: a
|
||||
`Timestamp*` column is the timestamp, a numeric column is a value, and every other
|
||||
column is a label. A result with no timestamp or no value column is refused, because
|
||||
comparing it would check nothing.
|
||||
|
||||
## Traps this driver encodes
|
||||
|
||||
- `TQL EVAL (start, end, step)` takes its start and end in **seconds**, like the PromQL
|
||||
API, while the timestamps it returns are in **milliseconds** and `INSERT` literals are
|
||||
milliseconds. Passing milliseconds to `EVAL` asks for a range about 50 000 years in the
|
||||
future: every query returns zero rows with a valid schema, and `SELECT count(*)` still
|
||||
looks healthy. See `QUERY_START_S`, which is the only place the conversion happens.
|
||||
- `region`, `zone` and `mode` are SQL reserved words and cannot be column names.
|
||||
- `POST /v1/sql` needs form encoding; a JSON body is rejected with 415.
|
||||
- Two servers need disjoint ports (`--http-addr`, `--grpc-bind-addr`, `--mysql-addr`,
|
||||
`--postgres-addr`), or they collide on the defaults. The defaults below sit inside the
|
||||
15000-15199 band this repository's benchmark runs are allowed to bind; pass `--http`
|
||||
and friends to move them.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.parse
|
||||
import urllib.request
|
||||
|
||||
TABLE = "vmbench"
|
||||
TAG_COLUMNS = ["host", "instance", "job", "l1"]
|
||||
FIELD = "metric_value"
|
||||
TIME = "ts"
|
||||
|
||||
# The seeded fixture, exactly as measured.
|
||||
HOSTS = 400
|
||||
SAMPLE_COUNT = 2_880
|
||||
SAMPLE_INTERVAL_SECS = 15
|
||||
# The seed anchor. It is *not* the first sample: sample k (0-based) is written at
|
||||
# `FIRST_SAMPLE_MS + k * SAMPLE_INTERVAL_MS`, so the anchor is exactly one interval
|
||||
# before the first row.
|
||||
START_MS = 1_700_000_000_000
|
||||
|
||||
SAMPLE_INTERVAL_MS = SAMPLE_INTERVAL_SECS * 1000
|
||||
ROW_COUNT = HOSTS * SAMPLE_COUNT
|
||||
|
||||
# The data range, in milliseconds: where the seeded rows actually sit.
|
||||
FIRST_SAMPLE_MS = START_MS + SAMPLE_INTERVAL_MS
|
||||
LAST_SAMPLE_MS = START_MS + SAMPLE_COUNT * SAMPLE_INTERVAL_MS
|
||||
|
||||
# The query range, in seconds, which is what `TQL EVAL` takes. It deliberately starts at
|
||||
# the anchor rather than at the first sample: the first grid point therefore has no row
|
||||
# inside its window and returns NaN, which is how the recorded measurements were taken.
|
||||
# `QUERY_END_S` is the end of the longest case; every case's own end comes from
|
||||
# `case_window()`. Naming the two ranges apart is the point: `START_MS` is a millisecond
|
||||
# data anchor and must never be handed to `EVAL`, and `LAST_SAMPLE_MS` is a millisecond
|
||||
# data bound that must never be mistaken for the grid end.
|
||||
QUERY_START_S = START_MS // 1000
|
||||
|
||||
# The measured cases. `step` and the window are PromQL arguments, so they are seconds.
|
||||
CASES = [
|
||||
{
|
||||
"name": "S",
|
||||
"expr": "rate({table}[5m])",
|
||||
"span_minutes": 30,
|
||||
"step": "1s",
|
||||
"window_seconds": 300,
|
||||
"fuses": True,
|
||||
},
|
||||
{
|
||||
"name": "G",
|
||||
"expr": "rate({table}[5m])",
|
||||
"span_minutes": 120,
|
||||
"step": "1s",
|
||||
"window_seconds": 300,
|
||||
"fuses": True,
|
||||
},
|
||||
{
|
||||
"name": "W",
|
||||
"expr": "rate({table}[1h])",
|
||||
"span_minutes": 120,
|
||||
"step": "1s",
|
||||
"window_seconds": 3_600,
|
||||
"fuses": True,
|
||||
},
|
||||
{
|
||||
"name": "C",
|
||||
"expr": "rate({table}[5m])",
|
||||
"span_minutes": 120,
|
||||
"step": "1m",
|
||||
"window_seconds": 300,
|
||||
"fuses": True,
|
||||
},
|
||||
{
|
||||
"name": "control",
|
||||
"expr": "max_over_time({table}[5m])",
|
||||
"span_minutes": 120,
|
||||
"step": "1s",
|
||||
"window_seconds": 300,
|
||||
"fuses": False,
|
||||
},
|
||||
]
|
||||
|
||||
MAX_SPAN_MINUTES = max(case["span_minutes"] for case in CASES)
|
||||
QUERY_END_S = QUERY_START_S + MAX_SPAN_MINUTES * 60
|
||||
|
||||
# The types `compare` treats as values; every other non-timestamp column is a label.
|
||||
NUMERIC_TYPES = {
|
||||
"Float64",
|
||||
"Float32",
|
||||
"Int64",
|
||||
"Int32",
|
||||
"Int16",
|
||||
"Int8",
|
||||
"UInt64",
|
||||
"UInt32",
|
||||
"UInt16",
|
||||
"UInt8",
|
||||
}
|
||||
|
||||
|
||||
def log(message):
|
||||
print(message, flush=True)
|
||||
|
||||
|
||||
def check_ranges():
|
||||
"""Fails unless the range constants still describe the measured fixture.
|
||||
|
||||
Cheap, runs before any server starts, and catches the one edit that would silently
|
||||
invalidate a comparison: mixing up the data range and the query range.
|
||||
"""
|
||||
if (FIRST_SAMPLE_MS, LAST_SAMPLE_MS) != (1_700_000_015_000, 1_700_043_200_000):
|
||||
raise SystemExit(
|
||||
f"the data range is {FIRST_SAMPLE_MS}..{LAST_SAMPLE_MS} ms, but the measured "
|
||||
"fixture's first and last samples are 1700000015000..1700043200000 ms"
|
||||
)
|
||||
if LAST_SAMPLE_MS - FIRST_SAMPLE_MS != (SAMPLE_COUNT - 1) * SAMPLE_INTERVAL_MS:
|
||||
raise SystemExit(
|
||||
f"the data range spans {LAST_SAMPLE_MS - FIRST_SAMPLE_MS} ms, not the "
|
||||
f"{(SAMPLE_COUNT - 1) * SAMPLE_INTERVAL_MS} ms of {SAMPLE_COUNT} samples at "
|
||||
f"{SAMPLE_INTERVAL_MS} ms"
|
||||
)
|
||||
if QUERY_START_S * 1000 != START_MS:
|
||||
raise SystemExit(
|
||||
f"the query range starts at {QUERY_START_S}s, which is not the seed anchor "
|
||||
f"{START_MS} ms rounded down to seconds"
|
||||
)
|
||||
if QUERY_END_S * 1000 > LAST_SAMPLE_MS:
|
||||
raise SystemExit(
|
||||
f"the query range ends at {QUERY_END_S}s, after the data range's last sample "
|
||||
f"{LAST_SAMPLE_MS} ms; a case would ask for timestamps the fixture does not have"
|
||||
)
|
||||
for case in CASES:
|
||||
_, end = case_window(case)
|
||||
if end > QUERY_END_S:
|
||||
raise SystemExit(
|
||||
f"case {case['name']} ends at {end}s, past QUERY_END_S ({QUERY_END_S}s)"
|
||||
)
|
||||
|
||||
|
||||
def check_fixture(where, count, first_ts, last_ts):
|
||||
"""Fails unless the server's own count/min/max equal the fixture constants."""
|
||||
if count != ROW_COUNT:
|
||||
raise SystemExit(
|
||||
f"{where}: {TABLE} holds {count} rows, but the fixture has "
|
||||
f"{ROW_COUNT} ({HOSTS} series x {SAMPLE_COUNT} samples)"
|
||||
)
|
||||
if first_ts != FIRST_SAMPLE_MS or last_ts != LAST_SAMPLE_MS:
|
||||
raise SystemExit(
|
||||
f"{where}: {TABLE} spans {first_ts}..{last_ts} ms, but the fixture's first and "
|
||||
f"last samples are {FIRST_SAMPLE_MS}..{LAST_SAMPLE_MS} ms"
|
||||
)
|
||||
|
||||
|
||||
def expected_hits(case, arm):
|
||||
"""How many fused selections one execution of `case` must log on `arm`."""
|
||||
if not case["fuses"]:
|
||||
return 0
|
||||
return 1 if arm == "on" else 0
|
||||
|
||||
|
||||
def check_hits(case, arm, phase, actual):
|
||||
"""Fails unless one execution logged exactly the expected number of selections."""
|
||||
expected = expected_hits(case, arm)
|
||||
if actual != expected:
|
||||
raise SystemExit(
|
||||
f"case {case['name']} phase {phase}: expected {expected} fused selection(s) on "
|
||||
f"the flag-{arm} arm, the server logged {actual}"
|
||||
)
|
||||
return expected
|
||||
|
||||
|
||||
class Server:
|
||||
"""One standalone server over a data directory, on its own port set."""
|
||||
|
||||
def __init__(self, binary, data_home, http, grpc, mysql, postgres, native, log_path):
|
||||
self.binary = binary
|
||||
self.data_home = data_home
|
||||
self.native = native
|
||||
self.http = http
|
||||
self.grpc = grpc
|
||||
self.mysql = mysql
|
||||
self.postgres = postgres
|
||||
self.log_path = log_path
|
||||
self.process = None
|
||||
self.log_file = None
|
||||
# Where the log was when the query started, so hits can be counted per query.
|
||||
self.log_offset = 0
|
||||
|
||||
def __enter__(self):
|
||||
config = os.path.join(self.data_home, "..", f"fused-bench-arm-{int(self.native)}.toml")
|
||||
with open(config, "w") as handle:
|
||||
handle.write(
|
||||
'mode = "standalone"\n\n'
|
||||
"[logging]\n"
|
||||
'level = "debug"\n\n'
|
||||
"[query]\n"
|
||||
f"experimental_native_promql = {str(self.native).lower()}\n"
|
||||
)
|
||||
self.log_file = open(self.log_path, "w")
|
||||
self.process = subprocess.Popen(
|
||||
[
|
||||
self.binary,
|
||||
"standalone",
|
||||
"start",
|
||||
"--config-file",
|
||||
config,
|
||||
"--data-home",
|
||||
self.data_home,
|
||||
"--http-addr",
|
||||
f"127.0.0.1:{self.http}",
|
||||
"--grpc-bind-addr",
|
||||
f"127.0.0.1:{self.grpc}",
|
||||
"--mysql-addr",
|
||||
f"127.0.0.1:{self.mysql}",
|
||||
"--postgres-addr",
|
||||
f"127.0.0.1:{self.postgres}",
|
||||
],
|
||||
stdout=self.log_file,
|
||||
stderr=subprocess.STDOUT,
|
||||
stdin=subprocess.DEVNULL,
|
||||
start_new_session=True,
|
||||
)
|
||||
deadline = time.time() + 600
|
||||
while time.time() < deadline:
|
||||
if self.process.poll() is not None:
|
||||
raise RuntimeError(f"the server exited early; see {self.log_path}")
|
||||
try:
|
||||
self.sql("SELECT 1", timeout=5)
|
||||
return self
|
||||
except Exception:
|
||||
time.sleep(1)
|
||||
raise RuntimeError(f"the server did not become ready; see {self.log_path}")
|
||||
|
||||
def __exit__(self, *exc):
|
||||
if self.process is not None and self.process.poll() is None:
|
||||
self.process.terminate()
|
||||
try:
|
||||
self.process.wait(timeout=120)
|
||||
except subprocess.TimeoutExpired:
|
||||
self.process.kill()
|
||||
self.process.wait()
|
||||
if self.log_file is not None:
|
||||
self.log_file.close()
|
||||
|
||||
def sql(self, statement, timeout=3_600):
|
||||
body = urllib.parse.urlencode({"sql": statement}).encode()
|
||||
request = urllib.request.Request(
|
||||
f"http://127.0.0.1:{self.http}/v1/sql",
|
||||
data=body,
|
||||
headers={"Content-Type": "application/x-www-form-urlencoded"},
|
||||
)
|
||||
with urllib.request.urlopen(request, timeout=timeout) as response:
|
||||
raw = response.read()
|
||||
return json.loads(raw.decode()), len(raw)
|
||||
|
||||
def rows(self, statement, timeout=3_600):
|
||||
payload, _ = self.sql(statement, timeout=timeout)
|
||||
return flatten(payload)[1]
|
||||
|
||||
def cpu_seconds(self):
|
||||
"""Total CPU seconds this server has used on every thread so far.
|
||||
|
||||
Wall-clock alone cannot separate "does less work" from "does the same work with
|
||||
more parallelism", and the two arms differ in exactly that way. Reading the
|
||||
process counters makes the distinction measurable instead of arguable.
|
||||
"""
|
||||
with open(f"/proc/{self.process.pid}/stat") as handle:
|
||||
# The comm field is parenthesised and may contain spaces, so split after it.
|
||||
fields = handle.read().rsplit(") ", 1)[1].split()
|
||||
ticks = fields[11:13] # utime, stime
|
||||
return sum(int(tick) for tick in ticks) / os.sysconf("SC_CLK_TCK")
|
||||
|
||||
def begin_query(self):
|
||||
"""Records where the log ends, so the next query's hits can be counted alone."""
|
||||
self.log_offset = os.path.getsize(self.log_path) if os.path.exists(self.log_path) else 0
|
||||
|
||||
def hits_since(self):
|
||||
"""The number of fused selections logged since `begin_query`."""
|
||||
if not os.path.exists(self.log_path):
|
||||
return 0
|
||||
with open(self.log_path, "rb") as handle:
|
||||
handle.seek(self.log_offset)
|
||||
tail = handle.read()
|
||||
return tail.count(b"Fused series selection succeeded")
|
||||
|
||||
|
||||
def flatten(payload):
|
||||
"""`(schema, rows)` of a SQL response, with every block folded into one list.
|
||||
|
||||
A TQL response is a single block; folding keeps a multi-block response comparable
|
||||
instead of silently comparing only the first block.
|
||||
"""
|
||||
schema = None
|
||||
rows = []
|
||||
for block in payload.get("output", []):
|
||||
records = block.get("records")
|
||||
if not records:
|
||||
continue
|
||||
columns = records["schema"]["column_schemas"]
|
||||
if schema is None:
|
||||
schema = columns
|
||||
elif columns != schema:
|
||||
raise SystemExit(
|
||||
"the response holds blocks with different schemas, so its rows cannot be "
|
||||
"compared as one result"
|
||||
)
|
||||
rows.extend(records["rows"])
|
||||
return schema or [], rows
|
||||
|
||||
|
||||
def create_table(server):
|
||||
columns = ", ".join(f'"{tag}" STRING NULL' for tag in TAG_COLUMNS)
|
||||
primary_key = ", ".join(f'"{tag}"' for tag in TAG_COLUMNS)
|
||||
server.sql(
|
||||
f'CREATE TABLE IF NOT EXISTS "{TABLE}" ('
|
||||
f"{columns}, "
|
||||
f'"{FIELD}" DOUBLE NULL, '
|
||||
f'"{TIME}" TIMESTAMP(3) NOT NULL, '
|
||||
f'TIME INDEX ("{TIME}"), '
|
||||
f"PRIMARY KEY ({primary_key})"
|
||||
") ENGINE=mito"
|
||||
)
|
||||
|
||||
|
||||
def seed(data_home, binary, http, grpc, mysql, postgres):
|
||||
"""Writes the fixture once; safe to re-run because it checks the row count first."""
|
||||
check_ranges()
|
||||
os.makedirs(data_home, exist_ok=True)
|
||||
log_path = os.path.join(data_home, "..", "fused-bench-seed.log")
|
||||
with Server(binary, data_home, http, grpc, mysql, postgres, False, log_path) as server:
|
||||
create_table(server)
|
||||
count, first_ts, last_ts = server.rows(
|
||||
f'SELECT count(*), min("{TIME}"), max("{TIME}") FROM "{TABLE}"'
|
||||
)[0]
|
||||
if count == ROW_COUNT:
|
||||
check_fixture("seed", count, first_ts, last_ts)
|
||||
log(f"the fixture is already seeded: {count} rows at {first_ts}..{last_ts} ms")
|
||||
return
|
||||
if count:
|
||||
raise SystemExit(
|
||||
f"{TABLE} holds {count} rows, not the {ROW_COUNT} of the fixture; use a "
|
||||
"fresh data directory instead of mixing shapes"
|
||||
)
|
||||
log(f"seeding {ROW_COUNT} rows into {data_home}")
|
||||
# One INSERT per host keeps each statement small enough for the HTTP endpoint while
|
||||
# writing every sample of that series in a single batch.
|
||||
for host in range(HOSTS):
|
||||
started = time.time()
|
||||
values = []
|
||||
for index in range(SAMPLE_COUNT):
|
||||
timestamp = FIRST_SAMPLE_MS + index * SAMPLE_INTERVAL_MS
|
||||
# Strictly rising, and different per host so a wrongly grouped series cannot hide.
|
||||
value = (index + 1) * SAMPLE_INTERVAL_SECS * (host + 1)
|
||||
values.append(
|
||||
f"('h{host}', 'i{host % 4}', 'j', 'l', {value}, {timestamp})"
|
||||
)
|
||||
server.sql(
|
||||
f'INSERT INTO "{TABLE}" '
|
||||
f'("host", "instance", "job", "l1", "{FIELD}", "{TIME}") VALUES '
|
||||
+ ", ".join(values),
|
||||
# A single 2 880-row insert of a series is the slowest statement here.
|
||||
timeout=3_600,
|
||||
)
|
||||
if host % 25 == 0 or host == HOSTS - 1:
|
||||
log(f" {host + 1}/{HOSTS} series ({time.time() - started:.1f}s each)")
|
||||
count, first_ts, last_ts = server.rows(
|
||||
f'SELECT count(*), min("{TIME}"), max("{TIME}") FROM "{TABLE}"'
|
||||
)[0]
|
||||
check_fixture("seed", count, first_ts, last_ts)
|
||||
log(f"seeded {count} rows at {first_ts}..{last_ts} ms")
|
||||
|
||||
|
||||
def case_window(case):
|
||||
"""The `(start, end)` of one case in seconds, which is what `TQL EVAL` takes."""
|
||||
return QUERY_START_S, QUERY_START_S + case["span_minutes"] * 60
|
||||
|
||||
|
||||
def tql(case, aggregate=True):
|
||||
expr = case["expr"].format(table=TABLE)
|
||||
if aggregate:
|
||||
expr = f"sum by (instance) ({expr})"
|
||||
start, end = case_window(case)
|
||||
return f"TQL EVAL ({start}, {end}, '{case['step']}') {expr}"
|
||||
|
||||
|
||||
def save_result(directory, stem, case, arm, commit, statement, schema, rows):
|
||||
"""Saves one correctness-pass result, never overwriting an earlier one."""
|
||||
os.makedirs(directory, exist_ok=True)
|
||||
base = os.path.join(directory, f"{stem}-{case['name']}")
|
||||
path = f"{base}.json"
|
||||
suffix = 2
|
||||
while os.path.exists(path):
|
||||
path = f"{base}-{suffix}.json"
|
||||
suffix += 1
|
||||
with open(path, "w") as handle:
|
||||
json.dump(
|
||||
{
|
||||
"case": case["name"],
|
||||
"arm": arm,
|
||||
"commit": commit,
|
||||
"tql": statement,
|
||||
"schema": schema,
|
||||
"row_count": len(rows),
|
||||
"rows": rows,
|
||||
},
|
||||
handle,
|
||||
)
|
||||
return path
|
||||
|
||||
|
||||
def value_mismatch(left, right):
|
||||
"""`None` if the two value cells match, otherwise a short reason."""
|
||||
if left is None or right is None:
|
||||
return None if left is None and right is None else f"{left!r} vs {right!r} (one is NULL)"
|
||||
if isinstance(left, bool) or isinstance(right, bool):
|
||||
return None if left == right else f"{left!r} vs {right!r}"
|
||||
if not isinstance(left, (int, float)) or not isinstance(right, (int, float)):
|
||||
return None if left == right else f"{left!r} vs {right!r}"
|
||||
left_nan, right_nan = math.isnan(left), math.isnan(right)
|
||||
if left_nan or right_nan:
|
||||
if left_nan and right_nan:
|
||||
return None
|
||||
return f"{left!r} vs {right!r} (only one side is NaN)"
|
||||
left_inf, right_inf = math.isinf(left), math.isinf(right)
|
||||
if left_inf or right_inf:
|
||||
if not (left_inf and right_inf):
|
||||
return f"{left!r} vs {right!r} (one side is infinite, the other finite)"
|
||||
if (left > 0) != (right > 0):
|
||||
return f"{left!r} vs {right!r} (opposite infinities)"
|
||||
return None
|
||||
tolerance = 1e-9 * max(1.0, abs(right))
|
||||
if abs(left - right) > tolerance:
|
||||
return (
|
||||
f"{left!r} vs {right!r} (off by {abs(left - right):.3e}, "
|
||||
f"tolerance {tolerance:.3e})"
|
||||
)
|
||||
return None
|
||||
|
||||
|
||||
def classify(schema):
|
||||
"""Which columns are labels, which are the timestamp, which are values."""
|
||||
labels, times, values = [], [], []
|
||||
for index, column in enumerate(schema):
|
||||
if column["data_type"].startswith("Timestamp"):
|
||||
times.append(index)
|
||||
elif column["data_type"] in NUMERIC_TYPES:
|
||||
values.append(index)
|
||||
else:
|
||||
labels.append(index)
|
||||
return labels, times, values
|
||||
|
||||
|
||||
def describe(result):
|
||||
"""An arm's identity: both flag-on arms share `arm: on`, so name the file too."""
|
||||
return f"{result['stem']} [flag {result['arm']}, {result.get('commit', 'unknown')}]"
|
||||
|
||||
|
||||
def first_difference(left_rows, right_rows, columns):
|
||||
"""Index of the first row whose `columns` cells differ, or `None`.
|
||||
|
||||
Only the common prefix is looked at: two lists of different length are never zipped,
|
||||
so the length difference is left to its own check, which reports it explicitly.
|
||||
"""
|
||||
for index in range(min(len(left_rows), len(right_rows))):
|
||||
left = tuple(left_rows[index][column] for column in columns)
|
||||
right = tuple(right_rows[index][column] for column in columns)
|
||||
if left != right:
|
||||
return index, left, right
|
||||
return None
|
||||
|
||||
|
||||
def compare_pair(baseline, other):
|
||||
"""Checks `other` against `baseline`, in order, stopping at the first difference."""
|
||||
case = baseline["case"]
|
||||
left, right = describe(baseline), describe(other)
|
||||
|
||||
# 1. schema: names and data types, in order.
|
||||
left_schema, right_schema = baseline["schema"], other["schema"]
|
||||
if len(left_schema) != len(right_schema):
|
||||
raise SystemExit(
|
||||
f"case {case}: schema differs: {left} has {len(left_schema)} columns, "
|
||||
f"{right} has {len(right_schema)}"
|
||||
)
|
||||
for index, (left_column, right_column) in enumerate(zip(left_schema, right_schema)):
|
||||
if left_column != right_column:
|
||||
raise SystemExit(
|
||||
f"case {case}: schema differs at column {index}: {left} has "
|
||||
f"{left_column['name']!r} {left_column['data_type']}, {right} has "
|
||||
f"{right_column['name']!r} {right_column['data_type']}"
|
||||
)
|
||||
labels, times, values = classify(left_schema)
|
||||
if not times or not values:
|
||||
raise SystemExit(
|
||||
f"case {case}: the result has no timestamp or no value column "
|
||||
f"({[column['data_type'] for column in left_schema]}); nothing to compare"
|
||||
)
|
||||
|
||||
# 2. labels: the full label tuple of every row.
|
||||
diff = first_difference(baseline["rows"], other["rows"], labels)
|
||||
if diff:
|
||||
index, left_cells, right_cells = diff
|
||||
raise SystemExit(
|
||||
f"case {case}: labels differ at row {index}: {left} has {left_cells}, "
|
||||
f"{right} has {right_cells}"
|
||||
)
|
||||
|
||||
# 3. timestamps.
|
||||
diff = first_difference(baseline["rows"], other["rows"], times)
|
||||
if diff:
|
||||
index, left_cells, right_cells = diff
|
||||
raise SystemExit(
|
||||
f"case {case}: timestamps differ at row {index}: {left} has {left_cells}, "
|
||||
f"{right} has {right_cells}"
|
||||
)
|
||||
|
||||
# 4. row count, as its own failure rather than a truncated zip.
|
||||
if len(baseline["rows"]) != len(other["rows"]):
|
||||
raise SystemExit(
|
||||
f"case {case}: row count differs: {left} has {len(baseline['rows'])} rows, "
|
||||
f"{right} has {len(other['rows'])}"
|
||||
)
|
||||
|
||||
# 5. values.
|
||||
for index, left_row in enumerate(baseline["rows"]):
|
||||
right_row = other["rows"][index]
|
||||
for column in values:
|
||||
reason = value_mismatch(left_row[column], right_row[column])
|
||||
if reason:
|
||||
where = ", ".join(
|
||||
f"{left_schema[label]['name']}={left_row[label]!r}" for label in labels
|
||||
)
|
||||
stamp = ", ".join(
|
||||
f"{left_schema[stamp_column]['name']}={left_row[stamp_column]}"
|
||||
for stamp_column in times
|
||||
)
|
||||
raise SystemExit(
|
||||
f"case {case}: value differs at row {index} ({where}; {stamp}) in column "
|
||||
f"{left_schema[column]['name']!r}: {left} has {reason}"
|
||||
)
|
||||
return labels, times, values
|
||||
|
||||
|
||||
def compare(args):
|
||||
"""Checks the saved results of one case across arms."""
|
||||
results = []
|
||||
for path in args.results:
|
||||
with open(path) as handle:
|
||||
result = json.load(handle)
|
||||
for key in ("case", "arm", "schema", "rows"):
|
||||
if key not in result:
|
||||
raise SystemExit(
|
||||
f"{path} is not a result file written by `run --results`: no {key!r}"
|
||||
)
|
||||
stem = os.path.basename(path)
|
||||
result["stem"] = stem[: -len(".json")] if stem.endswith(".json") else stem
|
||||
results.append(result)
|
||||
|
||||
cases = sorted({result["case"] for result in results})
|
||||
if len(cases) != 1:
|
||||
raise SystemExit(f"the result files mix cases: {', '.join(cases)}")
|
||||
if args.case and args.case != cases[0]:
|
||||
raise SystemExit(f"asked to compare case {args.case}, but the files hold case {cases[0]}")
|
||||
statements = {result.get("tql") for result in results}
|
||||
if len(statements) != 1:
|
||||
raise SystemExit(
|
||||
"the result files hold different queries, so comparing them would be meaningless:\n "
|
||||
+ "\n ".join(sorted(statements))
|
||||
)
|
||||
|
||||
baseline = results[0]
|
||||
arms = ", ".join(describe(result) for result in results)
|
||||
log(f"case {cases[0]}: {len(results)} arm(s) {arms}, {len(baseline['rows'])} rows")
|
||||
for other in results[1:]:
|
||||
labels, times, values = compare_pair(baseline, other)
|
||||
log(
|
||||
f" identical to {describe(baseline)}: {len(baseline['schema'])} columns "
|
||||
f"({len(labels)} label(s), {len(times)} timestamp(s), {len(values)} value(s)), "
|
||||
f"{len(baseline['rows'])} rows"
|
||||
)
|
||||
log(
|
||||
f"ok: case {cases[0]} is identical on {len(results)} arm(s): "
|
||||
f"{', '.join(result['stem'] for result in results)}"
|
||||
)
|
||||
|
||||
|
||||
def run(args):
|
||||
"""Runs every case against one arm and writes the JSON record."""
|
||||
check_ranges()
|
||||
with Server(
|
||||
args.bin,
|
||||
args.data_home,
|
||||
args.http,
|
||||
args.grpc,
|
||||
args.mysql,
|
||||
args.postgres,
|
||||
args.arm == "on",
|
||||
args.log,
|
||||
) as server:
|
||||
# The fixture is checked before anything is timed, so no measurement can come from
|
||||
# a table that is not the one the record claims.
|
||||
count, first_ts, last_ts = server.rows(
|
||||
f'SELECT count(*), min("{TIME}"), max("{TIME}") FROM "{TABLE}"'
|
||||
)[0]
|
||||
check_fixture("run", count, first_ts, last_ts)
|
||||
log(
|
||||
f"fixture: {count} rows, {first_ts}..{last_ts} ms "
|
||||
f"(expected {ROW_COUNT} rows, {FIRST_SAMPLE_MS}..{LAST_SAMPLE_MS} ms)"
|
||||
)
|
||||
|
||||
record = {
|
||||
"arm": args.arm,
|
||||
"bin": args.bin,
|
||||
"commit": args.commit,
|
||||
"build_profile": args.profile,
|
||||
"data_home": os.path.abspath(args.data_home),
|
||||
"fixture": {
|
||||
"table": TABLE,
|
||||
"tags": TAG_COLUMNS,
|
||||
"series": HOSTS,
|
||||
"samples_per_series": SAMPLE_COUNT,
|
||||
"sample_interval_seconds": SAMPLE_INTERVAL_SECS,
|
||||
"rows": ROW_COUNT,
|
||||
"start_ms": START_MS,
|
||||
"first_sample_ms": FIRST_SAMPLE_MS,
|
||||
"last_sample_ms": LAST_SAMPLE_MS,
|
||||
"query_start_s": QUERY_START_S,
|
||||
"observed_rows": count,
|
||||
"first_ts_ms": first_ts,
|
||||
"last_ts_ms": last_ts,
|
||||
"nulls": 0,
|
||||
"counter_resets": 0,
|
||||
},
|
||||
"warmup": args.warmup,
|
||||
"iterations": args.iterations,
|
||||
"cases": [],
|
||||
}
|
||||
|
||||
wanted: set[str] = (
|
||||
{name.strip() for name in args.cases.split(",") if name.strip()}
|
||||
if args.cases
|
||||
else set()
|
||||
)
|
||||
for case in [c for c in CASES if not wanted or c["name"] in wanted]:
|
||||
statement = tql(case)
|
||||
query_start_s, query_end_s = case_window(case)
|
||||
# Correctness first, and its hits recorded apart from the timed ones. Its
|
||||
# result is the only one saved: a timed iteration must never be compared,
|
||||
# because a fragment of a measurement is not a result.
|
||||
server.begin_query()
|
||||
correctness_payload, _ = server.sql(statement)
|
||||
correctness_hits = server.hits_since()
|
||||
expected = check_hits(case, args.arm, "correctness", correctness_hits)
|
||||
schema, correctness_rows = flatten(correctness_payload)
|
||||
log(
|
||||
f"{case['name']}: {len(correctness_rows)} rows, {correctness_hits} hits "
|
||||
f"(correctness, expected {expected})"
|
||||
)
|
||||
if args.results:
|
||||
saved = save_result(
|
||||
args.results,
|
||||
args.results_stem,
|
||||
case,
|
||||
args.arm,
|
||||
args.commit,
|
||||
statement,
|
||||
schema,
|
||||
correctness_rows,
|
||||
)
|
||||
log(f" saved the correctness result to {saved}")
|
||||
|
||||
# Warmup, then the timed runs, each with its own hit count. The three kinds of hit
|
||||
# are kept apart so a total can never be mistaken for a per-iteration count, and
|
||||
# every single execution is held to the same expected count.
|
||||
warmup_hits = []
|
||||
for warmup in range(args.warmup):
|
||||
server.begin_query()
|
||||
server.sql(statement)
|
||||
hits = server.hits_since()
|
||||
check_hits(case, args.arm, f"warmup {warmup + 1}/{args.warmup}", hits)
|
||||
warmup_hits.append(hits)
|
||||
timed_hits = []
|
||||
for iteration in range(args.iterations):
|
||||
server.begin_query()
|
||||
cpu_before = server.cpu_seconds()
|
||||
started = time.perf_counter()
|
||||
payload, size = server.sql(statement)
|
||||
elapsed_ms = (time.perf_counter() - started) * 1000.0
|
||||
cpu_ms = (server.cpu_seconds() - cpu_before) * 1000.0
|
||||
hits = server.hits_since()
|
||||
check_hits(case, args.arm, f"iteration {iteration + 1}/{args.iterations}", hits)
|
||||
rows = sum(
|
||||
len(block["records"]["rows"])
|
||||
for block in payload.get("output", [])
|
||||
if block.get("records")
|
||||
)
|
||||
timed_hits.append(hits)
|
||||
record["cases"].append(
|
||||
{
|
||||
"load1": os.getloadavg()[0],
|
||||
"name": case["name"],
|
||||
"expr": case["expr"],
|
||||
"step": case["step"],
|
||||
"span_minutes": case["span_minutes"],
|
||||
"window_seconds": case["window_seconds"],
|
||||
"tql": statement,
|
||||
"query_start_s": query_start_s,
|
||||
"query_end_s": query_end_s,
|
||||
"rows": rows,
|
||||
"bytes": size,
|
||||
"ms": elapsed_ms,
|
||||
"cpu_ms": cpu_ms,
|
||||
"hits": hits,
|
||||
"expected_hits": expected,
|
||||
}
|
||||
)
|
||||
|
||||
timed = [c for c in record["cases"] if c["name"] == case["name"]]
|
||||
record.setdefault("hits", []).append(
|
||||
{
|
||||
"name": case["name"],
|
||||
"fuses": case["fuses"],
|
||||
"expected": expected,
|
||||
"correctness": correctness_hits,
|
||||
"warmup": warmup_hits,
|
||||
"timed": timed_hits,
|
||||
}
|
||||
)
|
||||
log(
|
||||
f" {case['name']}: {len(timed)} timed runs, {timed[0]['rows']} rows, "
|
||||
f"hits correctness={correctness_hits} warmup={sorted(set(warmup_hits))} "
|
||||
f"timed={sorted(set(timed_hits))} (expected {expected}), "
|
||||
f"min {min(c['ms'] for c in timed):.1f} ms"
|
||||
)
|
||||
|
||||
if args.arm == "off" and any(c["hits"] for c in record["cases"]):
|
||||
raise SystemExit("the flag-off arm logged fused selections; it is not the baseline")
|
||||
|
||||
with open(args.out, "w") as handle:
|
||||
json.dump(record, handle, indent=2)
|
||||
log(f"wrote {args.out}")
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description=__doc__.splitlines()[0])
|
||||
sub = parser.add_subparsers(dest="command", required=True)
|
||||
|
||||
common = argparse.ArgumentParser(add_help=False)
|
||||
common.add_argument("--data-home", required=True, help="the standalone data directory")
|
||||
common.add_argument("--bin", required=True, help="the greptime binary to run")
|
||||
common.add_argument("--http", type=int, default=15090)
|
||||
common.add_argument("--grpc", type=int, default=15092)
|
||||
common.add_argument("--mysql", type=int, default=15094)
|
||||
common.add_argument("--postgres", type=int, default=15096)
|
||||
|
||||
seed_parser = sub.add_parser("seed", parents=[common], help="write the fixture once")
|
||||
seed_parser.set_defaults(func=lambda a: seed(a.data_home, a.bin, a.http, a.grpc, a.mysql, a.postgres))
|
||||
|
||||
run_parser = sub.add_parser("run", parents=[common], help="measure one arm")
|
||||
run_parser.add_argument("--arm", choices=["off", "on"], required=True)
|
||||
run_parser.add_argument("--out", required=True, help="the JSON record to write")
|
||||
run_parser.add_argument("--log", required=True, help="the server log to read hits from")
|
||||
run_parser.add_argument("--commit", default="unknown", help="the commit this binary is")
|
||||
run_parser.add_argument("--profile", default="nightly", help="the Cargo profile it was built with")
|
||||
run_parser.add_argument("--warmup", type=int, default=2)
|
||||
run_parser.add_argument("--iterations", type=int, default=9)
|
||||
run_parser.add_argument(
|
||||
"--cases",
|
||||
default="",
|
||||
help="comma-separated case names to run; empty runs every case",
|
||||
)
|
||||
run_parser.add_argument(
|
||||
"--results",
|
||||
default="",
|
||||
help="directory for the per-case correctness results `compare` reads",
|
||||
)
|
||||
run_parser.add_argument(
|
||||
"--results-stem",
|
||||
default="",
|
||||
help="prefix for the saved result names; defaults to the --out file name",
|
||||
)
|
||||
run_parser.set_defaults(func=run)
|
||||
|
||||
compare_parser = sub.add_parser(
|
||||
"compare", help="check saved results of one case across arms"
|
||||
)
|
||||
compare_parser.add_argument(
|
||||
"results", nargs="+", help="the result files written by `run --results`"
|
||||
)
|
||||
compare_parser.add_argument("--case", default="", help="the case the files must hold")
|
||||
compare_parser.set_defaults(func=compare)
|
||||
|
||||
args = parser.parse_args()
|
||||
if args.command == "run":
|
||||
if not args.results_stem:
|
||||
args.results_stem = os.path.basename(args.out)
|
||||
if args.results_stem.endswith(".json"):
|
||||
args.results_stem = args.results_stem[: -len(".json")]
|
||||
if args.command == "compare" and len(args.results) < 2:
|
||||
raise SystemExit("compare needs at least two result files, one per arm")
|
||||
args.func(args)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
@@ -0,0 +1,110 @@
|
||||
#!/usr/bin/env bash
|
||||
# Crossed-order L/N/F measurement over one shared data directory.
|
||||
#
|
||||
# Arms are interleaved per case rather than run as whole sweeps: the machine is
|
||||
# shared, so a 3.4x swing on the never-fused control between two whole-arm sweeps
|
||||
# is drift, not an effect. Each case runs L, N, F in a rotated order per round, so
|
||||
# any drift lands on all three arms instead of one.
|
||||
#
|
||||
# L and N are the pre-fix commit with the native flag off and on; F is the same
|
||||
# commit plus the per-field reset index. They are the three arms of section 4.3 of
|
||||
# docs/fused-series-report.md.
|
||||
#
|
||||
# Every invocation writes into its own `records-<UTC timestamp>/` under OUT, so a
|
||||
# re-run can never overwrite an earlier one, and an existing directory is refused
|
||||
# instead of cleared. The per-case correctness results land in `<run>/results/`, and
|
||||
# each case is compared across the arms of its round as soon as that round finishes:
|
||||
# an arm that disagrees stops the sweep before the next round adds more timings.
|
||||
#
|
||||
# OUT=DIR DATA=DIR BIN_DIR=DIR ROUNDS=3 CASES=S,G,W,C,control \
|
||||
# scripts/fused_series_bench_crossed.sh
|
||||
set -euo pipefail
|
||||
|
||||
BIN_DIR=${BIN_DIR:-/mnt/nvme_rust/rust-targets/narthex-min-chain/fused-bench-bin}
|
||||
OUT=${OUT:-$HOME/.cache/fused-bench}
|
||||
DATA=${DATA:-$HOME/.cache/fused-scale/data-seed}
|
||||
DRIVER="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/fused_series_bench.py"
|
||||
ROUNDS=${ROUNDS:-3}
|
||||
CASES=${CASES:-S,G,W,C,control}
|
||||
|
||||
# The driver and the servers stay inside the 15000-15199 band this machine's benchmark
|
||||
# runs are allowed to bind; override any of them the same way.
|
||||
HTTP=${HTTP:-15090}
|
||||
GRPC=${GRPC:-15092}
|
||||
MYSQL=${MYSQL:-15094}
|
||||
POSTGRES=${POSTGRES:-15096}
|
||||
PORTS=(--http "$HTTP" --grpc "$GRPC" --mysql "$MYSQL" --postgres "$POSTGRES")
|
||||
|
||||
STAMP=$(date -u +%Y%m%dT%H%M%SZ)
|
||||
RUN=${RUN:-$OUT/records-$STAMP}
|
||||
# Refuse rather than clear: a previous run's records are the only copy of measurements
|
||||
# that may not be reproducible, so an existing directory is never overwritten.
|
||||
if [ -e "$RUN" ]; then
|
||||
echo "refusing to write into $RUN: it already exists" >&2
|
||||
echo "set RUN=... to a fresh path, or let this script pick records-<UTC timestamp>" >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$(dirname "$RUN")"
|
||||
mkdir "$RUN"
|
||||
RESULTS="$RUN/results"
|
||||
mkdir "$RESULTS"
|
||||
echo "writing this run into $RUN"
|
||||
|
||||
# L and N are the same binary with the flag off and on; F is the fixed build.
|
||||
declare -A BIN=(
|
||||
[L]="${BIN_L:-$BIN_DIR/greptime-f387830a020}"
|
||||
[N]="${BIN_N:-$BIN_DIR/greptime-f387830a020}"
|
||||
[F]="${BIN_F:-$BIN_DIR/greptime-fixed2}"
|
||||
)
|
||||
declare -A ARM=([L]=off [N]=on [F]=on)
|
||||
declare -A COMMIT=(
|
||||
[L]=${COMMIT_L:-f387830a020}
|
||||
[N]=${COMMIT_N:-f387830a020}
|
||||
[F]=${COMMIT_F:-f387830a020+reset-index}
|
||||
)
|
||||
|
||||
# Each round permutes the arm order, so an arm is not always the one that follows
|
||||
# another arm's server shutdown. Rounds past the table keep rotating through it.
|
||||
declare -A ORDER=(
|
||||
[1]="L N F"
|
||||
[2]="N F L"
|
||||
[3]="F L N"
|
||||
)
|
||||
order_for_round() {
|
||||
local round=$1
|
||||
local order=${ORDER[$round]:-}
|
||||
if [ -z "$order" ]; then
|
||||
case $(( (round - 1) % 3 )) in
|
||||
0) order="L N F" ;;
|
||||
1) order="N F L" ;;
|
||||
2) order="F L N" ;;
|
||||
esac
|
||||
fi
|
||||
echo "$order"
|
||||
}
|
||||
|
||||
for case in ${CASES//,/ }; do
|
||||
for round in $(seq 1 "$ROUNDS"); do
|
||||
order=$(order_for_round "$round")
|
||||
files=()
|
||||
for arm in $order; do
|
||||
echo "=== case $case round $round arm $arm (${ARM[$arm]}, ${COMMIT[$arm]}) ==="
|
||||
python3 "$DRIVER" run \
|
||||
--data-home "$DATA" \
|
||||
--bin "${BIN[$arm]}" \
|
||||
--arm "${ARM[$arm]}" \
|
||||
--commit "${COMMIT[$arm]}" \
|
||||
--cases "$case" \
|
||||
--out "$RUN/c${case}-r${round}-${arm}.json" \
|
||||
--log "$RUN/c${case}-r${round}-${arm}.log" \
|
||||
--results "$RESULTS" \
|
||||
"${PORTS[@]}" \
|
||||
--warmup 2 --iterations 9 2>&1 | sed "s/^/ [$arm] /"
|
||||
files+=("$RESULTS/c${case}-r${round}-${arm}-${case}.json")
|
||||
done
|
||||
echo "--- case $case round $round: comparing ${#files[@]} arm(s) ---"
|
||||
python3 "$DRIVER" compare --case "$case" "${files[@]}" 2>&1 | sed "s/^/ [compare] /"
|
||||
done
|
||||
done
|
||||
echo "all runs complete: $RUN"
|
||||
echo "summarise with: python3 $(dirname "$DRIVER")/fused_series_bench_summarize.py \"$RUN\""
|
||||
@@ -0,0 +1,127 @@
|
||||
#!/usr/bin/env bash
|
||||
# Crossed-order two-arm measurement: two commits on the same fused path.
|
||||
#
|
||||
# This is the driver behind section 4.6 of docs/fused-series-report.md, which compares
|
||||
# `611917eb0b1` (P, one kernel call per grid point) against `d42d14df06d` (F, one call per
|
||||
# batch of windows). Both arms run with the native flag ON, so both fuse: the comparison is
|
||||
# between two kernels on the fused path, not fusion against the ordinary plan. For that
|
||||
# comparison use `fused_series_bench_crossed.sh` with `--arm off` as the baseline.
|
||||
#
|
||||
# Arms are interleaved per case rather than run as whole sweeps, and the arm order is
|
||||
# rotated per round, so host drift lands on both arms instead of one. The machine is
|
||||
# shared: an unchanged control case swings several percent between invocations here, which
|
||||
# is why the control case is part of the default case list.
|
||||
#
|
||||
# Every invocation writes into its own `records-<UTC timestamp>/` under OUT, so a re-run
|
||||
# can never overwrite an earlier one, and an existing directory is refused instead of
|
||||
# cleared. Each case's results are compared across the arms of its round as soon as that
|
||||
# round finishes: an arm that disagrees stops the sweep before the next round adds more
|
||||
# timings.
|
||||
#
|
||||
# The two arms may also be the *same* binary with the native flag off and on, which is how the
|
||||
# fused path is compared against the ordinary plan. Set ARM_P=off ARM_F=on for that; the driver
|
||||
# refuses a flag-off arm that logs a fused selection, so the two cannot be confused.
|
||||
#
|
||||
# # two commits, both fused
|
||||
# BIN_P=<parent> BIN_F=<this> scripts/fused_series_bench_pair.sh
|
||||
#
|
||||
# # one binary, ordinary plan against fused
|
||||
# BIN_P=<this> BIN_F=<this> ARM_P=off ARM_F=on scripts/fused_series_bench_pair.sh
|
||||
#
|
||||
# When the arms are two commits rather than two flags, verify they are really different files:
|
||||
# a rebuild that silently reused the previous one produces a clean "no difference".
|
||||
# strings <bin> | grep -c extrapolated_rate_batch
|
||||
# is 0 before the batch path exists and non-zero after.
|
||||
#
|
||||
# OUT=DIR DATA=DIR ROUNDS=3 CASES=S,G,W,C,control BIN_P=... BIN_F=... \
|
||||
# scripts/fused_series_bench_pair.sh
|
||||
set -euo pipefail
|
||||
|
||||
OUT=${OUT:-$HOME/.cache/fused-bench}
|
||||
DATA=${DATA:-$HOME/.cache/fused-scale/data-seed}
|
||||
DRIVER="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/fused_series_bench.py"
|
||||
SUMMARIZE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/fused_series_bench_pair_summarize.py"
|
||||
ROUNDS=${ROUNDS:-3}
|
||||
CASES=${CASES:-S,G,W,C,control}
|
||||
|
||||
# The driver and the servers stay inside the 15000-15199 band this machine's benchmark runs
|
||||
# are allowed to bind; override any of them the same way.
|
||||
HTTP=${HTTP:-15090}
|
||||
GRPC=${GRPC:-15092}
|
||||
MYSQL=${MYSQL:-15094}
|
||||
POSTGRES=${POSTGRES:-15096}
|
||||
PORTS=(--http "$HTTP" --grpc "$GRPC" --mysql "$MYSQL" --postgres "$POSTGRES")
|
||||
|
||||
STAMP=$(date -u +%Y%m%dT%H%M%SZ)
|
||||
RUN=${RUN:-$OUT/records-$STAMP}
|
||||
if [ -e "$RUN" ]; then
|
||||
echo "refusing to write into $RUN: it already exists" >&2
|
||||
echo "set RUN=... to a fresh path, or let this script pick records-<UTC timestamp>" >&2
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$(dirname "$RUN")"
|
||||
mkdir "$RUN"
|
||||
RESULTS="$RUN/results"
|
||||
mkdir "$RESULTS"
|
||||
echo "writing this run into $RUN"
|
||||
|
||||
# Checked before the array rather than with `${BIN_P:?...}`: an unquoted `:?` message
|
||||
# containing an apostrophe ends the parameter expansion early, and bash then silently drops the
|
||||
# rest of the assignment list -- which leaves `BIN[F]` unset and fails much later, at the point
|
||||
# of use, with a message that points at the wrong line.
|
||||
if [ -z "${BIN_P:-}" ]; then
|
||||
echo "set BIN_P to the earlier arm's binary" >&2
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "${BIN_F:-}" ]; then
|
||||
echo "set BIN_F to the later arm's binary" >&2
|
||||
exit 1
|
||||
fi
|
||||
declare -A BIN=(
|
||||
[P]="$BIN_P"
|
||||
[F]="$BIN_F"
|
||||
)
|
||||
declare -A COMMIT=(
|
||||
[P]=${COMMIT_P:-unknown-P}
|
||||
[F]=${COMMIT_F:-unknown-F}
|
||||
)
|
||||
|
||||
# Per-arm native flag, defaulting to `on` for both: two fused builds. `ARM_P=off ARM_F=on`
|
||||
# compares the ordinary plan against the fused one, with the driver's hit check keeping them
|
||||
# apart.
|
||||
ARM_P=${ARM_P:-on}
|
||||
ARM_F=${ARM_F:-on}
|
||||
declare -A FLAG=([P]="$ARM_P" [F]="$ARM_F")
|
||||
|
||||
order_for_round() {
|
||||
case $(( ($1 - 1) % 2 )) in
|
||||
0) echo "P F" ;;
|
||||
1) echo "F P" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
for case in ${CASES//,/ }; do
|
||||
for round in $(seq 1 "$ROUNDS"); do
|
||||
order=$(order_for_round "$round")
|
||||
files=()
|
||||
for arm in $order; do
|
||||
echo "=== case $case round $round arm $arm (${COMMIT[$arm]}, flag ${FLAG[$arm]}) ==="
|
||||
python3 "$DRIVER" run \
|
||||
--data-home "$DATA" \
|
||||
--bin "${BIN[$arm]}" \
|
||||
--arm "${FLAG[$arm]}" \
|
||||
--commit "${COMMIT[$arm]}" \
|
||||
--cases "$case" \
|
||||
--out "$RUN/c${case}-r${round}-${arm}.json" \
|
||||
--log "$RUN/c${case}-r${round}-${arm}.log" \
|
||||
--results "$RESULTS" \
|
||||
"${PORTS[@]}" \
|
||||
--warmup 2 --iterations 9 2>&1 | sed "s/^/ [$arm] /"
|
||||
files+=("$RESULTS/c${case}-r${round}-${arm}-${case}.json")
|
||||
done
|
||||
echo "--- case $case round $round: comparing ${#files[@]} arm(s) ---"
|
||||
python3 "$DRIVER" compare --case "$case" "${files[@]}" 2>&1 | sed "s/^/ [compare] /"
|
||||
done
|
||||
done
|
||||
echo "all runs complete: $RUN"
|
||||
echo "summarise with: python3 $SUMMARIZE \"$RUN\""
|
||||
@@ -0,0 +1,152 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2023 Greptime Team
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Summarises a two-arm `fused_series_bench_pair.sh` run into the tables of section 4.6.
|
||||
|
||||
This is the P/F companion to `fused_series_bench_summarize.py`, which is tied to the
|
||||
three-arm L/N/F sweep of section 4.3. Both arms here are flag-on, so the arms are named
|
||||
rather than inferred: **P** is the earlier commit and **F** the later one, and every ratio
|
||||
is computed as `F / P` explicitly. An earlier version of this script derived the ratio from
|
||||
the position of an arm in a sorted list while labelling the column "F / P", which computed
|
||||
`P / F`; naming both arms in the arithmetic removes the possibility.
|
||||
|
||||
Ratios are reported per paired round *and* pooled, because unchanged code drifts several
|
||||
percent between invocations on a shared host. A pooled ratio that no single round
|
||||
reproduces is drift, not an effect.
|
||||
|
||||
scripts/fused_series_bench_pair_summarize.py RECORD_DIR
|
||||
"""
|
||||
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import statistics
|
||||
import sys
|
||||
|
||||
# The arm that is the baseline, and the arm that is the change. Named, never positional.
|
||||
BASELINE = "P"
|
||||
CHANGE = "F"
|
||||
|
||||
|
||||
def median(values):
|
||||
return statistics.median(values) if values else float("nan")
|
||||
|
||||
|
||||
def load(pattern):
|
||||
"""Reads every `<case>-r<round>-<arm>.json` under `pattern` into a dict."""
|
||||
records = {}
|
||||
for path in sorted(glob.glob(pattern)):
|
||||
with open(path) as handle:
|
||||
record = json.load(handle)
|
||||
# c<case>-r<round>-<arm>.json -- the case name may itself contain no hyphen.
|
||||
stem = os.path.basename(path)[1:-len(".json")]
|
||||
case, rest = stem.split("-r", 1)
|
||||
round_number, arm = rest.split("-", 1)
|
||||
records[(case, int(round_number), arm)] = {
|
||||
"ms": [entry["ms"] for entry in record["cases"]],
|
||||
"cpu_ms": [entry["cpu_ms"] for entry in record["cases"]],
|
||||
"rows": [entry["rows"] for entry in record["cases"]],
|
||||
"hits": [entry["hits"] for entry in record["cases"]],
|
||||
"expected": [entry["expected_hits"] for entry in record["cases"]],
|
||||
"commit": record.get("commit", "?"),
|
||||
# "off" or "on": which native flag the arm ran with. Printed, because the same
|
||||
# summariser serves two experiments -- two commits (both on) and one commit
|
||||
# against the ordinary plan (off against on).
|
||||
"flag": record.get("arm", "?"),
|
||||
}
|
||||
return records
|
||||
|
||||
|
||||
def main():
|
||||
if len(sys.argv) != 2:
|
||||
raise SystemExit(__doc__)
|
||||
run = sys.argv[1]
|
||||
records = load(os.path.join(run, "c*.json"))
|
||||
if not records:
|
||||
raise SystemExit(f"no records under {run}")
|
||||
|
||||
cases = sorted({case for case, _, _ in records})
|
||||
rounds = sorted({rnd for _, rnd, _ in records})
|
||||
|
||||
print(f"run: {run}")
|
||||
print(f"rounds: {', '.join(map(str, rounds))}")
|
||||
print()
|
||||
|
||||
flags = {}
|
||||
for (case, rnd, arm), record in records.items():
|
||||
flags.setdefault(arm, record["flag"])
|
||||
print("flags: " + ", ".join(f"{arm}={flag}" for arm, flag in sorted(flags.items())))
|
||||
print()
|
||||
|
||||
header = (
|
||||
f"{'case':8} {'arm':4} {'n':>3} {'ms med':>9} {'ms min':>9} {'ms max':>9} "
|
||||
f"{'cpu med':>9} {'cpu min':>9} {'cpu max':>9} {'rows':>7} {'hits':>5}"
|
||||
)
|
||||
print(header)
|
||||
print("-" * len(header))
|
||||
for case in cases:
|
||||
for arm in (BASELINE, CHANGE):
|
||||
entries = [
|
||||
records[(case, rnd, arm)] for rnd in rounds if (case, rnd, arm) in records
|
||||
]
|
||||
if not entries:
|
||||
continue
|
||||
ms = [value for entry in entries for value in entry["ms"]]
|
||||
cpu = [value for entry in entries for value in entry["cpu_ms"]]
|
||||
rows = sorted({value for entry in entries for value in entry["rows"]})
|
||||
hits = sorted({value for entry in entries for value in entry["hits"]})
|
||||
expected = {value for entry in entries for value in entry["expected"]}
|
||||
# A wrong fusion count means the comparison measured something other than the
|
||||
# intended path, so it is flagged rather than left to be noticed.
|
||||
mismatch = "" if set(hits) == expected else " WRONG-HITS"
|
||||
print(
|
||||
f"{case:8} {arm:4} {len(ms):3} {median(ms):9.1f} {min(ms):9.1f} "
|
||||
f"{max(ms):9.1f} {median(cpu):9.1f} {min(cpu):9.1f} {max(cpu):9.1f} "
|
||||
f"{'/'.join(map(str, rows)):>7} {','.join(map(str, hits)):>5}{mismatch}"
|
||||
)
|
||||
print()
|
||||
|
||||
print(f"ratio {CHANGE} / {BASELINE} (below 1.00 means {CHANGE} is cheaper)")
|
||||
print(f"{'case':8} {'round':>5} {'ms':>7} {'cpu':>7} {'rows equal':>10}")
|
||||
print("-" * 42)
|
||||
for case in cases:
|
||||
for rnd in rounds:
|
||||
if (case, rnd, BASELINE) not in records or (case, rnd, CHANGE) not in records:
|
||||
continue
|
||||
baseline = records[(case, rnd, BASELINE)]
|
||||
change = records[(case, rnd, CHANGE)]
|
||||
ms_ratio = median(change["ms"]) / median(baseline["ms"])
|
||||
cpu_ratio = median(change["cpu_ms"]) / median(baseline["cpu_ms"])
|
||||
rows_same = set(baseline["rows"]) == set(change["rows"])
|
||||
print(f"{case:8} {rnd:5} {ms_ratio:7.3f} {cpu_ratio:7.3f} {str(rows_same):>10}")
|
||||
pooled = {}
|
||||
for arm in (BASELINE, CHANGE):
|
||||
entries = [
|
||||
records[(case, rnd, arm)] for rnd in rounds if (case, rnd, arm) in records
|
||||
]
|
||||
if entries:
|
||||
pooled[arm] = (
|
||||
median([value for entry in entries for value in entry["ms"]]),
|
||||
median([value for entry in entries for value in entry["cpu_ms"]]),
|
||||
)
|
||||
if len(pooled) == 2:
|
||||
ms_ratio = pooled[CHANGE][0] / pooled[BASELINE][0]
|
||||
cpu_ratio = pooled[CHANGE][1] / pooled[BASELINE][1]
|
||||
print(f"{case:8} {'pool':>5} {ms_ratio:7.3f} {cpu_ratio:7.3f}")
|
||||
print()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,239 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright 2023 Greptime Team
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Summarises `fused_series_bench.py` records into the report tables.
|
||||
|
||||
Every record file is named `<case>-r<round>-<arm>.json` and holds one case, so the
|
||||
file name is the index. Nothing is discarded: the per-arm table prints the median,
|
||||
minimum and maximum over all rounds and all timed iterations, the per-round table
|
||||
prints each round's own median and its L/F and N/F ratio next to the pooled ones so a
|
||||
lone lucky round cannot pass for a stable gain, and the JSON records keep every
|
||||
individual timing.
|
||||
|
||||
scripts/fused_series_bench_summarize.py RECORD_DIR
|
||||
"""
|
||||
|
||||
import glob
|
||||
import json
|
||||
import os
|
||||
import statistics
|
||||
import sys
|
||||
|
||||
ARMS = ["L", "N", "F"]
|
||||
ARM_LABEL = {
|
||||
"L": "flag off",
|
||||
"N": "flag on, rescan",
|
||||
"F": "flag on, indexed",
|
||||
}
|
||||
|
||||
|
||||
def median(values):
|
||||
return statistics.median(values) if values else float("nan")
|
||||
|
||||
|
||||
def median_of(entries, field="ms"):
|
||||
"""The median `field` of a group of timed iterations, or `None` when there is none.
|
||||
|
||||
`cpu_ms` is the better primary statistic on a shared machine: wall clock carries the
|
||||
host load, while the process CPU the query cost does not. Records written before CPU
|
||||
accounting existed have no `cpu_ms`, and those groups report `None`.
|
||||
"""
|
||||
if not entries:
|
||||
return None
|
||||
values = [entry[field] for entry in entries if field in entry]
|
||||
return median(values) if values else None
|
||||
|
||||
|
||||
def ratio(numerator, denominator):
|
||||
"""`numerator / denominator`, or `None` when either side is missing or zero."""
|
||||
if numerator is None or denominator is None or not denominator:
|
||||
return None
|
||||
return numerator / denominator
|
||||
|
||||
|
||||
def fmt_ms(value):
|
||||
return "-" if value is None else f"{value:.1f}"
|
||||
|
||||
|
||||
def fmt_ratio(value):
|
||||
return "-" if value is None else f"{value:.2f}"
|
||||
|
||||
|
||||
def round_key(round_name):
|
||||
"""`r2` sorts before `r10`: numeric rounds sort as numbers, anything else as text."""
|
||||
return (0, int(round_name), "") if round_name.isdigit() else (1, 0, round_name)
|
||||
|
||||
|
||||
def load(directory):
|
||||
"""`{case: {arm: {round: [entry, ...]}}}`, plus every recorded host load."""
|
||||
collected = {}
|
||||
loads = []
|
||||
for path in sorted(glob.glob(os.path.join(directory, "*-r*-*.json"))):
|
||||
name = os.path.basename(path)[: -len(".json")]
|
||||
# The round and the arm come from the file name; the case names come from the
|
||||
# record itself, which is the only authority on them.
|
||||
_, rest = name.rsplit("-r", 1)
|
||||
round_name, arm = rest.split("-", 1)
|
||||
with open(path) as handle:
|
||||
record = json.load(handle)
|
||||
for case in sorted({entry["name"] for entry in record["cases"]}):
|
||||
entries = [entry for entry in record["cases"] if entry["name"] == case]
|
||||
collected.setdefault(case, {}).setdefault(arm, {}).setdefault(round_name, []).extend(
|
||||
entries
|
||||
)
|
||||
loads.extend(entry["load1"] for entry in entries if "load1" in entry)
|
||||
return collected, loads
|
||||
|
||||
|
||||
def rounds_of(arms):
|
||||
"""Every round any arm has a record for, in round order."""
|
||||
names = {round_name for rounds in arms.values() for round_name in rounds}
|
||||
return sorted(names, key=round_key)
|
||||
|
||||
|
||||
PER_ROUND_HEADER = (
|
||||
f"{'case':<8}{'round':<8}{'L off':>9}{'N rescan':>10}{'F indexed':>11}"
|
||||
f"{'L/F':>7}{'N/F':>7}"
|
||||
)
|
||||
|
||||
|
||||
def report_per_round(case, arms, field="ms", title=None):
|
||||
"""One row per round plus a pooled row, and a line on how stable the ratios are."""
|
||||
if title:
|
||||
print(title)
|
||||
per_round_ratios = {arm_pair: [] for arm_pair in ("L/F", "N/F")}
|
||||
for round_name in rounds_of(arms):
|
||||
medians = {
|
||||
arm: median_of(arms.get(arm, {}).get(round_name, []), field) for arm in ARMS
|
||||
}
|
||||
left_fixed = ratio(medians["L"], medians["F"])
|
||||
rescan_fixed = ratio(medians["N"], medians["F"])
|
||||
if left_fixed is not None:
|
||||
per_round_ratios["L/F"].append(left_fixed)
|
||||
if rescan_fixed is not None:
|
||||
per_round_ratios["N/F"].append(rescan_fixed)
|
||||
print(
|
||||
f"{case:<8}{'r' + str(round_name):<8}"
|
||||
f"{fmt_ms(medians['L']):>9}{fmt_ms(medians['N']):>10}{fmt_ms(medians['F']):>11}"
|
||||
f"{fmt_ratio(left_fixed):>7}{fmt_ratio(rescan_fixed):>7}"
|
||||
)
|
||||
|
||||
pooled = {
|
||||
arm: median_of(
|
||||
[
|
||||
entry
|
||||
for round_name in rounds_of(arms)
|
||||
for entry in arms.get(arm, {}).get(round_name, [])
|
||||
],
|
||||
field,
|
||||
)
|
||||
for arm in ARMS
|
||||
}
|
||||
pooled_left, pooled_rescan = ratio(pooled["L"], pooled["F"]), ratio(pooled["N"], pooled["F"])
|
||||
print(
|
||||
f"{case:<8}{'pooled':<8}"
|
||||
f"{fmt_ms(pooled['L']):>9}{fmt_ms(pooled['N']):>10}{fmt_ms(pooled['F']):>11}"
|
||||
f"{fmt_ratio(pooled_left):>7}{fmt_ratio(pooled_rescan):>7}"
|
||||
)
|
||||
|
||||
spread = []
|
||||
for pair, values, pooled_value in (
|
||||
("L/F", per_round_ratios["L/F"], pooled_left),
|
||||
("N/F", per_round_ratios["N/F"], pooled_rescan),
|
||||
):
|
||||
if values:
|
||||
spread.append(
|
||||
f"{pair} {min(values):.2f}..{max(values):.2f} over {len(values)} round(s), "
|
||||
f"pooled {fmt_ratio(pooled_value)}"
|
||||
)
|
||||
if spread:
|
||||
print(f" {case}: " + "; ".join(spread))
|
||||
print()
|
||||
|
||||
|
||||
def main():
|
||||
collected, loads = load(sys.argv[1])
|
||||
if not collected:
|
||||
raise SystemExit(f"no records in {sys.argv[1]}")
|
||||
|
||||
print(f"{len(collected)} case(s): {', '.join(collected)}")
|
||||
if loads:
|
||||
print(f"host load average during the runs: min {min(loads):.1f}, "
|
||||
f"median {median(loads):.1f}, max {max(loads):.1f}")
|
||||
print()
|
||||
|
||||
print("## Per-arm timings, all rounds and timed iterations\n")
|
||||
header = (f"{'case':<8}{'arm':<4}{'mode':<20}{'runs':>5}{'rows':>8}{'hits':>6}"
|
||||
f"{'median':>9}{'min':>8}{'max':>8}")
|
||||
print(header)
|
||||
print("-" * len(header))
|
||||
medians = {}
|
||||
for case, arms in collected.items():
|
||||
for arm in ARMS:
|
||||
entries = [entry for rounds in arms.get(arm, {}).values() for entry in rounds]
|
||||
if not entries:
|
||||
continue
|
||||
times = [entry["ms"] for entry in entries]
|
||||
medians[(case, arm)] = median(times)
|
||||
print(
|
||||
f"{case:<8}{arm:<4}{ARM_LABEL[arm]:<20}{len(times):>5}"
|
||||
f"{'/'.join(map(str, sorted({e['rows'] for e in entries}))):>8}"
|
||||
f"{'/'.join(map(str, sorted({e['hits'] for e in entries}))):>6}"
|
||||
f"{median(times):>9.1f}{min(times):>8.1f}{max(times):>8.1f}"
|
||||
)
|
||||
print()
|
||||
|
||||
print("## Ratios: ordinary time / fused time, so above 1 means fusion is faster\n")
|
||||
header = (f"{'case':<8}{'L off':>9}{'N rescan':>10}{'F indexed':>11}"
|
||||
f"{'L/N':>7}{'L/F':>7}{'N/F':>7}{'N->F':>8}")
|
||||
print(header)
|
||||
print("-" * len(header))
|
||||
for case in collected:
|
||||
left, rescan, fixed = (medians.get((case, arm)) for arm in ARMS)
|
||||
if None in (left, rescan, fixed):
|
||||
continue
|
||||
print(
|
||||
f"{case:<8}{left:>9.1f}{rescan:>10.1f}{fixed:>11.1f}"
|
||||
f"{left / rescan:>7.2f}{left / fixed:>7.2f}{rescan / fixed:>7.2f}"
|
||||
f"{100 * (rescan - fixed) / rescan:>7.0f}%"
|
||||
)
|
||||
print()
|
||||
|
||||
print(
|
||||
"## Per-round medians and ratios: ordinary time / fused time, so above 1 means "
|
||||
"fusion is faster\n"
|
||||
)
|
||||
print(PER_ROUND_HEADER)
|
||||
print("-" * len(PER_ROUND_HEADER))
|
||||
for case, arms in collected.items():
|
||||
report_per_round(case, arms)
|
||||
|
||||
# The same table on process CPU. Wall clock on a shared host carries the load average
|
||||
# printed above; the CPU the query cost does not, so a ratio that holds here and not in
|
||||
# the wall table is load noise rather than a property of the plan.
|
||||
if any("cpu_ms" in entry for arms in collected.values() for rounds in arms.values()
|
||||
for entries in rounds.values() for entry in entries):
|
||||
print(
|
||||
"## Per-round CPU per query and ratios: ordinary CPU / fused CPU, so above 1 "
|
||||
"means fusion burns less\n"
|
||||
)
|
||||
print(PER_ROUND_HEADER)
|
||||
print("-" * len(PER_ROUND_HEADER))
|
||||
for case, arms in collected.items():
|
||||
report_per_round(case, arms, field="cpu_ms")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -18,12 +18,17 @@ use std::sync::Arc;
|
||||
|
||||
use criterion::{BenchmarkId, Criterion, criterion_group};
|
||||
use datafusion::arrow::array::{Array, Float64Array, TimestampMillisecondArray};
|
||||
use datafusion::arrow::buffer::Buffer;
|
||||
use datafusion::arrow::datatypes::TimeUnit;
|
||||
use datafusion::physical_plan::ColumnarValue;
|
||||
use datafusion_common::ScalarValue;
|
||||
use datafusion_common::config::ConfigOptions;
|
||||
use datafusion_expr::ScalarFunctionArgs;
|
||||
use datatypes::arrow::datatypes::{DataType, Field};
|
||||
use datatypes::series::MetricName;
|
||||
use datatypes::series::raw::{RawSeriesChunk, RawTimestamps};
|
||||
use datatypes::series::samples::{FieldSpec, Samples, SeriesFields, SeriesSchema};
|
||||
use datatypes::series::time::{EvalGrid, GridSpec};
|
||||
use promql::extension_plan::RangeManipulateStream;
|
||||
use promql::functions::{
|
||||
AbsentOverTime, Changes, CountOverTime, Delta, DoubleExponentialSmoothing, IDelta, Increase,
|
||||
@@ -31,6 +36,7 @@ use promql::functions::{
|
||||
Resets, SumOverTime,
|
||||
};
|
||||
use promql::range_array::RangeArray;
|
||||
use promql::range_eval::{RangeEvaluator, RangeFunction, RangeWindow};
|
||||
|
||||
/// A `window_step` below `window_size` makes consecutive windows overlap, which is the normal
|
||||
/// PromQL range query shape.
|
||||
@@ -1248,8 +1254,349 @@ fn bench_cursor_scan_carriers(c: &mut Criterion) {
|
||||
group.finish();
|
||||
}
|
||||
|
||||
/// The native evaluator's own cost, on the input the fused node feeds it.
|
||||
///
|
||||
/// One series of 2 880 samples at 15 s, evaluated on a 7 200-point 1 s grid, with a 5 min
|
||||
/// window (20 samples per window) and a 1 h window (240). The value shapes separate the
|
||||
/// counter-reset work from the rest: `rising` never resets, `resetting` restarts every 240
|
||||
/// samples so a 1 h window holds at most one, and `max_over_time` runs over the same windows
|
||||
/// but never corrects counters, which is the floor this work sits on.
|
||||
///
|
||||
/// **Timed scope, identical in every case:** `RangeEvaluator::try_new` + one `push` per
|
||||
/// prepared chunk + `finish`. The chunks, schema and grid are built once before timing and
|
||||
/// `push` borrows them, so no case pays for input construction inside the measurement.
|
||||
fn bench_native_range_eval(c: &mut Criterion) {
|
||||
let mut group = c.benchmark_group("native_range_eval");
|
||||
const SAMPLES: usize = 2_880;
|
||||
const SAMPLE_INTERVAL_MS: i64 = 15_000;
|
||||
const GRID_POINTS: u64 = 7_200;
|
||||
const START_MS: i64 = 1_700_000_000_000;
|
||||
|
||||
let schema = Arc::new(SeriesSchema {
|
||||
fields: vec![FieldSpec {
|
||||
name: Arc::from("value"),
|
||||
}]
|
||||
.into(),
|
||||
eval_grid: None,
|
||||
});
|
||||
let grid = Arc::new(
|
||||
EvalGrid::try_new(GridSpec::try_new(START_MS, 1_000, GRID_POINTS).unwrap()).unwrap(),
|
||||
);
|
||||
|
||||
let rising: Vec<f64> = (0..SAMPLES).map(|i| i as f64 * 15.0).collect();
|
||||
let resetting: Vec<f64> = (0..SAMPLES).map(|i| (i % 240) as f64 * 15.0).collect();
|
||||
|
||||
for (shape, values) in [("rising", &rising), ("resetting", &resetting)] {
|
||||
let timestamps: Vec<i64> = (0..SAMPLES)
|
||||
.map(|i| START_MS + i as i64 * SAMPLE_INTERVAL_MS)
|
||||
.collect();
|
||||
let time = RawTimestamps::try_new(timestamps.into()).unwrap();
|
||||
let fields = SeriesFields::try_from_vec(vec![Samples::from_float(Float64Array::from(
|
||||
values.clone(),
|
||||
))])
|
||||
.unwrap();
|
||||
let chunk = RawSeriesChunk::try_new(
|
||||
&schema,
|
||||
Buffer::from(vec![0u8]),
|
||||
Some(MetricName::try_new(Some(Arc::from("metric")), vec![]).unwrap()),
|
||||
time,
|
||||
fields,
|
||||
true,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
// `present_over_time` ignores the window contents and returns a constant, so it isolates
|
||||
// the per-point bookkeeping -- the two binary searches, the `FloatWindow` construction,
|
||||
// and `GridSeriesBuilder::push` -- from any kernel arithmetic. Subtracting it from `rate`
|
||||
// gives the kernel's own share.
|
||||
for (function, name) in [
|
||||
(RangeFunction::Rate, "rate"),
|
||||
(RangeFunction::MaxOverTime, "max_over_time"),
|
||||
(RangeFunction::PresentOverTime, "present_over_time"),
|
||||
] {
|
||||
for (range_ms, window) in [(300_000i64, "5m"), (3_600_000, "1h")] {
|
||||
let range = RangeWindow {
|
||||
range_ms,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
};
|
||||
group.bench_with_input(
|
||||
BenchmarkId::new(name, format!("{shape}_w{window}")),
|
||||
&(),
|
||||
|b, _| {
|
||||
b.iter(|| {
|
||||
let mut evaluator =
|
||||
RangeEvaluator::try_new(&schema, grid.clone(), range, function)
|
||||
.unwrap();
|
||||
let series = evaluator.push(&chunk).unwrap();
|
||||
evaluator.finish().unwrap();
|
||||
series
|
||||
})
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group.finish();
|
||||
}
|
||||
|
||||
/// Builds the legacy input for one series: `grid_points` 1 s evaluation timestamps over
|
||||
/// `samples` raw values taken every 15 s, each window holding the samples of the last
|
||||
/// `window_ms`, exactly what `PromRangeManipulate` hands the rate UDF in the real plan.
|
||||
fn make_legacy_grid_input(
|
||||
values: &[f64],
|
||||
grid_points: usize,
|
||||
window_ms: i64,
|
||||
) -> Vec<ColumnarValue> {
|
||||
const SAMPLE_INTERVAL_MS: i64 = 15_000;
|
||||
const STEP_MS: i64 = 1_000;
|
||||
let sample_ts: Vec<i64> = (0..values.len())
|
||||
.map(|k| k as i64 * SAMPLE_INTERVAL_MS)
|
||||
.collect();
|
||||
let ts_array = Arc::new(TimestampMillisecondArray::from(sample_ts));
|
||||
let val_array = Arc::new(Float64Array::from(values.to_vec()));
|
||||
|
||||
let mut ranges: Vec<(u32, u32)> = Vec::with_capacity(grid_points);
|
||||
let mut eval_ts: Vec<i64> = Vec::with_capacity(grid_points);
|
||||
for i in 0..grid_points {
|
||||
let now = i as i64 * STEP_MS;
|
||||
let first = now - window_ms;
|
||||
// Samples are aligned to the grid origin, so the index bounds are exact division.
|
||||
let lo = if first <= 0 {
|
||||
0
|
||||
} else {
|
||||
((first + SAMPLE_INTERVAL_MS - 1) / SAMPLE_INTERVAL_MS) as usize
|
||||
};
|
||||
let hi = now / SAMPLE_INTERVAL_MS;
|
||||
let hi = (hi as usize).min(values.len().saturating_sub(1));
|
||||
if lo > hi {
|
||||
continue;
|
||||
}
|
||||
ranges.push((lo as u32, (hi - lo + 1) as u32));
|
||||
eval_ts.push(now);
|
||||
}
|
||||
|
||||
let ts_range = RangeArray::from_ranges(ts_array, ranges.clone()).unwrap();
|
||||
let val_range = RangeArray::from_ranges(val_array, ranges).unwrap();
|
||||
vec![
|
||||
ColumnarValue::Array(Arc::new(ts_range.into_dict())),
|
||||
ColumnarValue::Array(Arc::new(val_range.into_dict())),
|
||||
ColumnarValue::Array(Arc::new(TimestampMillisecondArray::from(eval_ts))),
|
||||
ColumnarValue::Scalar(ScalarValue::Int64(Some(window_ms))),
|
||||
]
|
||||
}
|
||||
|
||||
/// The two implementations of the same range function on identical input.
|
||||
///
|
||||
/// The fused node evaluates raw samples through [`RangeEvaluator`]; the ordinary plan expands
|
||||
/// each grid point into a sliding range and calls the UDF. Their difference is the only place
|
||||
/// the fused path can win or lose against the plan it replaces, and it is invisible in
|
||||
/// `EXPLAIN VERBOSE` because `FusedSeriesExec` reports no metrics.
|
||||
///
|
||||
/// **Three timed scopes, deliberately unequal:**
|
||||
///
|
||||
/// | case | scope | compares against |
|
||||
/// | --- | --- | --- |
|
||||
/// | `native/` | `RangeEvaluator::try_new` + `push` + `finish` | — |
|
||||
/// | `legacy_udf_only/` | the UDF call, input prepared outside | a lower bound, not a rival |
|
||||
/// | `legacy_full/` | `prom_range_manipulate` + the UDF call | `native/` |
|
||||
///
|
||||
/// `RangeEvaluator::push` both ingests raw samples and assembles every window, which in the
|
||||
/// ordinary plan is split between `PromRangeManipulate` and the UDF. Comparing `native/` against
|
||||
/// `legacy_udf_only/` therefore compares one side's whole job with the other's half of it.
|
||||
/// `legacy_full/` exists so the two arms are charged for the same work.
|
||||
///
|
||||
/// Input is one series of 2 880 samples at 15 s — 12 h of data, so a 2 h grid reads 480 of
|
||||
/// them — evaluated on the same 7 201-point 1 s grid for both, over a 5 min and a 1 h window.
|
||||
fn bench_native_vs_legacy(c: &mut Criterion) {
|
||||
let mut group = c.benchmark_group("native_vs_legacy");
|
||||
const SAMPLES: usize = 2_880;
|
||||
const GRID_POINTS: usize = 7_201;
|
||||
const SAMPLE_INTERVAL_MS: i64 = 15_000;
|
||||
|
||||
let schema = Arc::new(SeriesSchema {
|
||||
fields: vec![FieldSpec {
|
||||
name: Arc::from("value"),
|
||||
}]
|
||||
.into(),
|
||||
eval_grid: None,
|
||||
});
|
||||
let grid = Arc::new(
|
||||
EvalGrid::try_new(GridSpec::try_new(0, 1_000, GRID_POINTS as u64).unwrap()).unwrap(),
|
||||
);
|
||||
let timestamps: Vec<i64> = (0..SAMPLES)
|
||||
.map(|k| k as i64 * SAMPLE_INTERVAL_MS)
|
||||
.collect();
|
||||
let rising: Vec<f64> = (0..SAMPLES).map(|i| i as f64 * 15.0).collect();
|
||||
let rate_udf = Rate::scalar_udf();
|
||||
|
||||
for (range_ms, window) in [(300_000i64, "5m"), (3_600_000, "1h")] {
|
||||
let time = RawTimestamps::try_new(timestamps.clone().into()).unwrap();
|
||||
let chunk = RawSeriesChunk::try_new(
|
||||
&schema,
|
||||
Buffer::from(vec![0u8]),
|
||||
Some(MetricName::try_new(Some(Arc::from("metric")), vec![]).unwrap()),
|
||||
time,
|
||||
SeriesFields::try_from_vec(vec![Samples::from_float(Float64Array::from(
|
||||
rising.clone(),
|
||||
))])
|
||||
.unwrap(),
|
||||
true,
|
||||
)
|
||||
.unwrap();
|
||||
// The legacy input is built *after* the native case, not before both: a 1 h window holds
|
||||
// 7 201 x 241 range indices (~1.7 M usizes), and holding that allocation alive during the
|
||||
// native measurement would charge the native arm for allocator and cache pressure it does
|
||||
// not cause.
|
||||
group.bench_with_input(BenchmarkId::new("native/rate", window), &(), |b, _| {
|
||||
b.iter(|| {
|
||||
let mut evaluator = RangeEvaluator::try_new(
|
||||
&schema,
|
||||
grid.clone(),
|
||||
RangeWindow {
|
||||
range_ms,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
},
|
||||
RangeFunction::Rate,
|
||||
)
|
||||
.unwrap();
|
||||
let series = evaluator.push(&chunk).unwrap();
|
||||
evaluator.finish().unwrap();
|
||||
series
|
||||
})
|
||||
});
|
||||
// The UDF alone, with its input prepared outside the loop. This is what
|
||||
// `ProjectionExec` pays, not what the whole legacy range-function path pays, so it is a
|
||||
// lower bound rather than the number to compare against the evaluator.
|
||||
let legacy = PreparedUdfCall::new(make_legacy_grid_input(&rising, GRID_POINTS, range_ms));
|
||||
group.bench_with_input(
|
||||
BenchmarkId::new("legacy_udf_only/rate", window),
|
||||
&(),
|
||||
|b, _| b.iter(|| invoke_prepared(&rate_udf, &legacy)),
|
||||
);
|
||||
drop(legacy);
|
||||
|
||||
// The legacy path's whole range-function cost: build the sliding ranges the way
|
||||
// `PromRangeManipulate` does, then call the UDF. `RangeEvaluator::push` does both for the
|
||||
// native arm -- it ingests raw samples and assembles each window -- so only this scope is
|
||||
// comparable with the `native/` case above.
|
||||
group.bench_with_input(BenchmarkId::new("legacy_full/rate", window), &(), |b, _| {
|
||||
b.iter(|| {
|
||||
let prepared =
|
||||
PreparedUdfCall::new(make_legacy_grid_input(&rising, GRID_POINTS, range_ms));
|
||||
invoke_prepared(&rate_udf, &prepared)
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
group.finish();
|
||||
}
|
||||
|
||||
/// The evaluator's per-sample work, isolated from its per-grid-point work.
|
||||
///
|
||||
/// `RangeEvaluator::push` copies every input sample into growable `Vec<i64>` / `Vec<f64>`, even
|
||||
/// though `RawSeriesChunk` hands it Arrow buffers it could keep. With a one-point grid the
|
||||
/// evaluation is a single window and the rest of the time is that copy, so this measures the
|
||||
/// cost per input sample on its own.
|
||||
///
|
||||
/// The comparison is against a path that reads the same Arrow buffer without copying it: the
|
||||
/// window times one sequential pass over the values, which is what a zero-copy evaluator would
|
||||
/// pay per sample. Both use the same input and the same grid.
|
||||
fn bench_ingest(c: &mut Criterion) {
|
||||
let mut group = c.benchmark_group("ingest");
|
||||
const SAMPLES: usize = 200_000;
|
||||
const SAMPLE_INTERVAL_MS: i64 = 15_000;
|
||||
|
||||
let schema = Arc::new(SeriesSchema {
|
||||
fields: vec![FieldSpec {
|
||||
name: Arc::from("value"),
|
||||
}]
|
||||
.into(),
|
||||
eval_grid: None,
|
||||
});
|
||||
// One grid point: every sample is ingested, almost none are evaluated.
|
||||
let grid = Arc::new(EvalGrid::try_new(GridSpec::try_new(0, 1_000, 1).unwrap()).unwrap());
|
||||
let timestamps: Vec<i64> = (0..SAMPLES as i64)
|
||||
.map(|k| k * SAMPLE_INTERVAL_MS)
|
||||
.collect();
|
||||
let values: Vec<f64> = (0..SAMPLES).map(|i| i as f64 * 15.0).collect();
|
||||
let chunk = RawSeriesChunk::try_new(
|
||||
&schema,
|
||||
Buffer::from(vec![0u8]),
|
||||
Some(MetricName::try_new(Some(Arc::from("metric")), vec![]).unwrap()),
|
||||
RawTimestamps::try_new(timestamps.clone().into()).unwrap(),
|
||||
SeriesFields::try_from_vec(vec![Samples::from_float(Float64Array::from(
|
||||
values.clone(),
|
||||
))])
|
||||
.unwrap(),
|
||||
true,
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
group.bench_function(BenchmarkId::new("evaluator_push", SAMPLES), |b| {
|
||||
b.iter(|| {
|
||||
let mut evaluator = RangeEvaluator::try_new(
|
||||
&schema,
|
||||
grid.clone(),
|
||||
RangeWindow {
|
||||
// A window covering the whole series, so nothing is dropped early and every
|
||||
// sample is retained.
|
||||
range_ms: SAMPLE_INTERVAL_MS * SAMPLES as i64,
|
||||
offset_ms: 0,
|
||||
anchor_ms: None,
|
||||
},
|
||||
RangeFunction::PresentOverTime,
|
||||
)
|
||||
.unwrap();
|
||||
let series = evaluator.push(&chunk).unwrap();
|
||||
evaluator.finish().unwrap();
|
||||
series
|
||||
})
|
||||
});
|
||||
|
||||
// The floor: what touching every sample costs when it is only read, not copied.
|
||||
let arrow = Float64Array::from(values);
|
||||
group.bench_function(BenchmarkId::new("read_only", SAMPLES), |b| {
|
||||
b.iter(|| {
|
||||
let mut sum = 0.0f64;
|
||||
for index in 0..arrow.len() {
|
||||
sum += arrow.value(index);
|
||||
}
|
||||
std::hint::black_box(sum)
|
||||
})
|
||||
});
|
||||
|
||||
// What `ingest` could cost if it kept the `Vec` representation -- which the contiguous
|
||||
// `&[i64]` / `&[f64]` windows require -- but filled it in bulk instead of one sample at a
|
||||
// time: two `extend_from_slice` copies plus one branchless pass rejecting stale markers
|
||||
// before the copy. This is the achievable floor for a fast path that handles the dense,
|
||||
// null-free, zero-offset shape and falls back to the current loop otherwise.
|
||||
group.bench_function(BenchmarkId::new("bulk_copy", SAMPLES), |b| {
|
||||
b.iter(|| {
|
||||
let mut out_timestamps: Vec<i64> = Vec::with_capacity(arrow.len());
|
||||
let mut out_values: Vec<f64> = Vec::with_capacity(arrow.len());
|
||||
let stale = arrow
|
||||
.values()
|
||||
.iter()
|
||||
.any(|value| common_query::prometheus::is_prometheus_stale_nan(*value));
|
||||
if !stale {
|
||||
out_timestamps.extend_from_slice(×tamps);
|
||||
out_values.extend_from_slice(arrow.values());
|
||||
}
|
||||
std::hint::black_box((out_timestamps, out_values))
|
||||
})
|
||||
});
|
||||
|
||||
group.finish();
|
||||
}
|
||||
|
||||
criterion_group!(
|
||||
benches,
|
||||
bench_native_range_eval,
|
||||
bench_ingest,
|
||||
bench_native_vs_legacy,
|
||||
bench_range_functions,
|
||||
bench_presence_range_functions,
|
||||
bench_delta_rate_comparison,
|
||||
|
||||
Reference in New Issue
Block a user