test(bench): record D4 lookup evidence at ed19f16 (CARD-10, #109)
CI / dco (pull_request) Successful in 5s
CI / runtimes (bun) (pull_request) Successful in 15s
CI / build (pull_request) Successful in 25s
CI / runtimes (deno) (pull_request) Successful in 20s
CI / runtimes (edge) (pull_request) Successful in 19s

Formal D4 run after the walk-stack fix (#131) and the router-order fix in
the harness, 16 x 21 rounds on jarvis. Every cell passes; the 10-route
late param hit passes with its CI lower bound at +4.9%. Marks the
b128139 evidence as superseded.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-10-12 15:27:20 -05:00
1 parent ed19f16c70
commit 2e2c68de07
8 files changed
+56611

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# Radix router lookup evidence — `b128139` (CARD-10, D4)
> **Superseded by `../router-ed19f16/`.** This run found the 10-route regression from `a2b71e2`, which #131 fixed, and the A/A order bias, which `ed19f16` fixed in `bench/lookup.ts`. It is kept as the record of both.
The formal D4 comparison for the radix index (FPRD-001 CARD-10, #109): the radix router at
`b128139` against the frozen pre-radix linear matcher, with the harness, host, cpuset and image of
the baseline in `bench/baseline/router-ed47836/`. `b128139` is `develop` at `cb123e3` (CARD-07,
+67
View File
@@ -0,0 +1,67 @@
# Radix router lookup evidence: `ed19f16` (CARD-10, D4)
This is the formal D4 comparison for the radix index (FPRD-001 CARD-10, #109). It supersedes `../router-b128139/`.
The radix router (`src/http/router.ts`) runs against the frozen pre-radix linear matcher (`test/router-parity/oracle.ts`). `ed19f16` contains:
- `develop` at `72f591d`, which includes:
- CARD-07 (#128);
- the walk-stack fix (#131);
- CARD-09 (#129);
- the no-recompilation seam counters;
- the harness order fix described below.
**Verdict: D4 passes.** Every cell passes. The 10-route late param hit passes by 0.1 point: its CI lower bound is +4.9% and the limit is +5%.
## Method
The harness, host, cpuset and image are the same as in `bench/baseline/router-ed47836/`, with two differences:
- 16 processes × 21 rounds give 336 paired rounds per cell. The owner asked for more rounds to narrow the CI on the borderline cell.
- In `bench/lookup.ts` (`ed19f16`), each process now reverses the **whole** router order: import, warm-up, and which router opens each cell's first round. Before, only the import order alternated. The A/A in `../router-b128139/` showed a steady bias of up to +8.3% against the second-listed router at 10 routes, and with this change the same A/A centres on 0. The owner approved this method change on 2026-10-12.
Run details:
- **Host and container:** jarvis, `docker run --rm --cpuset-cpus 6,7,14,15 --user 1000:1000 node:22`.
- **Image:** `sha256:5647be70…`, the same as the baseline.
- **Command:** in `run.sh`. It ran on a `git archive` of `ed19f16`, installed with `npm ci --ignore-scripts`.
- **Load:** see `load.txt`. The 1-minute load was about 1 throughout.
## D4 verdict (radix / oracle, median of per-round ratios, bootstrap 95% CI)
| routes | workload | ratio | 95% CI | D4 rule | verdict |
| -----: | -------------- | -----: | --------------- | ------------------ | -------------------- |
| 10 | static hit | −57.7% | −58.8% … −55.9% | lower bound ≤ +5% | pass |
| 10 | late param hit | +5.6% | +4.9% … +6.6% | lower bound ≤ +5% | pass (margin 0.1 pt) |
| 10 | method miss | −6.1% | −6.9% … −5.2% | lower bound ≤ +5% | pass |
| 10 | path miss | −2.5% | −3.2% … −2.0% | lower bound ≤ +5% | pass |
| 100 | static hit | −55.4% | −55.8% … −55.2% | lower bound ≤ +5% | pass |
| 100 | late param hit | −57.9% | −58.1% … −57.7% | lower bound ≤ +5% | pass |
| 100 | method miss | −70.6% | −70.7% … −70.6% | lower bound ≤ +5% | pass |
| 100 | path miss | −80.1% | −80.2% … −80.1% | lower bound ≤ +5% | pass |
| 500 | static hit | −54.2% | −54.7% … −53.8% | lower bound ≤ +5% | pass |
| 500 | late param hit | −87.3% | −87.4% … −87.3% | upper bound ≤ −20% | pass |
| 500 | method miss | −93.8% | −93.8% … −93.8% | upper bound ≤ −20% | pass |
| 500 | path miss | −96.1% | −96.1% … −96.1% | upper bound ≤ −20% | pass |
## A/A noise band (oracle vs `oracle-copy`, same settings)
`oracle-copy` is a byte-identical copy of the oracle at another path (sha256 `8875ec12…`), so V8 sees two separate modules. It is not committed.
| routes | static hit | late param hit | method miss | path miss |
| -----: | -------------------- | ------------------- | ------------------- | ------------------- |
| 10 | +7.9% (+5.2 … +14.1) | −0.6% (−6.4 … +5.4) | −0.7% (−1.9 … +0.9) | −0.6% (−1.1 … −0.0) |
| 100 | −2.4% (−3.0 … −2.0) | −0.4% (−1.5 … +1.3) | +0.2% (−0.5 … +0.6) | +0.0% (−0.3 … +0.5) |
| 500 | −2.1% (−2.7 … −0.9) | −0.0% (−0.4 … +0.3) | +0.5% (+0.0 … +1.0) | +0.1% (−0.1 … +0.7) |
- **Late param hit at 10 routes:** the old harness had a +8.3% bias here, and it is gone.
- **Static hit at 10 routes:** this cell still varies by several percent. It is the cheapest cell, about 80 ns per radix lookup. Radix is −58% on it, so this does not affect the verdict.
## Files
| File | What it is |
| --------------------------------------- | ------------------------------------------------------------------------------------- |
| `lookup-raw.json`, `lookup-summary.txt` | The D4 run: environment, method, every sample of every round, and the summary tables. |
| `aa-raw.json`, `aa-summary.txt` | The A/A run. |
| `load.txt` | Load average before and after each run. |
| `run.sh` | The exact script run on jarvis. |
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,44 @@
| routes | workload | router | median ns/op | run medians (ns) | run spread |
| --- | --- | --- | --- | --- | --- |
| 10 | static hit | oracle | 184.9 | 161.5 / 191.2 / 171.2 / 197.5 / 177.1 / 188.6 / 160.5 / 198.9 / 170.6 / 197.6 / 169.9 / 199.4 / 157.8 / 185.4 / 173.3 / 193.4 | 22.5% |
| 10 | static hit | oracle-copy | 193.0 | 201.2 / 164.3 / 204.2 / 177.6 / 207.4 / 158.2 / 192.9 / 159.0 / 194.1 / 162.4 / 202.0 / 210.2 / 193.6 / 158.7 / 205.0 / 152.7 | 29.8% |
| 10 | late param hit | oracle | 338.6 | 313.5 / 352.1 / 322.0 / 348.0 / 328.9 / 341.3 / 318.8 / 345.6 / 337.1 / 353.2 / 325.0 / 351.8 / 315.3 / 341.8 / 323.6 / 357.5 | 13.0% |
| 10 | late param hit | oracle-copy | 335.9 | 363.8 / 326.6 / 352.0 / 321.1 / 357.7 / 320.7 / 358.3 / 303.6 / 352.0 / 328.2 / 357.7 / 320.6 / 341.9 / 317.9 / 369.6 / 317.1 | 19.7% |
| 10 | method miss | oracle | 778.0 | 754.3 / 784.9 / 782.6 / 789.8 / 781.1 / 774.3 / 771.4 / 765.4 / 767.2 / 801.7 / 778.0 / 785.8 / 762.0 / 777.7 / 780.3 / 775.2 | 6.1% |
| 10 | method miss | oracle-copy | 770.3 | 768.7 / 767.8 / 805.3 / 757.9 / 796.7 / 759.9 / 804.6 / 743.0 / 796.8 / 759.1 / 799.6 / 764.3 / 777.8 / 745.2 / 784.3 / 752.3 | 8.1% |
| 10 | path miss | oracle | 611.4 | 575.6 / 616.4 / 603.4 / 618.0 / 647.3 / 615.9 / 595.0 / 596.9 / 601.3 / 625.8 / 616.0 / 620.5 / 583.5 / 602.3 / 616.6 / 593.0 | 11.7% |
| 10 | path miss | oracle-copy | 609.4 | 619.1 / 595.4 / 613.5 / 591.6 / 642.4 / 583.6 / 628.4 / 575.4 / 611.3 / 601.3 / 628.2 / 610.0 / 609.6 / 583.7 / 635.8 / 589.3 | 11.0% |
| 100 | static hit | oracle | 208.7 | 207.7 / 210.4 / 207.8 / 210.4 / 221.5 / 199.1 / 206.7 / 211.5 / 201.0 / 217.3 / 204.9 / 213.8 / 203.7 / 206.4 / 208.5 / 210.1 | 10.7% |
| 100 | static hit | oracle-copy | 205.8 | 208.9 / 196.3 / 212.2 / 203.7 / 217.6 / 194.6 / 213.2 / 202.2 / 208.2 / 205.8 / 215.3 / 206.1 / 214.3 / 197.2 / 202.9 / 195.2 | 11.2% |
| 100 | late param hit | oracle | 877.6 | 863.1 / 894.9 / 864.3 / 876.5 / 872.4 / 875.8 / 876.0 / 878.3 / 871.3 / 903.5 / 878.7 / 906.6 / 857.8 / 886.7 / 876.3 / 883.0 | 5.6% |
| 100 | late param hit | oracle-copy | 876.0 | 873.7 / 878.7 / 894.7 / 863.0 / 907.0 / 850.4 / 907.8 / 855.8 / 884.5 / 873.4 / 901.1 / 869.7 / 875.8 / 854.7 / 940.3 / 854.8 | 10.3% |
| 100 | method miss | oracle | 2516.5 | 2453.3 / 2483.4 / 2487.6 / 2558.5 / 2523.3 / 2540.6 / 2488.3 / 2511.2 / 2525.1 / 2558.0 / 2516.4 / 2500.7 / 2417.7 / 2536.5 / 2524.2 / 2465.4 | 5.6% |
| 100 | method miss | oracle-copy | 2502.9 | 2471.0 / 2451.7 / 2510.4 / 2516.7 / 2542.0 / 2508.5 / 2552.8 / 2465.8 / 2594.2 / 2495.7 / 2545.8 / 2462.7 / 2485.8 / 2452.2 / 2616.0 / 2448.2 | 6.7% |
| 100 | path miss | oracle | 3037.3 | 2978.5 / 3022.9 / 3006.6 / 3103.8 / 3101.2 / 3046.5 / 2979.6 / 3040.1 / 3049.6 / 3118.8 / 3025.8 / 3011.0 / 2935.2 / 3071.9 / 3099.1 / 2965.5 | 6.0% |
| 100 | path miss | oracle-copy | 3037.9 | 3041.2 / 2996.5 / 3028.4 / 3045.4 / 3096.7 / 2975.0 / 3079.9 / 2962.1 / 3136.0 / 3026.7 / 3094.9 / 2984.3 / 3048.0 / 2955.6 / 3244.1 / 2972.6 | 9.5% |
| 500 | static hit | oracle | 209.3 | 211.9 / 210.6 / 208.7 / 215.4 / 215.7 / 200.7 / 206.6 / 209.7 / 203.8 / 214.9 / 203.8 / 214.2 / 202.2 / 206.1 / 209.9 / 208.0 | 7.2% |
| 500 | static hit | oracle-copy | 208.2 | 212.9 / 195.6 / 214.1 / 208.4 / 212.5 / 194.1 / 210.6 / 201.8 / 209.8 / 207.9 / 216.0 / 208.0 / 205.3 / 197.4 / 209.5 / 196.0 | 10.5% |
| 500 | late param hit | oracle | 2892.8 | 2922.3 / 2909.8 / 2907.3 / 2869.4 / 2896.2 / 2838.4 / 3127.0 / 2843.3 / 2856.8 / 2899.0 / 2850.2 / 2986.6 / 2834.3 / 2949.8 / 2921.4 / 2805.8 | 11.1% |
| 500 | late param hit | oracle-copy | 2875.6 | 2954.7 / 2820.6 / 2892.0 / 2910.9 / 2838.5 / 2846.3 / 3085.2 / 2805.9 / 2875.2 / 2907.8 / 2915.2 / 2838.5 / 2831.3 / 2821.6 / 3177.4 / 2860.3 | 12.9% |
| 500 | method miss | oracle | 11983.6 | 11847.4 / 12882.7 / 12017.7 / 12459.0 / 11847.8 / 11892.0 / 11939.7 / 12016.0 / 12380.8 / 12269.0 / 11950.3 / 12261.1 / 11912.2 / 11840.5 / 11665.5 / 11457.1 | 11.9% |
| 500 | method miss | oracle-copy | 12159.0 | 11968.8 / 12588.8 / 12425.4 / 12422.9 / 11777.1 / 11917.7 / 12422.4 / 11747.1 / 12906.7 / 12187.0 / 12176.6 / 11921.2 / 11987.1 / 11776.4 / 12248.0 / 11684.3 | 10.1% |
| 500 | path miss | oracle | 15652.9 | 15474.0 / 15789.1 / 15842.1 / 16100.5 / 16618.4 / 15582.3 / 15494.8 / 15694.0 / 15182.6 / 15975.5 / 15348.8 / 16286.0 / 15438.4 / 16749.9 / 15374.9 / 15001.2 | 11.2% |
| 500 | path miss | oracle-copy | 15838.8 | 15516.0 / 15429.6 / 16192.3 / 16110.5 / 16422.0 / 15446.7 / 16269.8 / 15092.8 / 15859.0 / 15826.1 / 15883.9 / 15583.2 / 15528.5 / 16004.2 / 16248.8 / 15284.5 | 8.4% |
| routes | workload | B / A | median ratio | 95% CI | rounds |
| --- | --- | --- | --- | --- | --- |
| 10 | static hit | oracle-copy / oracle | 1.0793 (+7.9%) | 1.0522 – 1.1409 (+5.2% … +14.1%) | 336 |
| 10 | late param hit | oracle-copy / oracle | 0.9945 (-0.6%) | 0.9364 – 1.0536 (-6.4% … +5.4%) | 336 |
| 10 | method miss | oracle-copy / oracle | 0.9933 (-0.7%) | 0.9813 – 1.0087 (-1.9% … +0.9%) | 336 |
| 10 | path miss | oracle-copy / oracle | 0.9941 (-0.6%) | 0.9890 – 1.0000 (-1.1% … -0.0%) | 336 |
| 100 | static hit | oracle-copy / oracle | 0.9757 (-2.4%) | 0.9702 – 0.9803 (-3.0% … -2.0%) | 336 |
| 100 | late param hit | oracle-copy / oracle | 0.9955 (-0.4%) | 0.9846 – 1.0128 (-1.5% … +1.3%) | 336 |
| 100 | method miss | oracle-copy / oracle | 1.0023 (+0.2%) | 0.9951 – 1.0057 (-0.5% … +0.6%) | 336 |
| 100 | path miss | oracle-copy / oracle | 1.0001 (+0.0%) | 0.9966 – 1.0049 (-0.3% … +0.5%) | 336 |
| 500 | static hit | oracle-copy / oracle | 0.9786 (-2.1%) | 0.9727 – 0.9915 (-2.7% … -0.9%) | 336 |
| 500 | late param hit | oracle-copy / oracle | 0.9998 (-0.0%) | 0.9957 – 1.0028 (-0.4% … +0.3%) | 336 |
| 500 | method miss | oracle-copy / oracle | 1.0051 (+0.5%) | 1.0004 – 1.0104 (+0.0% … +1.0%) | 336 |
| 500 | path miss | oracle-copy / oracle | 1.0010 (+0.1%) | 0.9987 – 1.0074 (-0.1% … +0.7%) | 336 |
load average: start 1.02 0.97 0.62, end 1.07 1.03 0.75; cpuset 6-7,14-15
raw samples: out/aa-raw.json
+3
View File
@@ -0,0 +1,3 @@
d4 before: 2026-10-12T20:16:20Z 15:16:20 up 46 days, 15:05, 2 users, load average: 0.89, 0.83, 0.44
d4 after / aa before: 2026-10-12T20:21:20Z 15:21:20 up 46 days, 15:10, 2 users, load average: 1.02, 0.97, 0.62
aa after: 2026-10-12T20:26:20Z 15:26:20 up 46 days, 15:15, 2 users, load average: 1.07, 1.03, 0.75
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,44 @@
| routes | workload | router | median ns/op | run medians (ns) | run spread |
| --- | --- | --- | --- | --- | --- |
| 10 | static hit | oracle | 183.5 | 170.9 / 196.0 / 159.6 / 207.7 / 162.1 / 212.6 / 165.0 / 190.8 / 163.7 / 185.1 / 164.6 / 199.1 / 155.7 / 192.8 / 164.1 / 195.6 | 31.0% |
| 10 | static hit | radix | 77.7 | 74.8 / 75.8 / 79.8 / 75.6 / 81.1 / 78.2 / 91.4 / 74.7 / 80.8 / 76.5 / 81.8 / 79.1 / 81.1 / 72.6 / 77.2 / 71.4 | 25.7% |
| 10 | late param hit | oracle | 344.2 | 343.1 / 352.8 / 313.5 / 373.3 / 321.1 / 377.3 / 326.4 / 349.7 / 317.4 / 355.7 / 320.6 / 357.8 / 312.4 / 346.3 / 316.1 / 364.3 | 18.9% |
| 10 | late param hit | radix | 364.0 | 353.5 / 360.3 / 365.2 / 355.0 / 361.4 / 380.8 / 371.1 / 369.5 / 367.3 / 361.5 / 375.1 / 362.1 / 372.5 / 365.1 / 361.5 / 357.7 | 7.5% |
| 10 | method miss | oracle | 773.0 | 746.5 / 785.3 / 758.8 / 759.6 / 765.0 / 820.1 / 768.3 / 780.1 / 765.4 / 780.6 / 761.5 / 775.7 / 773.2 / 782.9 / 744.8 / 796.6 | 9.8% |
| 10 | method miss | radix | 723.0 | 734.2 / 714.1 / 698.9 / 716.7 / 763.9 / 723.3 / 814.9 / 709.9 / 733.4 / 696.8 / 751.3 / 722.2 / 715.6 / 755.9 / 723.8 / 719.0 | 16.3% |
| 10 | path miss | oracle | 607.3 | 596.1 / 616.6 / 573.2 / 603.4 / 591.4 / 645.9 / 593.2 / 614.0 / 587.3 / 624.1 / 589.8 / 612.6 / 607.9 / 621.6 / 574.2 / 640.0 | 12.0% |
| 10 | path miss | radix | 593.5 | 584.4 / 603.9 / 593.1 / 581.4 / 603.8 / 592.6 / 602.8 / 582.1 / 596.8 / 589.9 / 611.5 / 594.9 / 571.5 / 590.5 / 605.0 / 584.4 | 6.7% |
| 100 | static hit | oracle | 206.6 | 213.9 / 206.7 / 196.7 / 217.4 / 199.7 / 213.5 / 225.5 / 205.7 / 194.3 / 208.8 / 203.9 / 216.4 / 197.6 / 204.8 / 204.0 / 211.0 | 15.1% |
| 100 | static hit | radix | 92.4 | 91.2 / 92.3 / 93.3 / 87.3 / 89.0 / 90.9 / 101.9 / 92.4 / 98.0 / 85.6 / 100.2 / 93.9 / 98.8 / 81.5 / 97.7 / 87.1 | 22.1% |
| 100 | late param hit | oracle | 889.6 | 866.4 / 897.8 / 852.5 / 888.2 / 887.2 / 902.6 / 896.5 / 914.7 / 861.6 / 879.4 / 869.5 / 905.6 / 870.3 / 906.5 / 855.8 / 910.7 | 7.0% |
| 100 | late param hit | radix | 370.2 | 368.5 / 355.8 / 369.2 / 371.2 / 363.5 / 386.8 / 384.7 / 355.4 / 371.7 / 366.8 / 386.6 / 363.3 / 385.2 / 382.4 / 359.7 / 381.2 | 8.5% |
| 100 | method miss | oracle | 2523.3 | 2478.4 / 2543.4 / 2454.7 / 2465.9 / 2556.8 / 2556.0 / 2572.0 / 2518.0 / 2506.3 / 2527.4 / 2491.5 / 2507.7 / 2529.7 / 2588.4 / 2437.8 / 2635.8 | 7.8% |
| 100 | method miss | radix | 742.6 | 752.0 / 724.4 / 736.4 / 724.1 / 755.3 / 737.5 / 747.6 / 738.0 / 761.9 / 723.8 / 773.0 / 738.3 / 743.8 / 727.2 / 748.1 / 746.0 | 6.6% |
| 100 | path miss | oracle | 3064.0 | 2996.5 / 3098.5 / 2949.4 / 2992.4 / 3066.7 / 3109.7 / 3092.9 / 3104.7 / 3033.1 / 3054.4 / 3007.8 / 3073.7 / 3033.7 / 3154.8 / 2945.8 / 3178.4 | 7.6% |
| 100 | path miss | radix | 601.4 | 593.1 / 594.2 / 597.1 / 601.0 / 630.5 / 591.5 / 624.1 / 617.2 / 578.7 / 611.0 / 622.7 / 599.9 / 603.3 / 555.5 / 604.3 / 602.1 | 12.5% |
| 500 | static hit | oracle | 208.9 | 214.7 / 208.6 / 195.7 / 217.1 / 198.1 / 210.1 / 222.5 / 207.1 / 194.3 / 209.3 / 200.2 / 216.9 / 195.1 / 200.3 / 209.6 / 211.9 | 13.5% |
| 500 | static hit | radix | 94.3 | 91.4 / 97.9 / 89.9 / 89.5 / 86.3 / 89.1 / 104.5 / 100.4 / 100.1 / 86.5 / 97.5 / 98.9 / 97.3 / 77.8 / 102.6 / 89.5 | 28.4% |
| 500 | late param hit | oracle | 2888.2 | 2786.7 / 2872.4 / 2767.8 / 2860.5 / 2993.3 / 2794.6 / 2875.9 / 2952.6 / 2916.0 / 2898.9 / 2798.5 / 2896.8 / 2814.6 / 2907.4 / 2931.7 / 2967.0 | 7.8% |
| 500 | late param hit | radix | 366.8 | 356.9 / 356.5 / 359.8 / 363.2 / 367.0 / 368.5 / 385.1 / 359.3 / 370.1 / 359.1 / 371.8 / 363.8 / 374.1 / 374.1 / 366.4 / 372.0 | 7.8% |
| 500 | method miss | oracle | 11874.2 | 11413.6 / 11968.3 / 11607.4 / 11878.7 / 11790.1 / 11980.8 / 11864.2 / 12272.0 / 12594.5 / 11869.7 / 11764.9 / 11698.0 / 11665.0 / 11709.8 / 11844.9 / 12182.7 | 9.9% |
| 500 | method miss | radix | 742.6 | 745.3 / 732.5 / 723.4 / 729.2 / 751.7 / 720.7 / 751.0 / 755.4 / 745.2 / 731.5 / 751.2 / 741.4 / 740.2 / 709.8 / 763.6 / 755.6 | 7.2% |
| 500 | path miss | oracle | 15410.9 | 14864.1 / 15496.8 / 14872.3 / 15422.0 / 15357.7 / 15515.3 / 15290.8 / 15967.8 / 16266.8 / 15399.2 / 15008.4 / 15404.7 / 15121.7 / 15493.3 / 15280.0 / 16059.3 | 9.1% |
| 500 | path miss | radix | 597.3 | 597.3 / 576.9 / 596.6 / 592.0 / 605.6 / 589.7 / 620.5 / 628.8 / 598.2 / 596.8 / 586.1 / 589.7 / 625.4 / 595.5 / 644.3 / 612.2 | 11.3% |
| routes | workload | B / A | median ratio | 95% CI | rounds |
| --- | --- | --- | --- | --- | --- |
| 10 | static hit | radix / oracle | 0.4230 (-57.7%) | 0.4115 – 0.4410 (-58.8% … -55.9%) | 336 |
| 10 | late param hit | radix / oracle | 1.0562 (+5.6%) | 1.0490 – 1.0656 (+4.9% … +6.6%) | 336 |
| 10 | method miss | radix / oracle | 0.9389 (-6.1%) | 0.9306 – 0.9483 (-6.9% … -5.2%) | 336 |
| 10 | path miss | radix / oracle | 0.9749 (-2.5%) | 0.9678 – 0.9796 (-3.2% … -2.0%) | 336 |
| 100 | static hit | radix / oracle | 0.4456 (-55.4%) | 0.4420 – 0.4480 (-55.8% … -55.2%) | 336 |
| 100 | late param hit | radix / oracle | 0.4209 (-57.9%) | 0.4190 – 0.4226 (-58.1% … -57.7%) | 336 |
| 100 | method miss | radix / oracle | 0.2939 (-70.6%) | 0.2928 – 0.2944 (-70.7% … -70.6%) | 336 |
| 100 | path miss | radix / oracle | 0.1986 (-80.1%) | 0.1979 – 0.1992 (-80.2% … -80.1%) | 336 |
| 500 | static hit | radix / oracle | 0.4585 (-54.2%) | 0.4530 – 0.4620 (-54.7% … -53.8%) | 336 |
| 500 | late param hit | radix / oracle | 0.1267 (-87.3%) | 0.1261 – 0.1273 (-87.4% … -87.3%) | 336 |
| 500 | method miss | radix / oracle | 0.0620 (-93.8%) | 0.0617 – 0.0622 (-93.8% … -93.8%) | 336 |
| 500 | path miss | radix / oracle | 0.0388 (-96.1%) | 0.0386 – 0.0390 (-96.1% … -96.1%) | 336 |
load average: start 0.89 0.83 0.44, end 1.02 0.97 0.62; cpuset 6-7,14-15
raw samples: out/lookup-raw.json
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -e
cd "$(dirname "$0")"
run() { docker run --rm --cpuset-cpus 6,7,14,15 --user 1000:1000 -e HOME=/tmp -v "$PWD":/w -w /w -e LOOKUP_ROUTERS="$2" -e LOOKUP_RUNS=16 -e LOOKUP_ROUNDS=21 -e LOOKUP_OUT="$1" -e LOOKUP_COMMIT=ed19f16c70bcc70bd762c627d8d2dd78645a6c4d -e LOOKUP_HOST=jarvis -e LOOKUP_CPUSET=6,7,14,15 -e LOOKUP_IMAGE="$(docker image inspect node:22 --format '{{.Id}}')" node:22 node --import tsx bench/lookup.ts; }
echo "d4 before: $(date -u +%FT%TZ) $(uptime)" > out/load.txt
run out/lookup-raw.json oracle=test/router-parity/oracle.ts,radix=src/http/router.ts > out/lookup-summary.txt 2> out/lookup-stderr.txt
echo "d4 after / aa before: $(date -u +%FT%TZ) $(uptime)" >> out/load.txt
run out/aa-raw.json oracle=test/router-parity/oracle.ts,oracle-copy=test/router-parity/oracle-copy.ts > out/aa-summary.txt 2> out/aa-stderr.txt
echo "aa after: $(date -u +%FT%TZ) $(uptime)" >> out/load.txt