perf: reuse authorized chat snapshot when reading history
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,30 @@
|
||||
# Измерения масштабирования
|
||||
|
||||
Source commit: `fa3a69d9b4267939fae8db422dff31cd079725f5`.
|
||||
|
||||
Медианы повторов; latency percentile внутри каждого прогона относится только к успешным ответам.
|
||||
|
||||
| Серия | API | C | RPS | p95, ms | Ошибки |
|
||||
|---|---:|---:|---:|---:|---:|
|
||||
| fixed | 1 | 1 | 157.3 | 8.95 | 0 |
|
||||
| fixed | 1 | 8 | 205.2 | 75.84 | 0 |
|
||||
| fixed | 1 | 32 | 177.9 | 425.05 | 0 |
|
||||
| fixed | 2 | 1 | 140.8 | 9.81 | 0 |
|
||||
| fixed | 2 | 8 | 185.1 | 99.24 | 0 |
|
||||
| fixed | 2 | 32 | 162.1 | 462.64 | 0 |
|
||||
| fixed | 4 | 1 | 134.2 | 10.61 | 0 |
|
||||
| fixed | 4 | 8 | 155.2 | 222.69 | 0 |
|
||||
| fixed | 4 | 32 | 128.5 | 883.62 | 0 |
|
||||
| growing | 1 | 1 | 124.3 | 13.84 | 0 |
|
||||
| growing | 1 | 8 | 110.4 | 102.86 | 0 |
|
||||
| growing | 1 | 32 | 94.1 | 455.20 | 0 |
|
||||
| growing | 2 | 1 | 132.6 | 11.20 | 0 |
|
||||
| growing | 2 | 8 | 185.3 | 98.75 | 0 |
|
||||
| growing | 2 | 32 | 164.3 | 520.34 | 0 |
|
||||
| growing | 4 | 1 | 123.4 | 12.82 | 0 |
|
||||
| growing | 4 | 8 | 257.9 | 107.74 | 0 |
|
||||
| growing | 4 | 32 | 158.9 | 577.39 | 0 |
|
||||
|
||||
Пул1 → пул10: 200.4 → 175.8 успешных RPS (N2/C32, три повтора).
|
||||
|
||||
Настройка считается подтверждённым улучшением только при наблюдаемом выигрыше; это ограниченная локальная серия.
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"source_commit": "fa3a69d9b4267939fae8db422dff31cd079725f5",
|
||||
"date": "2026-11-15T16:18:34.862014+00:00",
|
||||
"host": "macOS-15.4.1-arm64-arm-64bit-Mach-O",
|
||||
"docker": {
|
||||
"ServerVersion": "29.9.2",
|
||||
"NCPU": 8,
|
||||
"MemTotal": 6209978368,
|
||||
"Architecture": "aarch64",
|
||||
"OperatingSystem": "Docker Desktop"
|
||||
},
|
||||
"duration": 6,
|
||||
"warmup": 2,
|
||||
"profile": "80% GET history limit20; 20% POST unique key; closed-loop",
|
||||
"complete": true,
|
||||
"cells": [
|
||||
"01-fixed-n1-c1-r1-p10.json",
|
||||
"02-fixed-n1-c1-r2-p10.json",
|
||||
"03-fixed-n1-c8-r1-p10.json",
|
||||
"04-fixed-n1-c8-r2-p10.json",
|
||||
"05-fixed-n1-c32-r1-p10.json",
|
||||
"06-fixed-n1-c32-r2-p10.json",
|
||||
"07-fixed-n2-c1-r1-p10.json",
|
||||
"08-fixed-n2-c1-r2-p10.json",
|
||||
"09-fixed-n2-c8-r1-p10.json",
|
||||
"10-fixed-n2-c8-r2-p10.json",
|
||||
"11-fixed-n2-c32-r1-p10.json",
|
||||
"12-fixed-n2-c32-r2-p10.json",
|
||||
"13-fixed-n4-c1-r1-p10.json",
|
||||
"14-fixed-n4-c1-r2-p10.json",
|
||||
"15-fixed-n4-c8-r1-p10.json",
|
||||
"16-fixed-n4-c8-r2-p10.json",
|
||||
"17-fixed-n4-c32-r1-p10.json",
|
||||
"18-fixed-n4-c32-r2-p10.json",
|
||||
"19-growing-n1-c1-r1-p10.json",
|
||||
"20-growing-n1-c1-r2-p10.json",
|
||||
"21-growing-n1-c8-r1-p10.json",
|
||||
"22-growing-n1-c8-r2-p10.json",
|
||||
"23-growing-n1-c32-r1-p10.json",
|
||||
"24-growing-n1-c32-r2-p10.json",
|
||||
"25-growing-n2-c1-r1-p10.json",
|
||||
"26-growing-n2-c1-r2-p10.json",
|
||||
"27-growing-n2-c8-r1-p10.json",
|
||||
"28-growing-n2-c8-r2-p10.json",
|
||||
"29-growing-n2-c32-r1-p10.json",
|
||||
"30-growing-n2-c32-r2-p10.json",
|
||||
"31-growing-n4-c1-r1-p10.json",
|
||||
"32-growing-n4-c1-r2-p10.json",
|
||||
"33-growing-n4-c8-r1-p10.json",
|
||||
"34-growing-n4-c8-r2-p10.json",
|
||||
"35-growing-n4-c32-r1-p10.json",
|
||||
"36-growing-n4-c32-r2-p10.json",
|
||||
"37-pool-n2-c32-r1-p1.json",
|
||||
"38-pool-n2-c32-r1-p10.json",
|
||||
"39-pool-n2-c32-r2-p10.json",
|
||||
"40-pool-n2-c32-r2-p1.json",
|
||||
"41-pool-n2-c32-r3-p1.json",
|
||||
"42-pool-n2-c32-r3-p10.json"
|
||||
],
|
||||
"runtime_image_revision": "df4eee9a55f0cd9476744ea4c75cba1c1b3a4a98",
|
||||
"runtime_equal_to_source_commit": true
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
@@ -0,0 +1,43 @@
|
||||
series,replicas,concurrency,repeat,pool_size,successful_rps,errors,error_ratio,p50_ms,p95_ms,p99_ms
|
||||
fixed,1,1,1,10,165.07767947989907,0,0.0,5.686,7.629,10.809
|
||||
fixed,1,1,2,10,149.61439409018604,0,0.0,5.981,10.269,17.642
|
||||
fixed,1,8,1,10,211.65991899019832,0,0.0,31.413,68.508,94.733
|
||||
fixed,1,8,2,10,198.8283289091601,0,0.0,34.161,83.179,106.195
|
||||
fixed,1,32,1,10,179.06741388685083,0,0.0,152.428,439.242,719.485
|
||||
fixed,1,32,2,10,176.78095424063739,0,0.0,155.509,410.849,692.851
|
||||
fixed,2,1,1,10,129.02990662137603,0,0.0,6.278,10.864,54.8
|
||||
fixed,2,1,2,10,152.62929263739855,0,0.0,6.123,8.759,14.204
|
||||
fixed,2,8,1,10,196.4800359108998,0,0.0,17.626,94.998,115.954
|
||||
fixed,2,8,2,10,173.69962390399843,0,0.0,22.429,103.486,184.548
|
||||
fixed,2,32,1,10,156.50040487681198,0,0.0,181.718,443.704,663.946
|
||||
fixed,2,32,2,10,167.65953701338876,0,0.0,166.392,481.584,704.593
|
||||
fixed,4,1,1,10,142.48482239783186,0,0.0,6.389,10.367,17.647
|
||||
fixed,4,1,2,10,125.88207648163838,0,0.0,6.332,10.843,44.555
|
||||
fixed,4,8,1,10,118.34539999970386,0,0.0,12.522,264.825,464.998
|
||||
fixed,4,8,2,10,192.1342057427685,0,0.0,9.542,180.554,195.196
|
||||
fixed,4,32,1,10,138.28620618496345,0,0.0,15.618,974.776,1248.537
|
||||
fixed,4,32,2,10,118.77886331824459,0,0.0,198.297,792.454,1376.883
|
||||
growing,1,1,1,10,116.48100146330145,0,0.0,5.944,16.399,77.405
|
||||
growing,1,1,2,10,132.20926320279918,0,0.0,6.018,11.287,72.127
|
||||
growing,1,8,1,10,109.33665681551416,0,0.0,86.76,103.52,114.182
|
||||
growing,1,8,2,10,111.36479209555996,0,0.0,86.354,102.192,107.991
|
||||
growing,1,32,1,10,97.35188039185765,0,0.0,308.314,415.437,489.101
|
||||
growing,1,32,2,10,90.82762345324294,0,0.0,320.147,494.966,585.341
|
||||
growing,2,1,1,10,124.799942422262,0,0.0,6.546,11.811,59.12
|
||||
growing,2,1,2,10,140.46007909177436,0,0.0,6.62,10.59,16.863
|
||||
growing,2,8,1,10,195.37255277667734,0,0.0,16.973,95.054,167.252
|
||||
growing,2,8,2,10,175.30636015284236,0,0.0,19.372,102.439,184.685
|
||||
growing,2,32,1,10,158.50391583720702,0,0.0,178.795,565.052,758.551
|
||||
growing,2,32,2,10,170.11492222924323,0,0.0,177.916,475.635,605.655
|
||||
growing,4,1,1,10,115.16211935610346,0,0.0,6.858,14.033,58.519
|
||||
growing,4,1,2,10,131.5487532925524,0,0.0,6.616,11.609,22.638
|
||||
growing,4,8,1,10,277.1422612739073,0,0.0,12.846,95.114,156.297
|
||||
growing,4,8,2,10,238.7251942336141,0,0.0,14.245,120.368,204.822
|
||||
growing,4,32,1,10,151.42242336820735,0,0.0,148.202,613.274,828.682
|
||||
growing,4,32,2,10,166.35153942031727,0,0.0,127.253,541.513,733.458
|
||||
pool,2,32,1,1,206.3668093701107,0,0.0,148.348,298.829,416.622
|
||||
pool,2,32,1,10,157.87641931117705,0,0.0,204.863,416.938,510.686
|
||||
pool,2,32,2,10,178.67593359431726,0,0.0,185.302,327.124,402.2
|
||||
pool,2,32,2,1,168.0097097888627,0,0.0,179.629,394.52,504.704
|
||||
pool,2,32,3,1,200.35677878454243,0,0.0,151.213,304.633,404.823
|
||||
pool,2,32,3,10,175.76904087132343,0,0.0,190.759,392.898,474.386
|
||||
|
Reference in New Issue
Block a user