Files
bitvid/artifacts/load-report.json
T
google-labs-jules[bot]andPR0M3TH3AN 8f83cff04e Implement load test script with rate configuration and multipart event simulation.
- Update `scripts/agent/load-test.mjs` to support `--rate` arg.
- Add multipart video event simulation (Post + Mirror).
- Generate performance report with bottleneck analysis.
- Include `artifacts/load-report.json`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-05 19:38:01 +00:00

99 lines
1.9 KiB
JSON

{
"meta": {
"clients": 50,
"duration": 10,
"targetTotalRate": 50,
"ratePerClient": 1
},
"results": {
"totalSent": 545,
"totalReceivedByObserver": 554,
"totalErrors": 0,
"errorRate": 0,
"avgLatencyMs": 5.888888888888889,
"maxLatencyMs": 8,
"avgSignTimeMs": 5.534525739479302,
"hot_functions": [
{
"name": "Event Signing (Client)",
"avgTimeMs": 5.534525739479302,
"calls": 545
}
]
},
"bottlenecks": [
"Cryptographic Bottleneck (Avg Sign Time 5.53ms > 5ms)"
],
"metrics": {
"timestamps": [
"2026-02-05T19:34:52.639Z",
"2026-02-05T19:34:53.638Z",
"2026-02-05T19:34:54.641Z",
"2026-02-05T19:34:55.649Z",
"2026-02-05T19:34:56.649Z",
"2026-02-05T19:34:57.649Z",
"2026-02-05T19:34:58.672Z",
"2026-02-05T19:34:59.671Z",
"2026-02-05T19:35:00.672Z"
],
"cpu": [
47.1817,
40.502,
37.7894,
36.4607,
36.4638,
36.3083,
41.62,
35.6474,
35.4054
],
"memory": [
12.619827270507812,
12.327117919921875,
16.86083221435547,
13.562667846679688,
16.10260009765625,
11.007034301757812,
14.259078979492188,
14.051017761230469,
15.620246887207031
],
"latency": [
8,
6,
6,
5,
6,
6,
6,
5,
5
],
"throughput": [
60,
59,
64,
63,
62,
62,
63,
60,
61
],
"avgSignTime": [
6.518746254237273,
5.50673901724142,
5.487499650793643,
5.261303790322589,
5.267506754098338,
5.199484229508195,
6.068795209677216,
5.2998529661016915,
5.2008037833333525
]
},
"remediation": [
"Client-side event signing is slow. Review cryptographic library (nostr-tools) usage or client hardware capabilities."
],
"requiresSecurityReview": true
}