The baseline CARD-10 compares the radix index against, captured before any router change. Kept with its environment record and every raw sample. bench:lookup on the linear matcher, five runs of 105 samples per cell. Median ns per lookup: routes static hit late param method miss path miss 10 61.3 123.3 313.1 247.1 100 67.6 343.4 1263.7 1463.3 500 67.8 1326.8 6732.2 8973.4 Run-to-run spread of the per-run medians is 2.0-17.5%. An A/A run (live router against the byte-identical oracle, same protocol) differs by +5.2% on the 10-route static hit and by at most 2.7% elsewhere, so D4's 5% limit at 10 routes sits at the noise floor for that cell. That is recorded for the D4 decision, not resolved here. bench:compare, run once A/A, is stored separately as end-to-end req/s only: every case within 1.9%. Measured on an Apple M4 Max on battery power, load average 2.4-3.4 on 16 cores; the comparison run should use the same power source. Refs #109 Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
207 lines
3.7 KiB
JSON
207 lines
3.7 KiB
JSON
{
|
|
"rounds": 3,
|
|
"duration": 10,
|
|
"conns": 100,
|
|
"rows": [
|
|
{
|
|
"name": "hello",
|
|
"base": 88212.37,
|
|
"head": 88235.64,
|
|
"delta": 0.0263795202418936,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
82493.1,
|
|
88503.28,
|
|
88212.37
|
|
],
|
|
"head": [
|
|
88177.46,
|
|
88235.64,
|
|
92826.19
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "param",
|
|
"base": 86507.64,
|
|
"head": 85885.1,
|
|
"delta": -0.7196358610638246,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
81230.55,
|
|
86757.82,
|
|
86507.64
|
|
],
|
|
"head": [
|
|
83412.37,
|
|
86705.46,
|
|
85885.1
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "pipeline (3 steps)",
|
|
"base": 80189.1,
|
|
"head": 80933.82,
|
|
"delta": 0.9287047740902455,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
76116.37,
|
|
80189.1,
|
|
80276.37
|
|
],
|
|
"head": [
|
|
77035.64,
|
|
80992,
|
|
80933.82
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "steps5",
|
|
"base": 74359.28,
|
|
"head": 73975.28,
|
|
"delta": -0.5164116704734096,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
75272.73,
|
|
74359.28,
|
|
73928.73
|
|
],
|
|
"head": [
|
|
72235.64,
|
|
74813.1,
|
|
73975.28
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "validate (POST)",
|
|
"base": 70606.55,
|
|
"head": 69902.55,
|
|
"delta": -0.997074634010584,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
70775.28,
|
|
70606.55,
|
|
69762.91
|
|
],
|
|
"head": [
|
|
67138.91,
|
|
74353.46,
|
|
69902.55
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "hello + security",
|
|
"base": 83912.73,
|
|
"head": 83802.19,
|
|
"delta": -0.13173209833596597,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
81928.73,
|
|
84709.82,
|
|
83912.73
|
|
],
|
|
"head": [
|
|
81742.55,
|
|
83802.19,
|
|
84512
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "hello + cors predicate",
|
|
"base": 82027.64,
|
|
"head": 80445.1,
|
|
"delta": -1.9292765219138253,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
82481.46,
|
|
82027.64,
|
|
81381.82
|
|
],
|
|
"head": [
|
|
79368.73,
|
|
82213.82,
|
|
80445.1
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "preflight + cors predicate",
|
|
"base": 114376.73,
|
|
"head": 114010.19,
|
|
"delta": -0.3204672838609686,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
114580.37,
|
|
114376.73,
|
|
112322.91
|
|
],
|
|
"head": [
|
|
109669.82,
|
|
114813.1,
|
|
114010.19
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "param, 50 routes",
|
|
"base": 82475.64,
|
|
"head": 82045.1,
|
|
"delta": -0.5220208051734956,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
82562.91,
|
|
82475.64,
|
|
82178.91
|
|
],
|
|
"head": [
|
|
78891.64,
|
|
82045.1,
|
|
82388.37
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "param, 200 routes",
|
|
"base": 72957.1,
|
|
"head": 73306.19,
|
|
"delta": 0.47848667230467834,
|
|
"separated": false,
|
|
"samples": {
|
|
"base": [
|
|
72986.19,
|
|
72957.1,
|
|
72194.91
|
|
],
|
|
"head": [
|
|
72055.28,
|
|
73306.19,
|
|
73381.82
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"cors": {
|
|
"base": {
|
|
"get": 1,
|
|
"preflight": 1
|
|
},
|
|
"head": {
|
|
"get": 1,
|
|
"preflight": 1
|
|
}
|
|
}
|
|
} |