Files
cpu-benchmarker-server/http/submit-multipart.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

55 lines
1.2 KiB
HTTP

POST http://localhost:8080/api/submit
Content-Type: multipart/form-data; boundary=BenchBoundary
--BenchBoundary
Content-Disposition: form-data; name="submitter"
Intel-Test-Rig
--BenchBoundary
Content-Disposition: form-data; name="platform"
linux
--BenchBoundary
Content-Disposition: form-data; name="benchmark"; filename="cpu-bench-result.json"
Content-Type: application/json
{
"config": {
"durationSecs": 10,
"intensity": 10,
"coreFilter": 0,
"multiCore": true
},
"cpuInfo": {
"brandString": "Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz",
"vendorID": "GenuineIntel",
"physicalCores": 10,
"logicalCores": 20,
"baseClockMHz": 3600,
"boostClockMHz": 0,
"l1DataKB": 32,
"l2KB": 256,
"l3MB": 20
},
"startedAt": "2026-04-15T17:59:51.4840579+03:00",
"duration": 10056935100,
"totalOps": 49828626432,
"mOpsPerSec": 4954.6532752309395,
"score": 495465,
"coreResults": [
{
"logicalID": 0,
"coreType": "Standard",
"mOpsPerSec": 234.3495683888822,
"totalOps": 2356838400
},
{
"logicalID": 1,
"coreType": "Standard",
"mOpsPerSec": 250.5658742890764,
"totalOps": 2519924736
}
]
}
--BenchBoundary--