Files
cpu-benchmarker-server/http/submit-json.http
Daniel Legt 64e3c1966d
Some checks failed
Build and Publish Docker Image / deploy (push) Failing after 1m2s
feat(search): support platform and benchmark config filters
Add platform handling to submissions and persist a normalized value (`windows`, `linux`, `macos`) with a default of `windows` when omitted.

Extend search/index filtering to support `thread`, `platform`, `intensity`, and `durationSecs` alongside existing text/CPU token matching, and wire these params through request parsing, page data, and navigation URLs.

Update API/README docs and examples to reflect the new submission inputs and search capabilities so users can run more precise queries.feat(search): support platform and benchmark config filters

Add platform handling to submissions and persist a normalized value (`windows`, `linux`, `macos`) with a default of `windows` when omitted.

Extend search/index filtering to support `thread`, `platform`, `intensity`, and `durationSecs` alongside existing text/CPU token matching, and wire these params through request parsing, page data, and navigation URLs.

Update API/README docs and examples to reflect the new submission inputs and search capabilities so users can run more precise queries.
2026-04-15 20:23:37 +03:00

47 lines
1.1 KiB
HTTP

POST http://localhost:8080/api/submit
Content-Type: application/json
{
"submitter": "Workstation-Lab-A",
"platform": "windows",
"benchmark": {
"config": {
"durationSecs": 20,
"intensity": 10,
"coreFilter": 0,
"multiCore": true
},
"cpuInfo": {
"brandString": "AMD Ryzen 7 5800X 8-Core Processor",
"vendorID": "AuthenticAMD",
"physicalCores": 8,
"logicalCores": 16,
"baseClockMHz": 3801,
"boostClockMHz": 0,
"l1DataKB": 32,
"l2KB": 512,
"l3MB": 32,
"supportedFeatures": ["SSE4.2", "AVX", "AVX2", "FMA3"]
},
"startedAt": "2026-04-15T18:18:08.0218738+03:00",
"duration": 20008134300,
"totalOps": 61379641344,
"mOpsPerSec": 3067.734373614236,
"score": 306773,
"coreResults": [
{
"logicalID": 0,
"coreType": "Standard",
"mOpsPerSec": 345.52091146249455,
"totalOps": 6913228800
},
{
"logicalID": 1,
"coreType": "Standard",
"mOpsPerSec": 491.21699547968353,
"totalOps": 9828335616
}
]
}
}