mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Implement CPU usage tracking in load-test.mjs - Run load test with 1000 clients for 60s - Generate load-report.json with identified bottlenecks (crypto) Co-authored-by: PR0M3TH3AN <[email protected]>
77 lines
1.4 KiB
JSON
77 lines
1.4 KiB
JSON
{
|
|
"meta": {
|
|
"clients": 1000,
|
|
"duration": 60,
|
|
"targetRatePerClient": 0.5
|
|
},
|
|
"results": {
|
|
"totalSent": 9880,
|
|
"totalReceivedByObserver": 9212,
|
|
"totalErrors": 0,
|
|
"errorRate": 0,
|
|
"avgLatencyMs": 633.5714285714286,
|
|
"maxLatencyMs": 4352,
|
|
"avgSignTimeMs": 5.312883614738433
|
|
},
|
|
"bottlenecks": [
|
|
"High Average Latency (>500ms)",
|
|
"Cryptographic Bottleneck (Avg Sign Time 5.31ms > 5ms)"
|
|
],
|
|
"metrics": {
|
|
"timestamps": [
|
|
"2026-02-02T19:20:53.413Z",
|
|
"2026-02-02T19:21:05.252Z",
|
|
"2026-02-02T19:21:09.391Z",
|
|
"2026-02-02T19:21:17.727Z",
|
|
"2026-02-02T19:21:25.657Z",
|
|
"2026-02-02T19:21:37.832Z",
|
|
"2026-02-02T19:21:46.152Z"
|
|
],
|
|
"cpu": [
|
|
1.805,
|
|
1131.911,
|
|
420.9089,
|
|
851.5216,
|
|
798.2084,
|
|
1222.0326,
|
|
835.8484
|
|
],
|
|
"memory": [
|
|
17.17798614501953,
|
|
27.51868438720703,
|
|
19.160232543945312,
|
|
23.5911865234375,
|
|
19.544578552246094,
|
|
33.026039123535156,
|
|
20.853515625
|
|
],
|
|
"latency": [
|
|
14,
|
|
4352,
|
|
13,
|
|
12,
|
|
15,
|
|
15,
|
|
14
|
|
],
|
|
"throughput": [
|
|
1,
|
|
1119,
|
|
1257,
|
|
1356,
|
|
1330,
|
|
1448,
|
|
1345
|
|
],
|
|
"avgSignTime": [
|
|
0,
|
|
6.01051988318584,
|
|
5.731465363770286,
|
|
5.82640474538752,
|
|
5.684893507148126,
|
|
8.042285998617778,
|
|
5.894615805059483
|
|
]
|
|
},
|
|
"requiresSecurityReview": true
|
|
} |