All checks were successful
Build and Publish Docker Image / deploy (push) Successful in 1m17s
Extend the submission contract to accept a `systemInfo` object and persist it with each submission, including deep-copy support for `extra` metadata. Also update client-facing docs and HTTP examples (JSON and multipart) and document that the schema is available at `GET /api/schema`, so clients can reliably implement the updated payload format.feat(api): support optional systemInfo in submissions Extend the submission contract to accept a `systemInfo` object and persist it with each submission, including deep-copy support for `extra` metadata. Also update client-facing docs and HTTP examples (JSON and multipart) and document that the schema is available at `GET /api/schema`, so clients can reliably implement the updated payload format.
59 lines
1.5 KiB
HTTP
59 lines
1.5 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="systemInfo"
|
|
|
|
{"hostname":"intel-test-rig","osName":"Ubuntu","osVersion":"24.04","kernelVersion":"6.8.0-58-generic","architecture":"amd64","locale":"en-US","timezone":"Europe/Bucharest","clientVersion":"1.0.0"}
|
|
--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--
|